Skip to content

feat: add keyboard shortcut hint chip on ShareSheet (Closes #824) - #856

Open
waterWang wants to merge 1 commit into
Predictify-org:mainfrom
waterWang:feat/keyboard-shortcut-hint-share-sheet-824
Open

feat: add keyboard shortcut hint chip on ShareSheet (Closes #824)#856
waterWang wants to merge 1 commit into
Predictify-org:mainfrom
waterWang:feat/keyboard-shortcut-hint-share-sheet-824

Conversation

@waterWang

Copy link
Copy Markdown

Description

Adds keyboard shortcut hint chips to the ShareSheet, showing available keyboard shortcuts for common actions. This is a UI/UX enhancement for the GrantFox FWC26 campaign (Closes #824).

Changes

  • Added KbdChip component rendering compact kbd-style shortcut indicators
  • Added footer keyboard shortcut hints showing:
    • ⌘C / Ctrl+C for Copy Link
    • ⌘S / Ctrl+S for Native Share (when available)
    • Esc for closing the sheet
  • Registered global ⌘C keyboard binding for Copy Link when the sheet is open
  • Platform detection (macOS vs non-macOS) for correct modifier key display

Testing

  • All existing tests pass
  • Keyboard shortcut hint chips visible in the footer
  • ⌘C triggers Copy Link when sheet is open
  • Responsive: chips wrap correctly on narrow viewports
  • Dark mode compatible

Closes #824

@vercel

vercel Bot commented Aug 6, 2026

Copy link
Copy Markdown

@waterWang is attempting to deploy a commit to the Jagadeesh B's projects Team on Vercel.

A member of the Team first needs to authorize it.

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.

Add keyboard shortcut hint chip on ShareSheet [b#090]

1 participant