Skip to content

Add keyboard shortcut for creating new items - #28142

Closed
jpbede wants to merge 1 commit into
devfrom
shortcut-new-item
Closed

Add keyboard shortcut for creating new items#28142
jpbede wants to merge 1 commit into
devfrom
shortcut-new-item

Conversation

@jpbede

@jpbede jpbede commented Nov 26, 2025

Copy link
Copy Markdown
Member

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)
  • 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

  • The code change is tested and works locally.
  • 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:

@wendevlin wendevlin added the Needs UX Items requiring a review from the Home Assistant design team label Dec 3, 2025
@timmo001

Copy link
Copy Markdown
Member

Should this be ctrl/cmd + N?

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

@jpbede

jpbede commented Dec 12, 2025

Copy link
Copy Markdown
Member Author

Should this be ctrl/cmd + N?

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

@marcinbauer-ohf

Copy link
Copy Markdown
Member

Hi @jpbede 👋
While I like the idea, the areas view in Settings have two FABs, and there the shortcut doesn't work. And it shouldn't because we shouldn't have two FABs to begin with. Unless we have a new design implemented for customizing areas I don't think we need this shortcut yet.

@timmo001 timmo001 closed this Jan 12, 2026
@github-actions github-actions Bot locked and limited conversation to collaborators Jun 3, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

cla-signed Needs UX Items requiring a review from the Home Assistant design team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants