Skip to content
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

fix(ui): expand usage of esc for closing modals #793

Merged
merged 5 commits into from
Feb 10, 2025
Merged

Conversation

CyanVoxel
Copy link
Member

@CyanVoxel CyanVoxel commented Feb 5, 2025

This PR expands upon the esc key ux introduced in #784 by bringing it to all PanelWidgets in an overridable manner as well as adding it to all over miscellaneous modals. This also allows the Enter key to save and close PanelWidgets such as the "Add Tag" panel.

@CyanVoxel CyanVoxel added Type: Refactor Code that needs to be restructured or cleaned up Type: QoL A quality of life (QoL) enhancement or suggestion Type: UI/UX User interface and/or user experience Priority: Medium An issue that shouldn't be be saved for last labels Feb 5, 2025
@CyanVoxel CyanVoxel added this to the Alpha v9.5 (Post-SQL) milestone Feb 5, 2025
@CyanVoxel CyanVoxel merged commit a2b9237 into main Feb 10, 2025
10 checks passed
@CyanVoxel CyanVoxel deleted the esc-everything branch February 10, 2025 02:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority: Medium An issue that shouldn't be be saved for last Type: QoL A quality of life (QoL) enhancement or suggestion Type: Refactor Code that needs to be restructured or cleaned up Type: UI/UX User interface and/or user experience
Projects
Status: ✅ Done
Development

Successfully merging this pull request may close these issues.

1 participant