frontend icon indicating copy to clipboard operation
frontend copied to clipboard

Add keyboard shortcut for creating new items

Open jpbede opened this issue 1 month ago • 2 comments

Proposed change

Add a new single key shortcut (N) to add new items on a data table with a fab. Add the same shortcut to the non-table pages for integrations and zones. This way a user can reach the "add new item" dialogs quicker with their keyboards.

Type of change

  • [ ] Dependency upgrade
  • [ ] Bugfix (non-breaking change which fixes an issue)
  • [x] New feature (thank you!)
  • [ ] Breaking change (fix/feature causing existing functionality to break)
  • [ ] Code quality improvements to existing code or addition of tests

Example configuration


Additional information

  • This PR fixes or closes issue: fixes #
  • This PR is related to issue or discussion:
  • Link to documentation pull request:

Checklist

  • [x] The code change is tested and works locally.
  • [x] There is no commented out code in this PR.
  • [ ] Tests have been added to verify that the new code works.

If user exposed functionality or configuration variables are added/changed:

jpbede avatar Nov 26 '25 12:11 jpbede

Should this be ctrl/cmd + N?

I believe this is called the meta key in the lib we use?

timmo001 avatar Dec 11 '25 15:12 timmo001

Should this be ctrl/cmd + N?

That would conflict with (at least) Chrome on macOS, they use cmd + N for a new tab.

jpbede avatar Dec 12 '25 08:12 jpbede