Skip to content

README: two-client live cross-sync walkthrough (multi-pane) - #14

Merged
HomenShum merged 2 commits into
mainfrom
contrib/multi-pane-cross-sync-showcase
Jun 10, 2026
Merged

HomenShum merged 2 commits into
mainfrom
contrib/multi-pane-cross-sync-showcase

Conversation

@HomenShum

Copy link
Copy Markdown
Owner

What

Adds a two-client, side-by-side live cross-sync walkthrough as a centered lead above the existing "Watch it work" clips.

two-client live sync

Why

Every existing NodeRoom walkthrough is single-pane (one browser). But NodeRoom's headline claim is humans + agents editing the same room live, without clobbering. The most direct proof is showing two independent clients at once: a message posted in Client A appears in Client B with no refresh (Convex reactive useQuery), in both directions. A single cursor can't show that; this can.

How

Captured against the live deployed app (noderoom.live shared room) multi-pane — one Playwright browser context per client — with the multi-pane mode of the feature-walkthrough-gif skill. No /ask was used (plain chat messages only), so no LLM cost — just cheap Convex writes to the shared demo room.

Additive only — one new GIF (docs/walkthroughs/two-client-live-sync.gif) + a centered README block before the existing single-pane clips. No existing content changed.

🤖 Generated with Claude Code

NodeRoom's existing walkthroughs are single-pane (one browser). The headline claim —
humans + agents editing the SAME room live, no clobber — is best proven by showing
two independent clients side by side: a message posted in Client A appears in Client B
with no refresh (Convex reactive useQuery), both directions.

Captured against the live deployed app (noderoom.live shared room) multi-pane — one
Playwright browser context per client — with the feature-walkthrough-gif skill's
multi-pane mode (github.com/HomenShum/feature-walkthrough-gif). Added as a centered
lead above the existing single-pane "Watch it work" clips.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
@vercel

vercel Bot commented Jun 10, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
noderoom Ready Ready Preview, Comment Jun 10, 2026 5:56pm

Request Review

…oadcast

Regenerate the GIF with a per-pane zoom camera (legible at 2-up) and a richer scenario:
a human message syncs A->B, then Client A runs the real Room NodeAgent
(/ask reconcile Q3 revenue) and its work broadcasts to both clients. Caption updated.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
@HomenShum
HomenShum merged commit df1d539 into main Jun 10, 2026
4 of 5 checks passed
@HomenShum
HomenShum deleted the contrib/multi-pane-cross-sync-showcase branch June 10, 2026 17:57
HomenShum added a commit that referenced this pull request Jun 29, 2026
… (audit #14, primitives)

Tokenize the named primitives the audit calls out (.r-btn, .r-modal, .r-modal-backdrop,
.r-room-field + .r-text-input, .r-input-stack): gap/padding 7/11/13/20/22px -> var(--space-2/3/5/6)
so a global density change becomes a one-line token edit. Values are equivalent or +/-1px (visual no-op).

Verified: .r-btn resolves to gap 8px / padding 8px 12px; buttons render; no console errors; build clean.
The long-tail ~70 micro-spacing sites (incl. irregular 9/10/14px) remain for a dedicated codemod.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
HomenShum added a commit that referenced this pull request Jun 29, 2026
refactor(design): snap primitive spacing to --space-* token scale (audit #14, primitives)
HomenShum added a commit that referenced this pull request Jun 29, 2026
… micro-scale (web-design audit #14)

The audit framed 7/9/11/13px as drift to snap to the 8pt grid. On inspection that
premise is partly wrong: compact chips/pills/tags run on a deliberate dense-UI
micro-scale (2/5/6/10px, Attio/Linear-class) where 8pt snapping would bloat tight
elements. So #14 is executed surgically:

- Tokenize only the arbitrary odd-pixel values (7->--space-2, 9->--space-2,
  11->--space-3, 13->--space-3), value-side of spacing props only (padding/margin/gap).
  127 replacements, shorthand position preserved.
- Preserve the intentional dense micro-scale (2/5/6/10) and >=2px snaps (14/18/22).
- Exclude negative offsets (-7px avatar overlap; -var() is invalid CSS) and decimals.
- No new tokens (would be unused) -- reuse the existing scale only.

Build-clean; tokens resolve (--space-2=8px, --space-3=12px); dense surfaces
visually unchanged (live-verified ?mode=memory, zero console errors).

Co-Authored-By: Claude Opus 4.8 <[email protected]>
HomenShum added a commit that referenced this pull request Jun 29, 2026
refactor(spacing): tokenize arbitrary odd-pixel drift, preserve dense micro-scale (audit #14)

This branch was successfully deployed

1 active deployment
Preview — bb7b697b Deployed Jun 10, 2026 by vercel[bot]
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