Skip to content

Floating sidebar: card layout, Plugins card, card resize and reordering - #3972

Open
morgmart wants to merge 78 commits into
mainfrom
morganm/floating-layout
Open

morgmart wants to merge 78 commits into
mainfrom
morganm/floating-layout

Conversation

@morgmart

@morgmart morgmart commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

The new desktop sidebar: a floating, card-based layout built on top of main's sidebar, so main's existing features (rename, peek, menus, sort, filter, drag) keep working. This replaces the #3551 exploration as the branch we intend to merge.

What's in this PR

  • Floating layout: the conversation is its own borderless card beside the sidebar, on the app's tinted background, with no container lines.
  • Sidebar cards: each section (Favorites, workspaces, Solo, Team, DMs, Plugins) is its own card on the tint, with even spacing between cards. Titles and rows start 16px in, clear of the cards' rounded corners.
  • Plugins card replaces the icon rail: every app is a row in the Plugins card. The community switcher and profile button moved to the top-right of the window, and the sidebar stays visible on app pages. Plugins placed on the rail now appear in the Plugins card too.
  • Starred is renamed Favorites. Only the name changes. Saved stars and their sync are untouched, so mobile and older builds keep working.
  • Card resize: drag a card's bottom edge to show more or fewer rows. Cards show seven rows by default. The card follows the pointer, then settles on a whole row; the height is remembered on this device. Double-click toggles showing every row; arrow keys step one row. A tooltip explains the grip until it's been used once.
  • Card reordering: drag a card by its header. The card stays in place while a header-only preview follows the pointer, and an even landing line shows where it will go.
  • Rename a workspace inline: double-click its header to edit the name in place. Enter or clicking away saves, Escape cancels, and a failed save keeps the field open with the reason. A single click still collapses/expands (after a short delay so a double-click can win); keyboard toggles immediately.
  • Forums is hidden until you have a forum to show.
  • Tighter corners app-wide (intentional): the shared container corner goes from 24px to 16px, so dialogs, settings groups, agent cards, empty states and other containers get the same tighter corner as the new cards.
  • New workspaces start empty: creating one no longer auto-creates a chat inside it.

Left out on purpose

  • Drag-to-create-a-workspace was tried and removed; it didn't land cleanly and isn't worth the complexity right now.
  • An unread pill for rows hidden by a resized card is on a follow-up PR (branch morganm/card-unread-pill).

Validation

  • Typecheck and biome pass locally.
  • The last push skipped the local pre-push unit run (the shared machine was overloaded and timing-sensitive files kept timing out); GitHub CI is the check of record for this head.
  • Unit tests cover inline rename, the hidden Forums section, and the removed drag-to-create path.
  • Browser end-to-end tests were updated but not run locally.

🤖 Generated with Claude Code

@morgmart
morgmart force-pushed the morganm/floating-layout branch from 58f3f35 to b2ccd72 Compare November 19, 2026 19:40
@morgmart morgmart changed the title Floating sidebar: card layout, Plugins card and card resize Floating sidebar: card layout, Plugins card, card resize and reordering Nov 20, 2026
@morgmart
morgmart marked this pull request as ready for review November 20, 2026 00:14
@morgmart
morgmart requested a review from a team as a code owner November 20, 2026 00:14

@wesbillman wesbillman left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤖 Star Lord recommends fixes at bfc22a0. The source review found regressions in clipped-row navigation, workspace rename, drag feedback, and plugin navigation. Please also confirm the Plugins card’s replacement of #3947’s pinned shortcuts and update the public placement contract if that change is intended.

Comment thread src/app/shell/AppShell.tsx Resolved
Comment thread src/app/shell/presentation.ts Resolved
Comment thread tests/browser/layout.spec.mjs Resolved
Comment thread docs/buzz-help.md Resolved

@kalvinnchau kalvinnchau left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤖 One additional keyboard-focus regression; see inline reproduction.

Comment thread src/bundled/channels/SidebarSection.tsx Resolved

@kalvinnchau kalvinnchau left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤖 Two additional findings in the sidebar repair delta.

@kalvinnchau kalvinnchau left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤖 One regression-coverage finding; existing unresolved findings remain in their original threads.

Comment thread tests/browser/sidebar-unread.spec.mjs Resolved

@kalvinnchau kalvinnchau left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤖 One browser regression remains: update the unread-batch journey for the new clipping behavior while preserving its batching and read-publication checks.

Comment thread src/bundled/channels/SidebarUnread.tsx Resolved

@kalvinnchau kalvinnchau left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤖 Two findings: stale badge width causes overlap, and the new component tests miss several demonstrated regressions.

@kalvinnchau kalvinnchau left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤖 The sidebar test stubs and browser journeys regress at this head; the inline comments include reproductions and regression-coverage gaps.

Comment thread src/app/shell/sidebar-testing.tsx Resolved
Comment thread tests/browser/sidebar-unread.spec.mjs Resolved
Comment thread tests/browser/sidebar-unread.spec.mjs Resolved
Comment thread src/features/relay/inbox.ts Resolved

@kalvinnchau kalvinnchau left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤖 Five findings remain in preference persistence, sidebar scope and unread ordering. The inline comments distinguish browser reproductions from static state-transition findings.

Comment thread src/bundled/channels/SoloWorkspaces.tsx Resolved

@kalvinnchau kalvinnchau left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤖 One new filter-retry regression.

@kalvinnchau kalvinnchau left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤖 Two findings: hidden-card activity demand and missing regression coverage for the All retry key.

@kalvinnchau kalvinnchau left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤖 One recovery regression remains: default activity demand adds a manual Retry notice during a relay outage.

@kalvinnchau kalvinnchau left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤖 Add regression coverage for activity-only recovery after the retry budget is exhausted.

Comment thread src/features/relay/session.ts Resolved

@kalvinnchau kalvinnchau left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤖 Two issues remain in the new sidebar interactions and spacing.

Comment thread src/bundled/channels/SidebarSection.tsx Resolved

@kalvinnchau kalvinnchau left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤖 Four findings on test migration, saved filters, heading layout and rank regression coverage.

Comment thread src/bundled/channels/SidebarSection.tsx Resolved
Comment thread src/bundled/channels/SidebarSection.tsx Resolved

@kalvinnchau kalvinnchau left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤖 Remaining findings: heading movement on reveal, filtering documentation drift, and missing accent-role validation.

@kalvinnchau kalvinnchau left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤖 Two regressions need resolution: legacy Unreads preferences change meaning, and filter icons lose contrast together with their guard. Two smaller contract/accessibility issues are noted inline.

@kalvinnchau kalvinnchau left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤖 One reproduced Back-navigation regression; see inline trigger and measurements.

Comment thread src/bundled/channels/SidebarSection.tsx Resolved

@jedwards27 jedwards27 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Needs a desktop and mobile check before merge
Contract: removing the desktop /api/relay/sidebar-filter POST and retiring channel-filter / channel-workspace-filter from desktop preference reads changes its relay-facing client contract. Check old saved filters and mixed-version desktop/mobile clients; relevant paths include browser-host/relay-broker.mjs, src/features/relay/sidebar-preferences.ts, live.ts, session.ts, and native-sidebar.ts.

🤖 :bot: Jude’s code review agent — COMMENT review; recommendation: request changes.

Reviewed: ed0ec8a2eeb442f2d2ef60e7660a36218a4b822d..e2318fffd1e42c994521a351416776b64ccea269. Risk: high: synced preferences change meaning across client versions, and the UI/DOM contract, navigation, accessibility and tests move together. The findings below are author-actionable; this is not a hold for missing reviewer hardware.

  1. P1 — Existing A–Z sort can become Recent on upgrade and diverge across clients. src/features/relay/sidebar-sort.ts:18–22, sidebar-registers.ts:579–592, and src/bundled/channels/sidebar-sections.ts:150–154: the previous writer represented A–Z with a null/absent register, while the new reader interprets absence as Recent and the new Recent writer also writes null. Executing the base and head editor/projector functions showed old A–Z → groups={}/null → new Recent; a new Recent write does not repair the old client's interpretation. Author action: preserve the old absence semantics or version/migrate the coordinate with explicit choices that both client versions interpret consistently; add a base-writer/head-reader/head-writer/base-reader regression.
  2. P2 — Retired filter records still participate in preference reads and live invalidation. src/features/relay/sidebar-preferences.ts:35–81,690–755, src/features/relay/live.ts:1397–1409, src/features/relay/session.ts:3747–3767, browser-host/sidebar-preferences.mjs:69–99, and src/features/relay/native-sidebar.ts:39–47,88–120: both coordinates are queried and decoded; a legacy save can trigger fresh reads, and an unreadable signed obsolete record can fail the entire preference read even though visible filtering is gone. This conflicts with docs/channels.md:230–235. Valid old records are ignored by projection; I am not claiming they visibly filter. Author action: remove retired coordinates from new-client query/decode/replay/invalidation while retaining the necessary older-client signer compatibility, correct the docs, and test a bad obsolete filter alongside valid workspace/sort heads and a legacy filter event causing no new desktop read.
  3. P2 — Card reordering misses the header target at 200% text. src/features/channel-navigation/ChannelSidebarDnd.tsx:55–73 uses the whole card midpoint for a header drag; dragging to the lower part of the empty target header gives no data-drop-edge="after". The existing tests/browser/navigation-group-order.spec.mjs:333–346 journey fails in Chromium and WebKit at the reviewed head, while the base journey passed in Chromium. Author action: align insertion geometry with the header drag affordance and retain/rerun the journey in both engines.
  4. P2 — Panel gap contradicts the new shell contract and committed journey. src/shared/styles/globals.css:359–361 applies --space-1 (4px), while docs/shell-design.md:153–155 and tests/browser/navigation-sidebar.spec.mjs:300–301 specify an 8px panel gap. The journey measures 4px and fails in both engines. Author action: use the intended gap token, or reconcile the design contract and test if 4px is intentionally approved; rerun both engines.
  5. P2 — Rows that need you expose duplicate unread status to screen readers. src/bundled/channels/UnreadBadge.tsx:113–129 renders both the ordinary unread marker and needs-you dot as role="img" with overlapping descriptions. tests/browser/sidebar-unread.spec.mjs:273 expects one image in a DM row and finds two in both Chromium and WebKit. Author action: give the status one accessible owner (combine its announcement and make a decorative dot hidden), with DM and mention/thread coverage.
  6. P2 — The unread marker migration leaves a failing test gate. Production Next-unread selects [data-channel-needs-you] (src/bundled/channels/conversation-rows.ts:3–9,60–63), but conversation-rows.test.ts:56–72, SidebarCardResize.test.tsx:54–65, SidebarUnread.test.tsx:79–92, and ChannelSidebarItem.test.tsx:666–682 use/assert removed unread/activity/waiting markers. The affected exact-head Vitest invocation reported 31 failed / 376 passed; this is a concrete PR-caused failure, not simply an unrun CI job. Author action: migrate fixtures and assertions to the production marker, bind tests to the inbox/needs-you owner and live invalidation, and run the full affected test files and package suite without weakening checks.
  7. P2 — The new full-row fade masks readable text and keyboard focus. src/bundled/channels/Channels.module.css:1073–1077 masks the entire clipped row container; at 200% a focused 56px last row receives a 32px fade. Chromium/WebKit checks in light and dark showed the lower label and focus-ring edge fading. Author action: confine the fade to a non-interactive edge or suppress it for keyboard focus, and add a 200%-scale last-row journey in both themes/engines.

Validation at the reviewed head: source/diff and git diff --check clean; base/head sort editor/projector probe reproduced finding 1. Focused browser journeys for the drag, gap, duplicate accessible status and clipped-card fade reproduced findings 3–5 and 7 in Chromium and WebKit. Targeted Vitest reported 376 passing / 31 failing; inbox.test.ts (1), unread.test.ts (325) and SoloWorkspaces.test.tsx (28) passed. A broader unread browser invocation expired at 240s; it is not a full-suite result. Only DCO, Semgrep OSS and zizmor checks were visible for the head when inspected; no full package CI verdict was claimed. The native Tauri app, a packaged desktop artifact and mobile were not exercised.

Author action: resolve the seven defects above, including the red test gate. Verification owner: author for deterministic cross-version tests and full package/browser gates; reviewer/tooling for the desktop+mobile mixed-client/native smoke after changes, with release/CI owners for any repository-required merge gate. Check desktop with old saved filter coordinates and no filter query/POST; then change an old client's filter while desktop is open and verify no desktop reread/write/overwrite, with mobile's own behavior intact. This merge check is separate from the code defects. Residual risk: no native/mobile execution or full-suite pass at this head; any new head needs delta review before clearance.

Recommendation: request changes.

@jedwards27 jedwards27 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Needs a desktop and mobile check before merge
Contract: the desktop no longer queries, decodes or invalidates channel-filter / channel-workspace-filter records, while older clients may still write them. Check old records, mixed-version desktop/mobile reads and writes, and preservation of their event IDs/content.

🤖 :bot: Jude’s code review agent — COMMENT review; recommendation: request changes.

Reviewed: ed0ec8a2eeb442f2d2ef60e7660a36218a4b822d..603bfd6d80c451516d7c0080580270995d5b58a4 (clean worktrees). Risk: high: synced sidebar preferences and their native/browser decoders, live invalidation, drag and accessibility behavior change together.

Blocking findings

  1. P2 — The last visible row and keyboard focus indicator are still faded at 200%. src/bundled/channels/Channels.module.css:1073–1076 masks the entire clipped-row container with --scroll-fade-end, which fades descendants' text and focus ring (token: src/shared/design-system/styles/components.css:1154–1172). The earlier Chromium/WebKit light/dark 200% captures show the bottom focused row's label and ring washed out. These CSS and clipping owners are byte-identical from e2318fff to this head, and the newer drag/layout/unread changes do not remove that mask. Fix: remove the container mask and use the existing overflow grip, or place a decorative fade so it cannot mask row content/focus; add a rendered 200% regression checking the final visible row's label, unread cue and focus indication. The existing clipped/focused assertions do not establish legibility.
  2. P2 — The exact-head broker sort suite fails after the default changed to A–Z. browser-host/sidebar-preference-writes.test.mjs:203,550–559 still expects five preference filters and a publish for an unsaved A–Z intent; the read batch is now four filters and A–Z is a no-op. browser-host/sidebar-sort-broker.test.mjs:115–152,168–183 likewise expects an absent A–Z choice to publish or reach the conflict path. The four-file focused broker run reports 5 failed / 50 passed, so its conflict protection is currently lost. This does not establish a production writer defect. Fix: update the batch count, drive publish/UTF-8/saved-section/conflict cases with nondefault Recent, retain the old null/absent A–Z read regression, and run the full broker/package gate. Do not turn conflict coverage into a no-op assertion.

Traced changes: src/features/relay/sidebar-sort.ts:18–24 restores A–Z for absent/null choices, while sidebar-registers.ts:567–590 saves Recent explicitly. The four-coordinate read (sidebar-preferences.ts:34–46,642–699), live membership subscription (live.ts:1396–1411), session invalidation (session.ts:3738–3767), and browser/native decoders omit retired filters. The native test seeds unreadable legacy records and checks preservation (native-sidebar.test.ts:527–590); live tests check subscription and injected-event isolation (live.test.ts:6654–6785). Rust still recognizes old signer coordinates. Header-based drag collision and the single unread spoken status have regression assertions; updated docs explicitly choose a 4px sidebar/page gap. No other author-actionable defect was established by source review, but those browser journeys were not executed at this head.

Author action: fix both findings and rerun the broker/package and changed browser journeys. Verification owner: author for the red suite and repaired fade; reviewer/tooling for exact-head Chromium/WebKit at 200%, packaged native desktop and older-mobile mixed-client preference traffic/preservation. Validation: clean 603bfd6d worktrees; git diff --check ed0ec8a2..HEAD passed. On the Mac, pnpm exec vitest run browser-host/sidebar-sort.test.mjs browser-host/sidebar-sort-broker.test.mjs browser-host/sidebar-preference-writes.test.mjs browser-host/sidebar-toggle.test.mjs failed (5/55); focused relay tests passed (320/320 across five files). GitHub exposes DCO, Semgrep OSS and zizmor as passing; its Actions query for this head returned zero workflow runs. Manual/native: earlier-head Chromium/WebKit visual captures for the unchanged fade; no exact-head browser, Tauri or mobile binary run. Residual risk: mixed-version mobile/desktop runtime and full package suite are unverified; absence of that reviewer-owned smoke is a separate merge check, not another author code defect.

@jedwards27 jedwards27 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Needs a desktop and mobile check before merge
Contract: desktop no longer reads/invalidates channel-filter / channel-workspace-filter; verify older-mobile writes and desktop reads/writes against the same relay and account, preserving those legacy event IDs/content.

🤖 :bot: Jude’s code review agent — COMMENT review; recommendation: request changes.

Reviewed: 270577677cdb1df143e471c891b559e4ce330efc..62c30a12afad6b04895887739faae34179426ecf (clean exact-head checkouts). Risk: high: sidebar geometry/focus and synced preference reads change together.

Blocking findings

  1. P2 — Focused bottom row fades away at 200%. src/bundled/channels/Channels.module.css:1073–1076 masks the entire clipped card row subtree, including the last keyboard-focused row's label and lower focus outline. The exact-head 200% Chromium capture and computed 32px ancestor mask reproduce this; capture in the review room. Author action: remove the whole-row mask (retain the grip/“more” cue), or put the fade on a decorative layer that cannot dim text, unread cues or focus. Add a rendered 200% last-visible-focused-row regression in both themes and browser engines.
  2. P2 — Required unit gate fails and bypasses reconnect-repair coverage. src/features/relay/live-session.test.ts:2553 expects five filters, but the intentional removal of legacy filter reads emits four; the exact-head complete file failed 1/56 locally, and CI JavaScript shard 8/8 fails identically. The assertion stops the later fresh-read/reconnect checks. Author action: assert the four specific supported d coordinates, keep the downstream reconciliation assertions and rerun the required unit gate. This is a stale test/required gate failure, not an observed production read bug.
  3. P2 — Browser recovery journey still targets removed UI and a five-filter batch. tests/browser/sidebar-section-creation.spec.mjs:31,114 demands a now-removed Filter menu item and intercepts lost-response/writer reconciliation only when the batch has five filters. The first assertion blocks the journey; the interception can no longer exercise its recovery contract. Author action: update the menu expectation, intercept the four exact coordinates and retain the lost-response/strong-writer/403-retry assertions; rerun the required Chromium/WebKit browser gate. This is source-traced, not a claim that the production writer is broken.

Behavior/contracts traced: A–Z remains the unsaved default; nondefault Recent publish/conflict tests now exercise the real writer (55/55 broker tests pass). Four-coordinate reads/live invalidation and legacy-record preservation have focused tests (348/348 pass); native signer still accepts old coordinates. src-tauri/src/relay.rs and src-tauri/src/relay/media_cache.rs are mainline-merged and unchanged from the PR base, not newly authored by this PR. Keyboard card-grip resize worked in Chromium/WebKit; pointer resize and header reorder were exercised in the browser. No other production defect is asserted from those observations.

Author action: fix findings 1–3 and rerun full required unit/browser CI. Verification owner: author for those fixes; reviewer/tooling for exact-artifact native desktop and older-mobile mixed-version preference traffic/preservation (including revocation, failed delete and sign-out cache behavior where applicable); CI/release gate for the remaining red shards. Validation at 62c30a12: clean Mac checkouts, git diff --check base..HEAD pass; broker 55/55 pass; five focused preference/live files 348/348 pass; full live-session.test.ts 55 pass / 1 fail; selected Chromium/WebKit UI journeys 11/12 pass, with one unchanged PR-relative sidebar-focus-visible.spec.mjs:150 locator ambiguity before its behavior assertion. Exact-head CI required aggregate fails JS and browser lanes; its browser failures have not all been assigned to this PR. Manual/native: exact-head Chromium 200% capture shows the focused-row defect; no native Desktop or mobile binary run. Residual risk: mixed-client relay behavior and native cached-media access after revocation were not independently witnessed. This review does not clear the desktop/mobile merge check; missing runtime evidence alone is not another author defect.

@jedwards27 jedwards27 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Needs a desktop and mobile check before merge
Contract: Desktop no longer reads or invalidates legacy channel-filter / channel-workspace-filter preferences while older mobile clients may still write them. Check both clients on the same account and relay, including cold-open/reconnect and preservation of the old event IDs after a supported desktop preference write.

🤖 :bot: Jude’s code review agent — integrated re-review.

Verdict: COMMENT — recommend request changes for the remaining author-actionable UI defect.
Reviewed: base 270577677cdb1df143e471c891b559e4ce330efc → exact head 98a7417d24897d8139240ceb77faf593917491f0 (six-file delta since prior review at 62c30a12).
Risk: high — sidebar focus/readability, unread cues, and cross-client preference compatibility.
Behavior/contracts traced: account and workspace preference read/reconnect filters; persisted older filter records; sidebar card clipping and Solo icon/unread/working state.

Blocking finding (P2): src/bundled/channels/Channels.module.css:1075–1076 still applies a bottom fade mask to the entire clipped .cardRows subtree. At 200% zoom, the last visible focused row's label and lower focus outline fade out even though the row remains keyboard-focusable. This violates the repository's UI review requirement to inspect enlarged text and focus states (root AGENTS.md, UI and design-system work). The prior rendered Chromium capture at 62c30a12 shows the failure; this mask rule and card-row layout CSS were unchanged in the six-file delta, not recaptured at the new head. Author action: remove the content mask or move the fade to a decorative layer that cannot wash out text/unread/focus; retain the resize grip/“more” cue and add a rendered 200% focused-last-row regression in both themes and Chromium/WebKit.

Resolved since prior review: src/features/relay/live-session.test.ts:2553–2562 now asserts the four exact account preference coordinates while retaining strong/fresh/reconnect checks; tests/browser/sidebar-section-creation.spec.mjs:31,114–141 removes the stale Filter menu expectation and intercepts the four workspace coordinates while preserving lost-response, denial, retry and reload checks. src/features/relay/startup.test.ts:389–461 checks old saved filters survive on disk but leave the current projection. The source-traced Solo icon/unread-dot/working transition has no journey-shaped rendered test in the scoped existing Solo browser specs; recommend exercising it, but absence of this reviewer evidence is not an independently demonstrated runtime defect.

Validation: systems lane at clean 98a7417d: git diff --check base...HEAD exit 0; source contract traced, no new systems defect found. Previous exact-head 62c30a12 focused UI journeys 11/12 pass across Chromium/WebKit; the one failure was an unchanged locator resolving two elements, not established as a PR regression. At this 98a7417d review, CI run 44861339071 is still running; one WebKit browser shard has failed, cause not yet attributed, and other shards are pending. No full-suite or native/mobile pass claimed.
Manual/native evidence: prior Chromium 200% capture at 62c30a12 here; no fresh rendered, macOS native, or older-mobile run at 98a7417d.
Verification owner: author for the card mask and focused-row regression; CI/release gate for the failing/pending exact-head checks; reviewer/tooling for native Desktop and older-mobile shared-relay smoke (mobile writes both legacy ds → desktop cold-open/reconnect and supported write → compare old event IDs → mobile reread/rewrite). The latter is a merge check, not another author defect.
Residual risk: Solo unread/typing icon transition and mixed-client behavior lack exact-head runtime proof. Reassess the WebKit shard when logs become available; do not infer its cause from status alone.

Recommendation: request changes.

@jedwards27 jedwards27 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Needs a desktop and mobile check before merge
Contract: Desktop stops reading/invalidating channel-filter / channel-workspace-filter preferences and using /api/relay/sidebar-filter. On one relay/account, check older Desktop/Mobile writes and current Desktop cold-open, reconnect, supported preference writes, failed-write recovery and preservation of both legacy event IDs/content; then confirm older Mobile still reads and updates its filters.

🤖 :bot: Jude’s code review agent — integrated exact-head re-review.

Verdict: COMMENT — recommend request changes for the three author-actionable defects below; agents do not submit REQUEST CHANGES on block/buzz-app.
Reviewed: base 270577677cdb1df143e471c891b559e4ce330efc → head 9e28e462086cd129e5c5296cf1482af086e1adab (two commits since prior review at 98a7417d). OPEN/non-draft when checked.
Risk: high — persisted cross-device unread intent, Activity/Needs You routing, focused sidebar readability and mixed-version preference compatibility.
Behavior/contracts traced: Solo whole-chat mark → Inbox projection → Unreads first; Activity timeline read → local journal and synced override; clipped card row focus at enlarged effective zoom; retired legacy preference coordinates versus old-client writes.

Blocking findings / author action:

  1. src/features/relay/unread.ts:3518–3531: Activity “Mark read” for a Solo chat clears device-local force state but not an existing synced channel-unread override. read-state.ts:2173–2204 only clears local keys, while read-state-model.ts:246–255 keeps an override active when the already-caught-up frontier cannot advance beyond its baseline. A saved-state repro (read to frontier 20 → peer synced channel Mark unread at baseline 20 → Activity Mark read) still reports manual: remote; normal channel read clears it. Author action: clear the captured channel-wide synced override alongside the Activity read, fence a newer competing mark, and add a saved-state regression for this path. Verification owner: author for fix/test; reviewer for exact-head rerun.
  2. src/features/relay/unread.ts:1700–1723,1861–1873: Inbox drops a Solo chat that has only the viewer’s own initial prompt before the new channel-manual projection runs. Its row can be marked unread (ChannelReadMenuItem.tsx:37–49), but no Activity item exists, so SidebarUnreadsFirst.ts:73–96 never includes it in Needs You / Unreads first. Focused saved-state repro fails with manual: local-only and no timeline item. Author action: project a manually marked own-post-only Solo conversation with a safe preview/read action (or explicitly narrow the promised whole-chat mark behavior), with a regression covering Unreads first and read clearing. Verification owner: author for behavior/test; reviewer for host UI.
  3. src/bundled/channels/Channels.module.css:1075–1076: the clipped .cardRows mask fades the focused row itself. At a 720×475 CSS viewport/DPR 2 (200%-equivalent at 1440×950), the last visible DM label and lower focus ring fade in both Chromium and WebKit, light and dark. Light capture · dark capture. Author action: preserve the grip/“more” cue without masking row content or its focus ring; add a rendered focused-last-row readability regression. Verification owner: author for fix/test; reviewer for rendered rerun.

Validation: Systems reviewer at clean 9e28e462 ran two temporary production-seam Vitest regressions that failed causally for findings 1 and 2; normal channel read control passed; temporary cases were removed. UI reviewer at clean 9e28e462 ran CI=1 pnpm exec playwright test --config tests/browser/playwright.config.mjs --no-deps --project=chromium --project=webkit tests/browser/review-3972-focus-200.spec.mjs (2 passed focus/geometry assertions), then inspected rendered paint in both themes/engines; temporary fixture removed. Both reviewers and integration checkout reported clean head; integration git diff --check 98a7417d..HEAD passed and independently traced the state transitions. The rendered test's green geometry assertions do not prove legibility; screenshots establish finding 3. Exact-head CI run 44863037330 reports failed browser shards and CI required; failure cause not established by this review, so do not assume these are the three defects or a separate author action. No full-suite pass claimed.
Manual/native evidence: browser production frontend with modeled broker only; no real Tauri Desktop or older Mobile shared-relay run.
Verification owner: reviewer/tooling for the desktop/mobile relay compatibility gate (not an author defect); CI/release gate for exact-head required-check diagnosis and rerun after fixes.
Residual risk: actual cross-client preference round-trip and native platform focus/read behavior unobserved. native-sidebar.test.ts:529–590 covers old-record write isolation but cannot stand in for a mobile client. A new PR head invalidates this verdict.

Recommendation: request changes.

baxen and others added 2 commits November 22, 2026 15:43
Squash of morganm/floating-layout onto main.

Co-authored-by: morgmart <98432065+morgmart@users.noreply.github.com>
Co-authored-by: ART <ea39c1c8acf57180161ef4ba4ed68abf8589f5291956b909a5aa991fc66664ca@buzz.block.builderlab.xyz>
Signed-off-by: Bradley Axen <baxen@squareup.com>
Co-authored-by: ART <ea39c1c8acf57180161ef4ba4ed68abf8589f5291956b909a5aa991fc66664ca@buzz.block.builderlab.xyz>
Signed-off-by: Bradley Axen <baxen@squareup.com>
@baxen
baxen force-pushed the morganm/floating-layout branch from 9e9f0d0 to 9cd50b9 Compare November 22, 2026 23:49
morgmart and others added 7 commits November 25, 2026 17:22
A sidebar card took the panel recipe's gray selection but kept the
sidebar's dark selected ink, so plain rows in plugin and Activity cards
showed dark text on gray in dark mode. Cards now restore the sidebar's
selection tokens, and hover with the same accent fill and ink the
channel cards use.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: morgmart <98432065+morgmart@users.noreply.github.com>
Co-authored-by: Morgarita <6e967af659416160ab4f2fd56d74c8c6f273791ee7bfc9468a1be37c387947be@buzz.block.builderlab.xyz>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: morgmart <98432065+morgmart@users.noreply.github.com>
Inside the sheet, the cards reach up through its top gap, so the shared
scroll fade ends at the sheet's real edge rather than a white strip
below it. The first card keeps its place at rest.

Co-authored-by: Morgarita <6e967af659416160ab4f2fd56d74c8c6f273791ee7bfc9468a1be37c387947be@buzz.block.builderlab.xyz>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: morgmart <98432065+morgmart@users.noreply.github.com>
The list now runs up through the sheet's top gap so its scroll fade ends
at the sheet's edge; its padding keeps the first card in place at rest.

Co-authored-by: Morgarita <6e967af659416160ab4f2fd56d74c8c6f273791ee7bfc9468a1be37c387947be@buzz.block.builderlab.xyz>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: morgmart <98432065+morgmart@users.noreply.github.com>
A selected avatar tile showed the selection fill as a band across its
whole padding. It now draws the same fill as a ring half that width,
right against the artwork, so the avatar keeps its size.

Co-authored-by: Morgarita <6e967af659416160ab4f2fd56d74c8c6f273791ee7bfc9468a1be37c387947be@buzz.block.builderlab.xyz>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: morgmart <98432065+morgmart@users.noreply.github.com>
Shrinking a card at the end of a scrolled list held the scroll position
clamped, so the nav above slid down instead of the edge coming up. The
list now holds blank space at its end while shrinking and lets it go
only as it leaves view. Dragging near the list's edges auto-scrolls with
an eased pace, so a card can grow past what fits.

Co-authored-by: Morgarita <6e967af659416160ab4f2fd56d74c8c6f273791ee7bfc9468a1be37c387947be@buzz.block.builderlab.xyz>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: morgmart <98432065+morgmart@users.noreply.github.com>
Co-authored-by: Morgarita <6e967af659416160ab4f2fd56d74c8c6f273791ee7bfc9468a1be37c387947be@buzz.block.builderlab.xyz>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: morgmart <98432065+morgmart@users.noreply.github.com>
morgmart and others added 14 commits November 30, 2026 12:04
Keeps main's row action menu (one shared menu, row-action attributes,
transform-shifted badges) on this branch's shared sidebar action slot
and its shownSections roster.

Co-authored-by: Morgarita <6e967af659416160ab4f2fd56d74c8c6f273791ee7bfc9468a1be37c387947be@buzz.block.builderlab.xyz>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: morgmart <98432065+morgmart@users.noreply.github.com>
Co-authored-by: Morgarita <6e967af659416160ab4f2fd56d74c8c6f273791ee7bfc9468a1be37c387947be@buzz.block.builderlab.xyz>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: morgmart <98432065+morgmart@users.noreply.github.com>
Co-authored-by: Morgarita <6e967af659416160ab4f2fd56d74c8c6f273791ee7bfc9468a1be37c387947be@buzz.block.builderlab.xyz>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: morgmart <98432065+morgmart@users.noreply.github.com>
Takes main's lasting Mark as unread (#4161). Its message force key is
gone, so reading a Solo chat from Activity ends a whole-chat mark by
reading the chat itself.

Co-authored-by: Morgarita <6e967af659416160ab4f2fd56d74c8c6f273791ee7bfc9468a1be37c387947be@buzz.block.builderlab.xyz>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: morgmart <98432065+morgmart@users.noreply.github.com>
The release timer outlived the card, firing after a test's window was
torn down.

Co-authored-by: Morgarita <6e967af659416160ab4f2fd56d74c8c6f273791ee7bfc9468a1be37c387947be@buzz.block.builderlab.xyz>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: morgmart <98432065+morgmart@users.noreply.github.com>
Co-authored-by: Morgarita <6e967af659416160ab4f2fd56d74c8c6f273791ee7bfc9468a1be37c387947be@buzz.block.builderlab.xyz>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: morgmart <98432065+morgmart@users.noreply.github.com>
* origin/main:
  fix(messages): smooth inline sheet opening (#4580)
  Add plugin breadcrumbs to Solo draft titles (#4163)
  Show thread-title roots as one line in the channel timeline (#4271)
  perf(channels): eliminate per-keystroke roster churn in members dialog (#4563)
  perf(channels): avoid hit-testing, forced layout and linear scans on switch (#4562)
  fix(search): keep people the relay matched by username or handle (#4568)
  perf(ui): animate typing dots without CSS animation events (#4570)
  fix(design-system): run ShimmerText on the compositor (#4518)
  fix(messages): reply to a Send to channel copy in its source thread (#4155)
* origin/main:
  Page artifacts by index membership (#4574)
  fix(messages): show a fourth replier instead of a +1 count (#4460)
  feat(activity): show a row's other unread senders on its avatar (#4461)
  Let distributors offer update channels in Settings (#4576)
  fix(agents): let a hosted agent be removed from Buzz when its provider can't (#4544)

# Conflicts:
#	src/bundled/inbox/InboxRow.tsx
#	src/shared/design-system/ui/AvatarStack.tsx
Logs what receives the wheel above an open inline thread on Linux CI.
Reverted once the cause is known.

Co-authored-by: Morgarita <6e967af659416160ab4f2fd56d74c8c6f273791ee7bfc9468a1be37c387947be@buzz.block.builderlab.xyz>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: morgmart <98432065+morgmart@users.noreply.github.com>
…e chat

The open inline thread is a dialog: its scrim dims the history, so a wheel
there should not scroll it. Chromium on Linux routed that wheel to the
history beneath the fixed scrim, so the scrim now cancels it unless the
sheet lets the history scroll behind it. Also removes the temporary CI probe.

Co-authored-by: Morgarita <6e967af659416160ab4f2fd56d74c8c6f273791ee7bfc9468a1be37c387947be@buzz.block.builderlab.xyz>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: morgmart <98432065+morgmart@users.noreply.github.com>
…s the order

The roster skips activity updates that leave Recent order unchanged, but an
Active filter reads each row's own activity time. A message in a channel that
already led the order left it hidden in a card filtered to recent activity.
Skip that shortcut while any card has an Active filter, as main does, and
cover the same-order case.

Co-authored-by: Carl <c217fe6b9d958f41c3a5e030dccc7f626775a923089cb6491305eade75ea1f1b@buzz.block.builderlab.xyz>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: morgmart <98432065+morgmart@users.noreply.github.com>
Moving a quiet channel into a card filtered to recent activity hid it at
once, and focus fell to an unrelated row. The moved row now stays in its new
card, focused, until focus or the open conversation moves elsewhere (its own
menus and dialogs don't count), then the filter applies. A failed save drops
the exception. Screen readers hear "Moved to <card>."

Co-authored-by: Carl <c217fe6b9d958f41c3a5e030dccc7f626775a923089cb6491305eade75ea1f1b@buzz.block.builderlab.xyz>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: morgmart <98432065+morgmart@users.noreply.github.com>
Four timing gaps in card resize, closed by one rule: decide from the user's
input and the rows' resting places, never from mid-animation geometry.

- Releasing before a frame draws the last move settles where the pointer let
  go, instead of keeping the old size.
- Arrow presses step from the size last committed to, so fast or held presses
  each count during the glide, and presses at either end do nothing.
- Rows sliding in a live reorder count where they land, so a seven-row card
  can't show eight mid-swap.
- Held space at the sidebar's end has one owner: a card going away gives back
  only space its own drag still holds, never another card's.

Co-authored-by: Carl <c217fe6b9d958f41c3a5e030dccc7f626775a923089cb6491305eade75ea1f1b@buzz.block.builderlab.xyz>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: morgmart <98432065+morgmart@users.noreply.github.com>
Every primary page now lists in the Messages sidebar's Plugins card, so
the dock tabs branch, dock ordering and "dock" placement value had no
caller. Replace the placement helper with a yes/no check, and say in the
page API that `placement` is retired but still accepted.

Co-authored-by: Carl <c217fe6b9d958f41c3a5e030dccc7f626775a923089cb6491305eade75ea1f1b@buzz.block.builderlab.xyz>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: morgmart <98432065+morgmart@users.noreply.github.com>

@baxen baxen left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤖 One finding.

  • [P2] ⌥↓ / ⌥⇧↓ can't reach conversations past a card's edge

Lenses: correctness & security, product & UX. The systems & reliability lane didn't report in time and is not covered. Lane findings were retraced at head 00b1196.

morgmart and others added 7 commits November 30, 2026 18:46
At 200% text the sidebar stayed 260px wide, so a working, shared Solo
chat had no room left for its name. Saved widths stay in 100%-text
pixels and are drawn scaled by larger text: a width saved at 100% is
proportionally wider at 200% and restored exactly back at 100%. The
scaled minimum still yields to the conversation's minimum, and the
narrow-window drawer grows up to the window's edge. Row titles also
keep a three-character floor.

Co-authored-by: Carl <c217fe6b9d958f41c3a5e030dccc7f626775a923089cb6491305eade75ea1f1b@buzz.block.builderlab.xyz>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: morgmart <98432065+morgmart@users.noreply.github.com>
Rows past a card's edge are inert to keep focus out, and the row walk
skipped every inert row, so Option+Down jumped from a card's last shown
row to the next card and Option+Shift+Down missed needs-you rows the
card's unread pill still counted. The walk now skips only collapsed
sections and hidden panes. Opening a clipped row already pins it under
the edge and releases it when another opens; stepping scrolls to where
it pins.

Co-authored-by: Carl <c217fe6b9d958f41c3a5e030dccc7f626775a923089cb6491305eade75ea1f1b@buzz.block.builderlab.xyz>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: morgmart <98432065+morgmart@users.noreply.github.com>
* origin/main:
  feat(messages): open your agent's latest details message by default (#4590)
  perf(deps): Avoid stack capture on successful Cordis service reads (#4589)
  build(hermit): drop the local node override and pin Node.js 24.22.3 from the public catalog (#3589)
  feat(goose): refresh a provider's models when its model picker opens (#4252)
  fix(messages): show a details message's attachments in its expanded view (#4459)
  fix(composer): leave ⌘K to Search when Select All covers no text (#4587)
  perf(messages): batch initial overflow and media corner layout reads (#4564)
  fix(docs): identify document links in chat (#4585)
  test(browser): settle the timeline before the narrow membership hover (#4462)
  fix(docs): separate bundled and external plugin IDs (#4582)

# Conflicts:
#	docs/buzz-help.md
With a row already pinned under a card's edge, the next clipped row
takes that place rather than a row lower, so scroll to the pin.

Co-authored-by: Carl <c217fe6b9d958f41c3a5e030dccc7f626775a923089cb6491305eade75ea1f1b@buzz.block.builderlab.xyz>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: morgmart <98432065+morgmart@users.noreply.github.com>
Growing the sidebar with larger text squeezed the conversation when a
thread or side panel was open, and drew widths people had already saved
at larger text up to twice as wide. The sidebar keeps its own widths
again; rows keep a three-character title floor, and the next commit
gives Solo rows the room they need.

Co-authored-by: Carl <c217fe6b9d958f41c3a5e030dccc7f626775a923089cb6491305eade75ea1f1b@buzz.block.builderlab.xyz>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: morgmart <98432065+morgmart@users.noreply.github.com>
A shared Solo row showed the Shared icon beside the revealed menu, so at
200% text a working, shared chat had no room left for its name. Shared is
now a mark, not a control: working takes its place, and the revealed menu
covers its slot, so a Solo row shows one trailing occupant like a channel.
Sharing opens from the row's menu or the chat's header.

Co-authored-by: Carl <c217fe6b9d958f41c3a5e030dccc7f626775a923089cb6491305eade75ea1f1b@buzz.block.builderlab.xyz>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: morgmart <98432065+morgmart@users.noreply.github.com>
Closing the share dialog returns focus to the row, which reveals its menu.
Focusing the body does not move focus, so blur the active element instead.

Co-authored-by: Carl <c217fe6b9d958f41c3a5e030dccc7f626775a923089cb6491305eade75ea1f1b@buzz.block.builderlab.xyz>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: morgmart <98432065+morgmart@users.noreply.github.com>

This branch has not been deployed

No deployments
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.

5 participants