8000 feat(export): add help button left of render button by johannboehme · Pull Request #15 · johannboehme/tk-1 · GitHub
[go: up one dir, main page]

Skip to content

feat(export): add help button left of render button - #15

Merged
johannboehme merged 2 commits into
mainfrom
claude/agitated-germain-e48d37
May 2, 2026
Merged

johannboehme merged 2 commits into
mainfrom
claude/agitated-germain-e48d37

Conversation

@johannboehme
Copy link
Copy Markdown
Owner

What changed

Adds a square secondary ChunkyButton with a HelpIcon (?) to the left of the Render button in ExportPanel.

Why

Quick access to the keyboard-shortcut cheat sheet without having to remember the ? key.

How it works

Clicking the button dispatches a synthetic keydown event with key: "?" on window. HelpOverlay's existing capture-phase listener picks it up and toggles the modal — no shared state or prop drilling needed.

Layout

┌──────┬──────────────────────────────┐
│  ?   │  ⬇  Render                   │
└──────┴──────────────────────────────┘

Reviewer notes

  • Only ExportPanel.tsx changed (~13 lines net)
  • HelpOverlay and its key-listener are untouched
  • HelpIcon was already exported from icons.tsx

johannboehme and others added 2 commits May 2, 2026 19:57
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>
@johannboehme
johannboehme merged commit f8ff8f2 into main May 2, 2026
@johannboehme
johannboehme deleted the claude/agitated-germain-e48d37 branch May 2, 2026 17:59
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.

1 participant

0