Repository navigation
feat(ui): add session hovercards - #125068
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. |
|
Codex review: needs maintainer review before merge. Reviewed August 22, 2026, 11:54 PM ET / August 23, 2026, 03:54 UTC. ClawSweeper reviewWhat this changesThe PR enriches Control UI session hovercards with session, workspace, participant, pull-request, and progress details across regular and catalog sidebar rows. Merge readinessKeep open for maintainer landing judgment. The branch adds meaningful richer context beyond current main’s basic hovercard, with no concrete correctness finding; its exact-head UI check is still in progress. Priority: P2 Review scores
Verification
Live VerificationCommand: Result: FAIL (partial) — step 2 Assertions:
How this fits togetherGateway session and catalog data become Control UI sidebar rows, then a shared portal presents additional context on pointer or keyboard focus. The hovercard also subscribes to progress and pull-request updates while it is open. flowchart LR
A[Gateway sessions] --> C[Sidebar row lookup]
B[Catalog sessions] --> C
C --> D[Hovercard provider]
D --> E[Progress and pull request updates]
D --> F[Pointer and keyboard rules]
E --> G[Session context card]
F --> G
Decision needed
Why: This is a substantial user-facing feature on a maintainer-labeled PR; source review finds no mechanical blocker, but design acceptance and landing remain maintainer choices. Before merge
Agent review detailsSecurityNone. PR surfaceSource +979, Tests +693. Total +1672 across 24 files. View PR surface stats
Review metrics
Stored data modelPersistent data-model change detected: Root-cause clusterRelationship: Members:
Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything. Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Accept the richer hovercard design only with Control UI sponsorship, then land this shared sidebar implementation after the current-head checks are green. Do we have a high-confidence way to reproduce the issue? Not applicable as a bug reproduction: the PR supplies focused browser coverage and screenshots for the proposed hovercard behavior. Is this the best way to solve the issue? Yes, technically: the branch reuses the existing hovercard owner and routes regular, lineage, and catalog rows through one lookup; the remaining question is whether maintainers want this richer UX scope. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against af9a23066484. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (9 earlier review cycles; latest 8 shown)
|
Visual UI proof blockedNo screenshot is attached because neither the exact head Focused command: Build error: The branch must export that contract or stop importing it before honest light/dark desktop/mobile proof can be produced. |
7359460 to
fbf5a35
Compare
127e3de to
98ea1a8
Compare
Visual evidenceExact head: Focused validation:
Dark — project, branch, PR metrics, and all three plan statesGreen check = completed · muted spinner = in progress · muted clock = pending. Dark — no authoritative project, workspace, or PR contextThe metadata rows are omitted; creator and last-message context remain. Light — project, branch, PR metrics, and all three plan statesThe same status hierarchy and aligned 14px glyph column remain legible on the light palette. Light — no authoritative project, workspace, or PR contextThe same omission contract holds in light mode. |
|
Closeout proof for Before ( After (PR head): the same attention matrix plus the richer bounded hovercard and its 1/3 → 2/3 refresh. Verified locally:
ClawSweeper follow-through: the UI direction is approved for this closeout. The optional rebase was intentionally skipped because this lane must preserve the existing commit history; the exact-head E2E and clean merge-tree/build proof above cover the requested current-main validation without rewriting the stack. |
baf5e08 to
0191a65
Compare
|
Merged via squash.
|
* feat(ui): add session hovercards * fix(ui): polish session hovercards * fix(ui): rearm focused session hovercards * fix(ui): suppress hovercards across session menus * fix(ui): preserve hovercard focus on refresh * fix(ui): restore focus after hovercard refresh * fix(ui): distinguish pending plan steps * fix(ui): spin active plan steps * fix(ui): mute active plan spinner * fix(ui): align plan status glyphs * chore(ui): tighten session hovercard implementation * perf(ui): keep hovercard age formatting lazy * test(ui): drop non-regressing hovercard marker case






What Problem This Solves
The baseline session hovercard exposes too little context to distinguish similar sessions or understand active work without navigating away. Catalog-backed sessions also need the same session, repository, pull-request, participant, and progress facts as regular sidebar rows.
This replaces the earlier stacked exploration in #123594 with one self-contained Control UI change against
main.Why This Change Was Made
User Impact
Hovering or focusing a session now shows a bounded card with its title and age, creator/participants, workspace or repository branch, up to four pull requests with state/check/diff facts, and current progress or latest-turn context. Catalog sessions use the same presentation.
Opening a session menu closes and suppresses the card, keyboard focus remains recoverable, and the card stays viewport-contained. Touch navigation continues to use the mobile sidebar drawer without introducing hover-only behavior.
Evidence
baf5e085ff429d48dae818278bebf8f2b6a32a5c3e0ee38c06e628b8468b6999fe3f655398dcd4dbnode scripts/check-changed.mjs: passed (structural guards, formatting, dead exports, i18n, test/UI typechecks, lint, and styles).889639067c7181bb6452410859bc00e3f03aa31f.345531 Bgzip, below the345561 Blimit.+1237/-258(net+979); tests+750/-57(net+693); total+1987/-315across 24 files.Visual direction was approved for this closeout. The optional rebase was skipped to preserve the existing history as requested; focused exact-head validation and a clean merge-tree/build check against current
maincover the integration risk for the lander.