Skip to content
This repository was archived by the owner on Oct 21, 2026. It is now read-only.

feat(web): match page dividers to the sidebar edge and make list panes resizable - #25

Merged
donnes merged 2 commits into
mainfrom
t3code/match-panel-separators-resize-sidebar
Sep 27, 2026
Merged

donnes merged 2 commits into
mainfrom
t3code/match-panel-separators-resize-sidebar

Conversation

@donnes

@donnes donnes commented Sep 27, 2026 •

Copy link
Copy Markdown
Collaborator

The Notes and Automations pages drew their dividers in the general border color, which read brighter than the app sidebar's edge. Their list columns were also fixed at 288px.

Changes

  • Divider color: added a --pane-edge token that holds the sidebar's edge color, and the sidebar now draws its border from it. Page dividers use it through border-pane-edge: the header underline, the list column edge, and the filter rows on Notes and Automations. The T3 Chat theme's pink edge carries through.
  • Default dark theme: raised the base --sidebar-border from 6% to 8% white to match what the sidebar already used. Other readers of that value (settings nav, mobile sheets) get 2% brighter.
  • Resizable list panes: the new WorkspaceListPane is a resizable list column, now used by Notes and Automations. It starts at 288px, drags between 208px and 512px, and saves its width per page. The drag handle is hidden on small screens. The width is also capped so at least 360px stays free for the editor, and a saved width comes back once there's room again (useResizableWidth now keeps the saved width unclamped).
  • Handle: renamed RightPanelResizeHandle to PanelResizeHandle and let it sit on either edge. The right panel behaves as before.

Verification

Formatting, lint and web typecheck pass for the changed files. New tests cover the width cap and restoring a wide saved width into a narrow window, then widening it again. I haven't checked it in a running app, and before/after screenshots still need to be added.

Done by Claude Opus 5.5 in Claude Code.

🤖 Generated with Claude Code

@github-actions github-actions Bot added vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. size:L labels Sep 27, 2026
A wide saved list-pane width stayed put when the window narrowed, leaving
the Notes or Automations editor with too little room. The pane now caps its
width at its row minus room for the editor, and useResizableWidth keeps the
stored width unclamped so the pane grows back when space returns.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@donnes
donnes merged commit 61fde4a into main Sep 27, 2026
15 checks passed
@donnes
donnes deleted the t3code/match-panel-separators-resize-sidebar branch September 27, 2026 23:37
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

size:L vouch:trusted PR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant