-
Couldn't load subscription status.
- Fork 6
feat: utils for command bar #854
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…common-lib into fix/trigger-view
…common-lib into fix/trigger-view
…custom 404 handling
…common-lib into fix/trigger-view
…package.json and package-lock.json
…common-lib into fix/trigger-view
….json and package-lock.json
…oymentConfigDiffRadioSelect
into chore/misc-fixes # Please enter a commit message to explain why this merge is necessary, # especially if it merges an updated upstream into a topic branch. # # Lines starting with '#' will be ignored, and an empty message aborts # the commit.
refactor: misc fixes
…ib into feat/resource-watcher-ui
feat: misc improvements
…common-lib into fix/bulk-deploy-trigger
feat: resource watcher UI
…ib into fix/resource-watcher-ui
fix: resource watcher UI
…Actions and refactor UserPathValueMapType
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
Adds utility components and types for implementing a command bar feature with navigation shortcuts and preferences management.
- Adds navigation item ID types for command bar functionality
- Creates KeyboardShortcut component to display keyboard keys
- Refactors focus trap and backdrop components to use keyboard shortcut hooks
Reviewed Changes
Copilot reviewed 13 out of 13 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| src/Shared/Hooks/useUserPreferences/types.ts | Adds navigation ID types and command bar preferences structure |
| src/Shared/Hooks/useUserPreferences/service.ts | Updates service to handle command bar preferences |
| src/Shared/Components/index.ts | Exports new KeyboardShortcut component |
| src/Shared/Components/KeyboardShortcut/ | New component to render keyboard shortcut indicators |
| src/Shared/Components/DTFocusTrap/ | Removes onEscape prop in favor of centralized shortcut handling |
| src/Shared/Components/Backdrop/ | Integrates keyboard shortcut registration for escape handling |
| src/Common/Types.ts | Removes deprecated signal option comment |
| src/Common/Hooks/UseRegisterShortcut/ | Adds '>' key to keyboard map and exports types |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
You can also share your feedback on Copilot code review for a chance to win a $100 gift card. Take the survey.
src/Shared/Components/KeyboardShortcut/KeyboardShortcut.component.tsx
Outdated
Show resolved
Hide resolved
…common-lib into fix/bulk-deploy-trigger
feat: add api options in service
Description
Adds utility components and types for implementing a command bar feature with navigation shortcuts and preferences management.
Type of change
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
Checklist