Skip to content

docs(site): use real DevTools screenshots on the /devtool page - #273

Merged
crs48 merged 2 commits into
mainfrom
claude/nostalgic-napier-440aeb
Jun 25, 2026
Merged

docs(site): use real DevTools screenshots on the /devtool page#273
crs48 merged 2 commits into
mainfrom
claude/nostalgic-napier-440aeb

Conversation

@crs48

@crs48 crs48 commented Jun 25, 2026

Copy link
Copy Markdown
Owner

What

The /devtool landing page used stylized CSS "mock panel" approximations of the xNet DevTools. This replaces them with real dark-mode screenshots of the actual in-app DevTools, captured against a seeded demo workspace (Seed panel → Converge · Medium → 615 nodes, 26 docs).

Panel What the screenshot shows
Data Task grid (32 rows, colored status/priority badges, due dates, assignees) + the live query-plan inspector (Strategy: storage-query · 127ms · Returned 32)
Changes A live, Lamport-ordered feed of the CRDT change log
Performance Boot-timeline waterfall, live FPS/heap, storage status, 21 active queries
Logs Real captured boot logs across debug channels (sync/sqlite/query/boot)
Seed The Seed panel with a completed seed report

The "Panels shown as stylized representations." caption is removed.

Bonus fix — tab switcher

While wiring this up I found the panel tab switcher was visually broken: .dt-panel combines display: grid with the hidden attribute, and the grid utility overrode [hidden]'s display: none, so every panel stacked and clicking a tab did nothing. Added a scoped .dt-panel[hidden] { display: none !important } so only the selected panel shows.

Notes

  • A 5th screenshot (Logs) was captured beyond the four named in the task so every .dt-panel maps to a real image (no broken <img>).
  • The Changes feed is creates-only: genuine update/delete writes driven from the console spuriously trip the CRDT conflict detector (a main-thread/worker round-trip artifact, not real app behavior), which littered the timeline with conflict rows. A clean Lamport-ordered create feed is the honest, representative shot.
  • Site-only change (no publishable packages/* touched) → no changeset.

Verification

  • pnpm --filter site build → ✅ 92 pages built clean.
  • Live on the site dev server: images serve 200 image/png, all 5 <img> load (1360×680), caption gone, tab switcher shows exactly one panel and swaps images on click.

🤖 Generated with Claude Code

Replace the stylized CSS mock panels on the /devtool landing page with
real dark-mode screenshots of the actual in-app DevTools — Data grid +
query-plan inspector, Changes timeline, Performance boot timeline, Logs,
and Seed — captured against a seeded demo workspace.

Also fix the panel tab switcher: `.dt-panel` combines `display: grid`
with the `hidden` attribute, and the grid utility overrode `[hidden]`'s
`display: none`, so every panel stacked and switching tabs did nothing.
A scoped `.dt-panel[hidden] { display: none !important }` restores it.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@crs48
crs48 temporarily deployed to pr-273 June 25, 2026 22:43 — with GitHub Actions Inactive
@github-actions

github-actions Bot commented Jun 25, 2026

Copy link
Copy Markdown
Contributor

✓ Changelog fragment found — thanks!

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@crs48
crs48 temporarily deployed to pr-273 June 25, 2026 22:46 — with GitHub Actions Inactive
@github-actions

github-actions Bot commented Jun 25, 2026

Copy link
Copy Markdown
Contributor

Preview removed for PR #273.

github-actions Bot added a commit that referenced this pull request Jun 25, 2026
@crs48
crs48 merged commit 8c92f79 into main Jun 25, 2026
12 checks passed
@crs48
crs48 deleted the claude/nostalgic-napier-440aeb branch June 25, 2026 22:51
github-actions Bot added a commit that referenced this pull request Jun 25, 2026
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