Repository navigation
fix: sidebar spinners stay left in ungrouped session lists - #185264
Conversation
Use rendered artwork classification instead of Person grouping to place standalone state after row actions and child controls. Co-authored-by: Patrick-Erichsen <[email protected]>
|
🦞👀 Pull request received. I will update this pull request when review starts. |
|
@clawsweeper review |
|
🦞👀 Re-review progress:
|
|
Codex review: needs maintainer review before merge. What this changesThis PR keeps standalone sidebar activity and unread indicators at the right edge across session groupings. Example: My sessions uses Group by None and contains Review running session.
Review scores
ProductKind: Bug fix · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review This PR is ready: the previous child-title finding is resolved, and no new actionable defects were found. Priority: P2 Before mergeNone. FindingsNone. Agent review detailsHow this fits togetherThe Control UI derives artwork and activity from Gateway session facts, renders sidebar rows, and positions their titles, indicators, and controls through shared CSS. flowchart LR
A[Gateway session facts] --> B[Sidebar session projection]
B --> C[Session presentation]
C --> D[Artwork classification]
D --> E[Sidebar row]
E --> F[Shared layout CSS]
Technical reviewBest possible solution: Land the existing artwork-based placement fix with child actions retaining their in-flow spacing. Do we have a high-confidence way to reproduce the issue? Current-main CSS restricts trailing placement to headerless Person rows, matching the supplied negative controls and before screenshots for None and Custom groups. Is this the best way to solve the issue? The patch uses the existing artwork classification and shared layout owner, removes the grouping-dependent placement path, and preserves child-row geometry. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against f31b33fdeee7. Provenance checked
TestingProof path: shipped entry point. SecurityNone. EvidenceWhat I checked:
PR surfaceSource +18, Tests +91, Docs +3. Total +112 across 5 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 HistoryReview history (1 earlier review cycle)
Reviewed October 26, 2026, 9:27 PM ET / October 27, 2026, 01:27 UTC (Revision 2). |
Exclude in-flow child actions from overlay padding and keep uncategorized test fixtures type-safe. Co-authored-by: Patrick-Erichsen <[email protected]>
|
@clawsweeper re-review |
|
🦞👀 Re-review progress:
|
|
Merged via squash.
|
) #185264 (sidebar spinners stay left in ungrouped session lists) applied the state-only indicator class to every row without team/content, which moved leading indicators out of the lead column and widened RTL titles past their boundary; main's sidebar-presentation e2e failed two cases (RTL title boundary 1184 <= 1164, unread lead 273 <= 100). The state-only class now applies only when the owner is repeated by the active filter, restoring leading indicators and RTL title geometry while preserving filtered-owner trailing activity. Assertions unchanged; parent/main/fixed screenshots inspected. Production +3 LOC. 171 focused tests, 6/6 sidebar-presentation e2e cases, 6/6 filtered-owner scenarios; exact-head CI green including native e2e; autoreview clean through P2. Release-note context: Control UI sidebar unread/status indicators and RTL titles render in their original positions again.
…185264) * fix: keep standalone sidebar activity at the far right Use rendered artwork classification instead of Person grouping to place standalone state after row actions and child controls. Co-authored-by: Patrick-Erichsen <[email protected]> * fix: preserve nested sidebar title width Exclude in-flow child actions from overlay padding and keep uncategorized test fixtures type-safe. Co-authored-by: Patrick-Erichsen <[email protected]> --------- Co-authored-by: Patrick-Erichsen <[email protected]>
…claw#185324) openclaw#185264 (sidebar spinners stay left in ungrouped session lists) applied the state-only indicator class to every row without team/content, which moved leading indicators out of the lead column and widened RTL titles past their boundary; main's sidebar-presentation e2e failed two cases (RTL title boundary 1184 <= 1164, unread lead 273 <= 100). The state-only class now applies only when the owner is repeated by the active filter, restoring leading indicators and RTL title geometry while preserving filtered-owner trailing activity. Assertions unchanged; parent/main/fixed screenshots inspected. Production +3 LOC. 171 focused tests, 6/6 sidebar-presentation e2e cases, 6/6 filtered-owner scenarios; exact-head CI green including native e2e; autoreview clean through P2. Release-note context: Control UI sidebar unread/status indicators and RTL titles render in their original positions again.
What Problem This Solves
Fixes standalone sidebar activity spinners staying on the left when My sessions uses an ungrouped or custom-grouped list.
User Impact
Standalone activity and unread indicators stay at the far right across native grouped, ungrouped, pinned, and child rows, including hover, keyboard focus, and mobile actions. Owner avatars and session artwork keep their existing leading attribution and activity rings; team mode keeps its compact status layout. No configuration changes.
Why This Change Was Made
The previous fix depended on a headerless Person section. Placement now uses the existing presentation owner’s artwork classification instead of grouping, with one fixed trailing state slot after row actions and child controls.
Evidence
0cece7b706969cc1d75b0b0dd03ec3561917cf5b. The UI E2E job took 119 CI seconds and the core test-types job took 90 CI seconds (job wall times include setup; per-file hosted timings were not collected).Focused verification commands
node scripts/run-tsgo.mjs -p test/tsconfig/tsconfig.core.test.ui-e2e.json node scripts/run-tsgo.mjs -p tsconfig.ui.json node scripts/run-vitest.mjs run --config test/vitest/vitest.ui-e2e.config.ts --configLoader runner ui/src/e2e/session-ownership.e2e.test.ts -t 'activity last' --maxWorkers=1My sessions — Before
My sessions — After
Custom-grouped context
Before
After
Child-title spacing correction — desktop and mobile
Review follow-up: child actions already occupy normal flow, so only root links reserve overlay-action padding. The earlier candidate unnecessarily clipped child titles; the corrected state keeps their width and the far-right indicator.
Desktop — Before correction
Desktop — After correction
Mobile — Before correction
Mobile — After correction
Work sessions