Repository navigation
improve: simplify session hovercard attribution - #134636
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. |
|
Codex review: needs changes before merge. Reviewed September 1, 2026, 12:39 AM ET / 04:39 UTC. ClawSweeper reviewWhat this changesThis PR condenses Control UI session hovercards, adds compact attribution and an Agent Notepad, and makes portaled hovercards stay open briefly while the pointer crosses to the card. Regression provenancePossible regression — suspected (reviewed change). No predecessor PR is attributed. Merge readinessKeep this PR open: the previous P1 remains on the exact head. The new compact hovercard can show a running spinner after its session has finished, failed, timed out, or been killed. Priority: P2 Review scores
Verification
How this fits togetherGateway-backed session rows feed the Control UI hovercard with session identity, lifecycle state, pull-request facts, and progress-card content. The hovercard turns those facts into a compact interactive summary for sidebar and session-link users. flowchart LR
A[Gateway session row] --> B[Hovercard runtime]
C[Progress card] --> B
B --> D[Compact progress summary]
D --> E[Terminal state decision]
E --> F[Hovercard status icon]
B --> G[Attribution and links]
Before merge
Findings
Agent review detailsSecurityNone. PR surfaceSource +72, Tests +46, Docs 0. Total +118 across 14 files. View PR surface stats
Review metrics
Merge-risk optionsMaintainer options:
Copy recommended automerge instructionTechnical reviewBest possible solution: Pass the canonical terminal outcome into the compact heads-up (or reuse the existing progress projection), preserving its run-window guard and covering every terminal outcome. Do we have a high-confidence way to reproduce the issue? Yes, from source: render an in-progress progress-card step with a row status of done, failed, timeout, or killed; the compact path renders an active spinner rather than terminal presentation. Is this the best way to solve the issue? No. The compact path bypasses the existing lifecycle-aware progress renderer; it should carry the canonical terminal decision into the new projection rather than infer activity from the saved step alone. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 84648e8c32b6. LabelsLabel justifications:
EvidenceAcceptance criteria:
What 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 (4 earlier review cycles)
|
dd311cd to
26f0a36
Compare
* improve: simplify session hovercard attribution * improve(ui): streamline session hovercard details * fix(ui): hide stale hovercard plan after terminal runs
What Problem This Solves
The session hovercard repeated update times, separated attribution from the title, overfilled the card with repository/checklist details, and could disappear while the pointer crossed from the sidebar row into the portaled card.
Why This Change Was Made
The hovercard now keeps one compact age in the header, places attribution directly below the title, and renders multiple participants as an overlapping facepile with the primary author plus an “& N others” summary.
The detail area has no horizontal section dividers. It shows the workspace and only the current-or-next plan step with a completed/total count. Terminal sessions hide stale unfinished steps. Repository details are reduced to the first gateway-ordered PR title plus additions/deletions, with at most one visible PR and a
+ N moresummary. Author, branch, changed-file count, and progress-update time are omitted.Markdown is isolated in an
Agent Notepadsection. Progress bars are pinned above the note with a visible/accessibility label; theprogress_cardtool description and public docs now teach the same labeled-first format. The shared portaled-hovercard controller gives every genuine trigger departure enough time to cross the gap, while card entry still cancels closure.The UI consumes existing creator, participant, PR, and progress-card data. No protocol, persistence, configuration, or SQLite surface changes.
User Impact
Session hovercards are shorter and easier to scan, use compact ages such as
48mand3d, expose the most relevant work without duplicating the full checklist, and remain interactive when the pointer moves onto links inside the card.Evidence
Exact-head mocked-Gateway proof covers the compact layout, one-PR overflow, title ellipsis/accessibility, plan-only/Markdown-only/combined states, sanitized and labeled progress, real pointer bridging, and clicking the PR row.
session-progress-hovercard.e2e.test.ts: 8/8 passedprogress-card-tool.test.ts: 7/7 passedpnpm ui:buildpassedJudged LOC across the PR: production +482/-403 (net +79); tests +298/-235 (net +63); docs net 0. Production growth provides the attribution/heads-up presentation, sanitized progress promotion with accessible labeling, and the shared portal-interaction repair.