Skip to content

[Feature Request]: Press enter to edit most recently added field #1160

@TrigamDev

Description

@TrigamDev

Checklist

  • I am using an up-to-date version.
  • I have read the documentation.
  • 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: EnhancementNew feature or requestType: QoLA quality of life (QoL) enhancement or suggestionType: UI/UXUser interface and/or user experience

    Projects

    Status

    🍀 Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions