Add keyboard shortcut for default prompt - #929
Open
jeba57 wants to merge 2 commits into
Open
Conversation
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
Implements Option B from #917 — adds a dedicated keyboard shortcut to open the Side Panel and automatically submit the user's configured default prompt.
Fixes #917
Ctrl+Shift+Sopens the Side Panel and automatically submits the configured default prompt.execute_predefined_promptcommand inwxt.config.ts.background.tsto open the Side Panel and trigger prompt submission.sidepanel-chat.tsxto resolve and submit the saved default prompt automatically.Ctrl+Shift+YSide Panel shortcut and existing behavior remain unchanged.Testing
Ctrl+Shift+Swith the Side Panel closed.Demo
Side Panel after pressing
Ctrl+Shift+S— default prompt auto-submitted and response received.