Skip to content

docs(site): tour the browser notes, and add a theme menu - #977

Merged
omartelo merged 1 commit into
mainfrom
site/tour-browser-notes
Oct 29, 2026
Merged

omartelo merged 1 commit into
mainfrom
site/tour-browser-notes

Conversation

@omartelo

Copy link
Copy Markdown
Collaborator

Summary

  • Tour, seventh tab "Point at the page" for the 0.81.0 crosshair. Picking turns the toolbar crosshair on with its hint, a dashed outline marches over the element under the pointer with the dark tag naming it (label, component, size), a click opens the 280px note, Add note pins the element and leaves its outline in place, the tray floats over the page with Clear and Send (with its icon), and Send hands both notes to Claude Code, which edits SignupForm.tsx and reloads the page. Ring gap 5, radius 8, 5px dashes over a white halo, pin on the ring's top edge past the corner, all from browser_notes*.go. Caption in the 7 languages.
  • Theme menu in the header of every landing and changelog page: System, Light and Dark, in the same dropdown as the language menu, showing the current choice's icon. docs/theme.js loads in <head> so a saved choice applies before the first paint; System leaves the page to prefers-color-scheme. On a phone the header's Download button gives way to it (the hero keeps its own).
  • Catch up with 0.80/0.81: a compare table row for the session browser, and the footer feature card names the prompt cache share of the last turn.

Test plan

  • go test ./internal/site/ (header parity between each landing and its changelog)
  • Every tour tab in the 7 landings, the theme menu and the 7 changelogs in headless Chromium, no page errors
  • Tab 7 and the theme menu checked in lich's own session browser

The tour gets a seventh tab, Point at the page, for the 0.81.0 crosshair:
the dashed outline marches over the element under the pointer, a note
opens beside it, each added note pins its element and keeps its outline,
and Send hands both notes to the agent, which edits the form and reloads.
Ring, tag, pin, note and tray follow browser_notes*.go.

The header of every page gets a System / Light / Dark menu, kept in
localStorage and applied from <head> before the first paint. The compare
table gains the session browser, and the footer card names the prompt
cache share added in 0.80.0.
@omartelo
omartelo merged commit de919dd into main Oct 29, 2026
7 checks passed
@omartelo
omartelo deleted the site/tour-browser-notes branch October 29, 2026 13:08
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