-
Notifications
You must be signed in to change notification settings - Fork 13k
Add shortcuts hint and panel for discoverability #18035
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
Merged
jacob314
merged 36 commits into
google-gemini:main
from
LyalinDotCom:show_help_questionmark
Feb 6, 2026
Merged
Changes from 7 commits
Commits
Show all changes
36 commits
Select commit
Hold shift + click to select a range
88da17d
Add shortcuts panel toggle and ? key behavior
LyalinDotCom 614cc15
Refine shortcuts UI header and highlighting
LyalinDotCom 9409a80
Polish shortcuts layout and header
LyalinDotCom b92d9e2
Refine shortcuts header and status alignment
LyalinDotCom 419299b
Remove shortcut hint separator
LyalinDotCom 136efd6
Update shortcuts panel with paste images
LyalinDotCom 8c4a091
Relax indicator tests for wrapped output
LyalinDotCom 014846a
Update shortcuts help behavior and docs
LyalinDotCom e8a8aab
Merge branch 'main' into show_help_questionmark
LyalinDotCom b6b4031
Limit shortcuts panel to empty prompt
LyalinDotCom d925d08
Wrap shortcuts panel text
LyalinDotCom 18a1ad8
Merge branch 'show_help_questionmark' of https://github.com/LyalinDot…
LyalinDotCom b856560
Merge branch 'main' into show_help_questionmark
LyalinDotCom 5c713af
Merge branch 'main' into show_help_questionmark
LyalinDotCom 937bd3c
Merge branch 'main' into show_help_questionmark
LyalinDotCom f65e24e
Merge branch 'main' into show_help_questionmark
LyalinDotCom 90bc491
Merge branch 'main' into show_help_questionmark
LyalinDotCom df462ed
Simplify ShortcutsHint and fix test regex patterns
LyalinDotCom 1d30b17
Merge branch 'main' into show_help_questionmark
LyalinDotCom b5f67ce
Merge branch 'main' into show_help_questionmark
LyalinDotCom a1c0674
Fix composer indicator assertions
LyalinDotCom be2d593
Merge branch 'show_help_questionmark' of https://github.com/LyalinDot…
LyalinDotCom 636e600
Move loading indicator inline and hide status
LyalinDotCom 7681b19
Fix failing CI tests for LoadingIndicator and Composer
LyalinDotCom 5aa4620
Merge branch 'main' into show_help_questionmark
LyalinDotCom 78b2e50
Merge branch 'main' into show_help_questionmark
LyalinDotCom c98f815
Fix Escape key closing shortcuts panel and cancelling operation simul…
LyalinDotCom 2049906
Merge branch 'main' into show_help_questionmark
LyalinDotCom 341502b
Merge branch 'main' into show_help_questionmark
LyalinDotCom 6b1b8f7
Refine shortcuts panel layout and loading status behavior
LyalinDotCom b26bb9a
Fix shortcuts panel key behavior documentation
LyalinDotCom 83724b1
Merge remote-tracking branch 'origin/show_help_questionmark' into sho…
LyalinDotCom 9d6fff7
Merge branch 'main' into show_help_questionmark
LyalinDotCom a7bc6b1
Merge branch 'main' into show_help_questionmark
LyalinDotCom 085a68d
Merge branch 'main' into show_help_questionmark
LyalinDotCom 902f286
Merge branch 'main' into show_help_questionmark
LyalinDotCom File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,19 @@ | ||
| /** | ||
| * @license | ||
| * Copyright 2025 Google LLC | ||
| * SPDX-License-Identifier: Apache-2.0 | ||
| */ | ||
|
|
||
| import type { SlashCommand } from './types.js'; | ||
| import { CommandKind } from './types.js'; | ||
|
|
||
| export const shortcutsCommand: SlashCommand = { | ||
| name: 'shortcuts', | ||
| altNames: ['keys', '?'], | ||
| kind: CommandKind.BUILT_IN, | ||
| description: 'Toggle the shortcuts panel above the input', | ||
| autoExecute: true, | ||
| action: (context) => { | ||
| context.ui.toggleShortcutsHelp(); | ||
| }, | ||
| }; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.