Skip to content

docs: scrubbable viewfinder hero, scroll timeline, and tool finder - #168

Merged
TMHSDigital merged 1 commit into
mainfrom
docs/site-viewfinder
Oct 25, 2026
Merged

TMHSDigital merged 1 commit into
mainfrom
docs/site-viewfinder

Conversation

@TMHSDigital

Copy link
Copy Markdown
Owner

Takes the site's REC/timecode identity further: the page now behaves like the recording it imitates. All the boldness goes into one element, the hero.

Viewfinder hero. Instead of a looping GIF, the hero shows a viewfinder with real frames from the REC 06 recording, produced by the tool itself (sample_frames at 4 fps, packed into one ~80 KB WebP sprite per version).

  • Drag along the filmstrip (or use the arrow keys on the focused strip) to scrub. Underneath, the sample_frames { "timestamps": [t] } call that returns that frame updates live.
  • The amber mark is where sample_frames { mode: "scenes" } picks a frame (3.2 s, from a real run); the red dot is the click read_events logged (3.18 s). The note explains each stretch, e.g. "An agent looking at two frames, not 104, sees the whole story."
  • A Raw recording / After zoom toggle swaps to the zoom output at the same timestamp. On that version, scenes mode returns only the opening frame, because a smooth zoom never jumps, and the note says so.
  • One orchestrated moment: the first time the viewfinder is on screen, the playhead runs to the click and stops there. It never runs with prefers-reduced-motion.
  • The viewfinder is capped at 600 px so frames show at about their natural size, and it reuses the marquee's corner handles.

The page as a recording. The HUD timecode now follows scroll position, landing on each chapter's own timecode mark (00:02, 00:26, 00:48, 00:55 on the home page). A thin track under the HUD fills as you scroll, with a tick per chapter. This works on every page (recipes and Connect too).

Tool finder. "Find a tool" filters the 41 tool rows as you type (try OCR, GIF, redact). It hides chapters with no match, shows a live count, and offers an empty state with suggestions. It filters the existing tables, so the docs drift test is unchanged.

One accessory off: the all-caps eyebrow over the headline (it repeated the HUD) and the → on the hero links.

Checks

  • Lighthouse, mobile and desktop: 100 Accessibility, Best Practices and SEO, with no failed audits and no layout shift (the note area keeps a fixed height while it changes).
  • Scrolling lands the timecode on each chapter's mark.
  • With reduced motion the intro doesn't run; keyboard scrubbing works and announces the time.
  • No horizontal overflow at 390 px.

Bumps to 0.33.2.

🤖 Generated with Claude Code

The hero shows real frames from sample_frames on the REC 06 recording:
scrub them, see the call that returns each frame, the scenes-mode and
click markers, and the zoomed version. The HUD timecode now follows
scroll position through the chapter marks. A finder filters the tools.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@github-actions github-actions Bot added the documentation Improvements or additions to documentation label Oct 25, 2026
@TMHSDigital
TMHSDigital merged commit 3e96335 into main Oct 25, 2026
8 checks passed
@TMHSDigital
TMHSDigital deleted the docs/site-viewfinder branch October 25, 2026 17:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant