Skip to content

feat: one-column layout with collapsible turns - #2

Merged
frostming merged 1 commit into
mainfrom
feat/single-column-layout
Nov 10, 2026
Merged

frostming merged 1 commit into
mainfrom
feat/single-column-layout

Conversation

@frostming

Copy link
Copy Markdown
Contributor

Summary

  • Layout toggle: a sidebar button in the top bar, or the \ key, switches between:

    • two panes: the turn list beside the selected turn
    • one column: every turn in full, one after another

    The choice is remembered (walkman:layout).

  • One column:

    • Live following keeps the view at the bottom, and ↓ Latest works as before.
    • The anchor picker floats at the top right.
    • J/K step from the turn at the top of the view, so they work after free scrolling.
    • Narrow screens show the column directly, with no back button.
  • Collapsible turns (one column only):

    • Click a turn's title to fold it to its header.
    • Collapse all / Expand all sits next to the anchor picker.
    • New turns arrive expanded.
    • Jumping to a search hit, an anchor, or a turn via J/K unfolds the turn it lands in.
  • README: documents the layout toggle and the \ shortcut.

Testing

  • Web: typecheck, 17 tests and build all pass.

  • In the browser with the demo tapes, using Playwright and real Chrome:

    • toggle and persistence
    • J/K stepping
    • collapse one / collapse all / expand all
    • search and anchor jumps into collapsed turns
    • narrow width (420px)

    No console errors.

Not tested: a long tape (hundreds of turns) in one column. Every turn is rendered there.

🤖 Generated with Claude Code

A top-bar button (or `\`) switches between the two-pane layout and one column
showing every turn in full, one after another; the choice is remembered. In one
column, a turn folds to its header from its title, Collapse all / Expand all
sits next to the anchor picker, and jumping to an anchor or a search hit
unfolds the turn it lands in. J/K step from the turn at the top of the view.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@frostming
frostming merged commit f3d8429 into main Nov 10, 2026
5 checks passed
@frostming
frostming deleted the feat/single-column-layout branch November 10, 2026 00:52
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