Skip to content

feat(ui): split / side-by-side page view#52

Open
advancedresearcharray wants to merge 6 commits into
mainfrom
feat/split-view-426
Open

feat(ui): split / side-by-side page view#52
advancedresearcharray wants to merge 6 commits into
mainfrom
feat/split-view-426

Conversation

@advancedresearcharray

Copy link
Copy Markdown
Owner

Summary

  • Adds resizable dual-pane page reading with independent navigation in each pane
  • Entry points: tree/wiki-link context menu "Open in Split View", Mod+\ toggle, and history "Compare with current"
  • Persists split layout in sessionStorage; disabled on mobile viewports (<768px) with a notice

Test plan

  • cd ui && npm test -- src/lib/splitView.test.ts src/lib/kiwiKeybindings.test.ts — 17 passed
  • cd ui && npm test — 198 passed
  • go test ./internal/keybindings/... -count=1 — ok
  • Right-click tree item → Open in Split View opens secondary pane
  • Right-click wiki-link → Open in Split View
  • Ctrl+\ / Cmd+\ toggles split view
  • Drag divider resizes panes; close button on secondary pane
  • History → Compare with current shows old version read-only beside current
  • Mobile viewport shows unavailable notice

Upstream: kiwifs#426

Made with Cursor

Array Fleet and others added 6 commits June 30, 2026 07:07
Add resizable dual-pane reading with tree and wiki-link entry points,
Mod+\ toggle, history version compare, sessionStorage persistence, and
regression tests for split state and keybindings.

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Make secondary pane close fully exit split view, wire history and file
actions to the correct pane path, and enable split layout when opening
from the tree with no active page.

Closes kiwifs#426

Co-authored-by: Cursor <cursoragent@cursor.com>
Guards the Mod+\ split-view shortcut in backend defaults alongside
the existing UI regression tests for issue kiwifs#426.

Co-authored-by: Cursor <cursoragent@cursor.com>
Unify key alias normalization in Go/TS, sync split view state when
navigation clears the primary page, and expand toggle_split_view tests.

Co-authored-by: Cursor <cursoragent@cursor.com>
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