Skip to content

Conversation

@AbhishekA1509
Copy link
Member

@AbhishekA1509 AbhishekA1509 commented Aug 12, 2025

Description

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

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

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

  • Test A
  • Test B

Checklist

  • The title of the PR states what changed and the related issues number (used for the release note).
  • Does this PR require documentation updates?
  • I've updated documentation as required by this PR.
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas

AbhishekA1509 and others added 30 commits July 8, 2025 13:35
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.
@AbhishekA1509 AbhishekA1509 changed the base branch from develop to kubecon-2025 August 13, 2025 07:54
@AbhishekA1509 AbhishekA1509 requested a review from Copilot August 13, 2025 10:13
@AbhishekA1509 AbhishekA1509 self-assigned this Aug 13, 2025
Copy link

Copilot AI left a 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.

@AbhishekA1509 AbhishekA1509 merged commit 2331822 into kubecon-2025 Aug 18, 2025
3 checks passed
@AbhishekA1509 AbhishekA1509 deleted the feat/command-bar branch August 18, 2025 08:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants