Spellcasting UI: Don't assign hotkeys that are menu navigation keys#86288
Open
evilbananas wants to merge 4 commits intoCleverRaven:masterfrom
Open
Spellcasting UI: Don't assign hotkeys that are menu navigation keys#86288evilbananas wants to merge 4 commits intoCleverRaven:masterfrom
evilbananas wants to merge 4 commits intoCleverRaven:masterfrom
Conversation
Contributor
|
/retry |
Contributor
|
Retried failed jobs: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Interface "Don't assign hotkey letters that are already bound to menu navigation in the Spellcasting UI"
Purpose of change
This PR is the start of trying to address an inconsistent menu experience for VI key users. This PR starts wit the Spellcasting UI.
A common issue for VI key users is a inconsistent experience across different menus. You are moving in the world, navigating inventory screens with the common 'hjkl' keys, but then when you go to cast a spell or toggle a CBM, disaster strikes! You are all of a sudden expected to use the numpad and directional keys instead of your superior VI keys binds. You then change the keybinds in these menus for a consistent experience, only to find the game is now trying to assign hotkey letters to your navigation keys. Let's fix that.
Describe the solution
Provide a consistent menu navigation experience across all menus for VI key users.
Check if the hotkey being assigned has already been mapped for UI navigation and if it has, skip it for the next available letter. Changes the behavior to the same as the inventory.
Describe alternatives you've considered
Hardcode to not accept the standard VI keys 'hjkl' as hotkeys. My implementation is a more elegant solution though as users who are not using VI keys will not notice any changes.
Testing
Assigned VI key navigation to the spellcasting menu. Created a new character with multiple spells, checked that the assigned hotkeys where not part of the navigation keys that were mapped.
Additional context