Repository navigation
feat(export): add help button left of render button - #15
Merged
Merged
Conversation
Square secondary ChunkyButton with HelpIcon sits to the left of the Render button in ExportPanel. Clicking it dispatches a synthetic '?' keydown event so HelpOverlay's existing capture-phase listener handles it — no shared state needed. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Help button belongs in the top toolbar next to the Render button, not inside the export settings panel. Reverts ExportPanel to its original state and adds the square secondary ChunkyButton with HelpIcon to EditorShell's TopBar instead. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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.
What changed
Adds a square secondary
ChunkyButtonwith aHelpIcon(?) to the left of the Render button inExportPanel.Why
Quick access to the keyboard-shortcut cheat sheet without having to remember the
?key.How it works
Clicking the button dispatches a synthetic
keydownevent withkey: "?"onwindow.HelpOverlay's existing capture-phase listener picks it up and toggles the modal — no shared state or prop drilling needed.Layout
Reviewer notes
ExportPanel.tsxchanged (~13 lines net)HelpOverlayand its key-listener are untouchedHelpIconwas already exported fromicons.tsx