Skip to content

feat(editor): simplify synced pane controls - #79

Merged
voltcrash merged 9 commits into
mainfrom
t3code/animate-divider-scrollbar
Sep 22, 2026
Merged

voltcrash merged 9 commits into
mainfrom
t3code/animate-divider-scrollbar

Conversation

@voltcrash

@voltcrash voltcrash commented Sep 22, 2026 •

Copy link
Copy Markdown
Owner

Synced panes showed competing native scrollbars, while their separate visibility handles split one divider interaction across two locations. In source-only mode, constraining the textarea also pulled its scrollbar inward beside the text column, and the empty divider line remained visible after a pane was hidden.

This keeps the native scrollbar only on the visual right pane during synced side-by-side scrolling and keeps the source-only scrollbar flush with the pane edge without widening the text column. It combines both pane visibility actions into one centered bidirectional handle that adapts from left/right controls to up/down controls in a stacked layout. When either pane is hidden, the divider line disappears and only the centered restore handle remains. End-to-end coverage verifies placement, orientation, hiding, restoration, the single-pane scroll edge, and collapsed divider styling.

Validation:

  • vp check
  • vp test (191 passed, 1 skipped)
  • vp run check (0 errors; 3 existing warnings)
  • focused pane visibility and divider test passed
  • full browser suite previously reached 55 passed with 1 unrelated timeout; that timed-out test passed on focused rerun

@vercel

vercel Bot commented Sep 22, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
onyx Ready Ready Preview Sep 22, 2026 5:38pm UTC

@voltcrash voltcrash changed the title feat(editor): animate a shared divider scrollbar feat(editor): add a shared divider scrollbar Sep 22, 2026
@voltcrash voltcrash changed the title feat(editor): add a shared divider scrollbar fix(editor): keep synced scrollbar on right pane Sep 22, 2026
@voltcrash voltcrash changed the title fix(editor): keep synced scrollbar on right pane feat(editor): simplify synced pane controls Sep 22, 2026
@voltcrash
voltcrash merged commit a4b41d4 into main Sep 22, 2026
3 checks passed
@voltcrash
voltcrash deleted the t3code/animate-divider-scrollbar branch September 23, 2026 05:57

This branch was successfully deployed

1 active deployment
Preview — 4adbb594 Deployed Sep 22, 2026 by vercel[bot]
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