fix: expose synthesis button in plugin + tappable hint buttons#4
Merged
Conversation
pluginOnly: false hid the action from the plugin's Ctrl+K palette. Now that the plugin port is complete, flip to pluginOnly: true so it appears in both the web-app and plugin command palettes. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
The bottom-right keyboard shortcut hints were purely decorative divs. On tablets and touch screens there are no keyboard shortcuts, so they were the only discoverable entry point but had no action. - Undo button: calls onUndo() prop (wired to the existing undo() callback in page.tsx) — same behaviour as Cmd/Ctrl+Z - Commands button: calls setIsCommandKOpen(true) — opens the command palette exactly as Cmd/Ctrl+K would - Both get a subtle hover/active style to signal they are interactive - onUndo? is optional so the plugin and any other consumer of VimInput that doesn't pass it just renders a no-op tap Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This was referenced May 11, 2026
Dev-020
added a commit
that referenced
this pull request
May 12, 2026
chore(backlog): close #4, mskayyali#27, add mskayyali#30
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
Two small fixes that didn't make it into PR #3:
pluginOnly: falsewas hiding the Synthesis Document action from the plugin's Ctrl+K command palette. Flipped topluginOnly: trueso it shows in both web-app and plugin.Files changed
components/vim-input.tsxpluginOnlyfix + convert hint divs to tappable buttons withonUndo?propapp/page.tsxonUndo={undo}to VimInput🤖 Generated with Claude Code