Skip to content

Fixes info modal icon click and keyboard navigation #5087

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: hotfixes
Choose a base branch
from

Conversation

MisRob
Copy link
Member

@MisRob MisRob commented Jun 6, 2025

Summary

  • Fixes info modal not appearing on help icon click

  • Fixes help icon not being included in keyboard navigation

  • By using KIconButton instead of KIcon

@jamalex @tomiwaoLE note visual differences. This is as close as possible that I can get with options available in KIconButton currently. Is it fine or do we need to plan some KDS updates?

(note that I don't know if we should use the 'before' state as a reference of what it should actually look like - Studio icons underwent some refactors few months ago as part of migrating to KDS so it's all in flux)

pr-diff

Reviewer guidance

  • Go to Settings > Storage > Request more space > Open form
  • Click the help icon next to "Who can use your content?"
  • Also keyboard navigate the icon

Notes

I will open issues for few visual problems I noticed:

  • Hover state for mini KIconButton is ellipsis rather than circlular
  • Blue themed focus ring doesn't appear on keyboard navigation - this seems to be larger Studio problem as I see it happening frequently for other elements

@MisRob
Copy link
Member Author

MisRob commented Jun 6, 2025

@bjester I think that this is quite a high priority since users cannot open licenses info modal at all. Should I target hotfixes, or how does it work?

@MisRob
Copy link
Member Author

MisRob commented Jun 6, 2025

This actually also fixes clicking / keyboard of the help icon to open 'About resource visibility' modal from resource's 'Edit details'. After:

Screenshot from 2025-06-06 09-13-37

@bjester
Copy link
Member

bjester commented Jun 6, 2025

@bjester I think that this is quite a high priority since users cannot open licenses info modal at all. Should I target hotfixes, or how does it work?

Yeah I think you can target hotfixes.

- fixes modal not appearing on help icon click
- uses button to make icon part of keyboard navigation
@MisRob MisRob changed the base branch from unstable to hotfixes June 9, 2025 10:46
@MisRob
Copy link
Member Author

MisRob commented Jun 9, 2025

Thanks @bjester, done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants