Skip to content

demos: the tour shows tabs, places, floats, materials, plugins, history - #629

Merged
foxnne merged 1 commit into
mainfrom
demos/new-tour
Oct 19, 2026
Merged

foxnne merged 1 commit into
mainfrom
demos/new-tour

Conversation

@foxnne

@foxnne foxnne commented Oct 19, 2026 •

Copy link
Copy Markdown
Collaborator

Part of fizzyedit/plans#30. Merge after #621 and #626: this branch is built on both and on main (which has #623 and #624), and until they land its diff shows their commits too. Its own change is src/editor/demos/tour.zig, catalog.zig and docs/AUTOMATION.md.

What changes

The tour was the explorer, typing, the palette and a markdown preview, with long holds (8.5 s on the first card). It now covers what a person needs to get around, and what fizzy's windowing does, in 58 seconds:

Chapter At What it shows
Welcome 0:00 a short title card, no hold
Tabs 0:03 a tab dragged into order, another dropped on the editor's edge: a pane beside
Places 0:10 a place's corner button, its picker, and Split
Floats 0:18 the Files view dropped on its own place's middle: a float, carried by its header over the code
Materials 0:25 Liquid Glass, frost, blur, clear and opaque under that float (fizzy.windowMaterial, #621), then closing the float sends the view home
Plugins 0:38 the store: everything seen so far is a plugin
History 0:42 typing, the grip at the page's foot filling toward the history's cap (#624), and the bar it opens
Your turn 0:54 where to find it again: Guides on the rail

Each chapter that rearranges the window opens on a keyframe. A snapshot holds documents and settings but not the layout, so a seek or a jump from the guides view lands on a cut rather than on a window still arranged the later way. The catalog names the anchors the tour aims at (place, corner, cornerButton, historyGrip, historyLine). docs/AUTOMATION.md lists the ones its table lacked: history.grip:, history.export:, history.collapse:, float-header:, float-close: and picker.empty.

The history chapter shows the bar and how to scrub it, but doesn't scrub. A snapshot puts a document's text back but not its history, so a seek replaying a scrub lands on other text.

What making it found, each its own PR:

SDK impact

Verified

  • Web, in the browser pane: played start to finish on ?demo=tour. Every chapter landed: the drags, picker, float, material switches, store and history bar.
  • macOS, zig build test-integration (81/81 steps):
  • zig build, zig build check-web, zig build check-tests-reached, scripts/check-fmt.sh.
  • Windows:
  • Linux:

Follow-ups

  • A pause before the tour clicks the history grip broke seeks there (the line never drew on replay). Something in the grip's rest timing doesn't follow demo time. The tour clicks it without the pause.
  • On the web, the float's view covers most of its glass, so the material change shows mainly in its header and edges. A sparser view floated would show it better.
  • Hosted guides (step 3) and ?view=guides (step 4) are next.

🤖 Generated with Claude Code

@foxnne
foxnne force-pushed the demos/new-tour branch 2 times, most recently from d94158a to 19af0cb Compare October 19, 2026 15:12
…story

The tour was the explorer, typing, the palette and a markdown preview, with long holds. It is
now what a person needs to know to get around, and what fizzy's windowing does, in under a
minute: tabs dragged into order and onto the editor's edge, a place's corner and its picker, a
view floated and carried over the code, the window's materials changing under it, the plugin
store, and a document's history at the grip at its foot. Each chapter that rearranges the window
opens on a keyframe, so a seek or a jump from the guides view lands on a cut. The catalog names
the anchors it aims at, and docs/AUTOMATION.md lists the ones it lacked.

Part of fizzyedit/plans#30.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@foxnne

foxnne commented Oct 19, 2026

Copy link
Copy Markdown
Collaborator Author

Rebased onto main after #621/#626/#639/#640 landed; the stacked commits are gone, leaving this PR's three files (docs/AUTOMATION.md, catalog.zig, tour.zig). The old merge's tests/demos.zig changes were only conflict resolutions, so main's version stands.

Review fixes: Materials sets Liquid Glass before its caption says so, and the doc comment says about a minute.

Left for a follow-up: a demo snapshot holds no layout, so a scrub back inside Places/Floats/Materials can replay a split or float onto a window already rearranged (the keyframes cover chapter starts only); and the corner button is aimed at by pixel inset because Region.cornerButton marks no anchor.

@foxnne
foxnne marked this pull request as ready for review October 19, 2026 15:19
@foxnne
foxnne enabled auto-merge (squash) October 19, 2026 15:19
@foxnne
foxnne merged commit 1fdc096 into main Oct 19, 2026
11 checks passed
@foxnne
foxnne deleted the demos/new-tour branch October 19, 2026 16:36
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