Skip to content

feat: toggle the settings panel to free up canvas space#21

Merged
kunchenguid merged 1 commit into
kunchenguid:mainfrom
Gadgett:feat/toggle-settings-panel
May 21, 2026
Merged

feat: toggle the settings panel to free up canvas space#21
kunchenguid merged 1 commit into
kunchenguid:mainfrom
Gadgett:feat/toggle-settings-panel

Conversation

@Gadgett

@Gadgett Gadgett commented May 20, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Add a slim collapse handle on the canvas/panel boundary so the presenter can hide the right settings panel and use the full window for the whiteboard.
  • Handle relocates to the bottom edge when the layout stacks (max-width: 860px), and the collapsed state is persisted in localStorage so it survives reloads.
  • Defensive overflow/min-size tweaks on .shell and .panel prevent the collapsed grid track from leaking content as scrollbars.

Test plan

  • npm run typecheck
  • npm test
  • In the browser: toggle the handle on a wide window and confirm the canvas expands to full width without scrollbars appearing.
  • Resize the window across the 860px breakpoint with the panel collapsed and confirm the handle is reachable in both layouts.
  • Reload the page and confirm the panel-hidden state persists.

🤖 Generated with Claude Code

Add a slim handle on the canvas/panel boundary that collapses the right
panel so the presenter can use the full window for the whiteboard. The
handle relocates to the bottom edge on narrow viewports where the panel
stacks below, and the collapsed state is persisted in localStorage so it
survives reloads.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@kunchenguid

Copy link
Copy Markdown
Owner

@Gadgett thank you for the PR. do you have a screenshot / video for how it works?

@Gadgett

Gadgett commented May 21, 2026

Copy link
Copy Markdown
Contributor Author
capture.mov

@kunchenguid

@kunchenguid kunchenguid merged commit fbe5dd6 into kunchenguid:main May 21, 2026
3 of 6 checks passed
@github-actions github-actions Bot mentioned this pull request May 21, 2026
@kunchenguid

Copy link
Copy Markdown
Owner

tried it myself and works like a charm. thank you!

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.

2 participants