TagStudio
TagStudio copied to clipboard
[Feature Request]: Press enter to edit most recently added field
Checklist
- [x] I am using an up-to-date version.
- [x] I have read the documentation.
- [x] I have searched existing issues.
Description
When adding fields, it would be nice if there was a quick way to immediately edit the field I just added. Currently, I have to switch over to my mouse to press the edit button, when being able to do so with just a keyboard would be much more convenient.
Solution
When adding a field, have it automatically be focused, and pressing enter while a field is focused will bring up the edit modal. This plays well with #941, allowing fields to be added, edited, and saved with just the enter key. Adding a focus state and behavior to fields also helps work towards TagStudio being operable with just keyboard controls, which (I'd assume) is a future goal.
Alternatives
It's of course possible to use the mouse, but switching to and from the mouse is slow, as well is navigating with the mouse.
Sounds like a good change 👍 Another tangentially related quirk is when opening the "Add Field" menu, the items in the list aren't "fully" selected and pressing enter only closes the window instead of adding the seemingly selected item. Fixing that would also help that make adding fields more keyboard friendly in conjunction with this.