Repository navigation
improve(ui): refine Activity at phone width - #190393
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Codex review: needs changes before merge. What this changesThis PR compacts Activity controls and rearranges session cards at phone widths. Example: Open Activity at a 390px viewport.
Review scores
ProductKind: Preference · Worth it: Yes · Fix scope: Complete Merge readiness⛔ Needs changes before merge - 3 items remain Keep open: this maintainer-authored PR improves phone usability, but the missing menu translation, overflowing person names, and CSS budget failure need correction. Priority: P3 Before merge
Findings
Tests
Agent review detailsHow this fits togetherThe Control UI Activity views turn Gateway session, presence, recap, and tool-event data into filterable session cards and a live activity stream. flowchart TD
A[Gateway session and presence data] --> B[Activity page owner]
C[Live tool events] --> B
B --> D[Session feed renderer]
B --> E[Live activity renderer]
D --> F[Responsive cards and filters]
E --> G[Filter popover and actions menu]
Technical reviewBest possible solution: Retain the compact phone design, correct menu localization and person-name clipping, and reduce CSS growth to the enforced allowance. Do we have a high-confidence way to reproduce the issue? The supplied before screenshots establish the cramped phone layout, and source inspection establishes the missing translation and overflow paths; no target code was executed. Is this the best way to solve the issue? The existing media-query, Popover, Menu, and Activity owners are appropriate; the extracted row replaces its original implementation and is justified by the documented file-size constraint. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 49600b5cf8f3. Provenance checked
TestingProof path: shipped entry point. SecurityNone. EvidenceAcceptance criteria:
What I checked:
PR surfaceSource +318, Tests +263. Total +581 across 8 files. Added test files: 0. View PR surface stats
LabelsLabel changes:
Label justifications:
Rating scale6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior. WorkflowClawSweeper edits this one comment on every review. Comment Reviewed November 1, 2026, 9:56 AM ET / 14:56 UTC. |
Removed new cosmetic test assertions while retaining filtering, navigation, full identity access, expansion/clearing, retry and content-position coverage. Twenty-three unit/browser tests and three Activity feed E2Es passed, as did the test typecheck and touched checks. The full own-diff source review found no blocking issues. CI41447765451 retains the authorized budget exception: CSS+451B gzip/+3257B raw and chat boot JS+513B. All other planned jobs passed.
What Problem This Solves
At phone width the Activity page spends most of the first screen on controls. On Sessions, search and the person filter sit on separate rows and an empty 33px gap holds the feed down. The session row breaks: titles and agent names truncate after a few characters, the person and time drop to a stray line, and Inspect run floats mid-row. On Live activity, three header buttons crowd the section title, the toolbar takes 135px because the filter button wraps to its own row, and Active sessions scrolls inside a capped card that cuts a row at its edge.
User Impact
Phone only. Desktop is unchanged.
Why This Change Was Made
Every control stays reachable, and no copy or features are added.
The session row moved to
session-activity-row.tsxto stay under the file line cap.Evidence
Mock data layer at 390px with real clicks. A local fixture patch, not part of this change, supplied the Live tool events, the people list, the recaps, the second running session, and the fictional names shown here (the repo fixture's own names are replaced in these images). This PR branches from main, so images show today's top bar until the header PR lands.
Local checks: oxfmt, stylelint, oxlint,
ui:i18n:verify, the Control UI controller guard andtsgo:uipass, as do the Activity page tests and the Activity browser flows. At 1280px, the desktop Sessions content area is pixel-identical to main.ui:check-performance:basereports the total CSS budget: main is already over the raw and gzip caps, and this change adds to both.Integration validation
Removed new cosmetic test assertions while retaining filtering, navigation, full identity access, expansion/clearing, retry and content-position coverage. Twenty-three unit/browser tests and three Activity feed E2Es passed, as did the test typecheck and touched checks. The full own-diff source review found no blocking issues. The existing captures document the approved original revision.
CI 41447765451 is not green: CSS increased by 451 bytes gzip and 3257 bytes raw; chat boot JavaScript increased by 513 bytes. The measured budget failures use the authorized exception while preserving the approved design. All other planned jobs passed.