Repository navigation
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. |
|
Landing review for head No blocking findings. The sidebar layout owner now trades unread/PR glyph tracks for hover/focus action space on single-line non-child rows, restoring them afterward without changing unread or PR state. Current-main comparison preserves the consolidated PR badge renderer. Running indicators, other badges, two-line metadata, and child rows keep their existing paths. Best-fix verdict: shared CSS is the appropriate owner. Opacity would retain the occupied width; permanent action reservation would shrink resting titles; pointer handlers would duplicate CSS state. Production +12/-0 CSS; tests +64/-3. The added CSS implements the requested visual behavior without new state, configuration, dependency, or runtime paths. Validation:
The PR body contains inspected resting/hover screenshots from the real compiled Control UI with a mocked Gateway. A standalone isolated Gateway attempt hit its normal Connect a verified AI model gate before it could create conversation rows, so this is not claimed as live Gateway/provider proof. The temporary Gateway/browser were stopped. Latest ClawSweeper review (#132415 (comment)) has no actionable correctness/security findings. Its next step is normal maintainer exact-head landing checks; those are complete, including native |
|
Codex review: needs maintainer review before merge. Reviewed August 29, 2026, 2:03 AM ET / 06:03 UTC. ClawSweeper reviewWhat this changesThe PR hides unread and pull-request indicators while single-line sidebar rows show hover or keyboard-focus actions, giving session titles more room. Merge readinessKeep this fresh maintainer PR open: current main still reserves hover-action width without collapsing the unread or pull-request tracks, while the introduced CSS applies the requested owner-local presentation change. No blocking correctness or security defect was found. Priority: P3 Review scores
Verification
How this fits togetherThe Control UI renders Gateway session state into sidebar rows, including unread, pull-request, running, and action indicators. The changed stylesheet governs how those indicators share space when row actions become visible. flowchart LR
A[Gateway session data] --> B[Sidebar row renderer]
C[Pull-request summary] --> D[Shared row badges]
B --> E[Unread and running state]
D --> F[Sidebar row layout]
E --> F
G[Hover or keyboard focus] --> H[Session actions]
H --> F
F --> I[Visible title and indicators]
Before merge
Agent review detailsSecurityNone. PR surfaceSource +12, Tests +61. Total +73 across 3 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. Technical reviewBest possible solution: Land the owner-local CSS refinement through normal maintainer gates; it reclaims layout space without adding state, configuration, or a parallel rendering path. Do we have a high-confidence way to reproduce the issue? Yes, from source: current main reserves action width while retaining the unread/PR tracks, and the added browser assertions that wait for those tracks to become hidden would fail without the introduced selector. Is this the best way to solve the issue? Yes. The stylesheet owns both the action-space reservation and visual layout, so a narrow CSS rule avoids unnecessary JavaScript state or renderer changes. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against aa4e4be7a027. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
|
|
Merged via squash.
|
#132415 landed in parallel using the sidebar dashboard badge as its stable trailing icon; with row badges removed, the only-unread-track- collapses invariant stays covered by the busy-row endcap opacity poll.
…ssion hovercard (#132388) * improve(ui): move sidebar dashboard and automation badges into the session hovercard Session rows and the Home nav item no longer render the always-visible 'dashboard available' grid badge or the 'automation attached' clock; both facts now appear as metadata rows in the session hovercard, sourced from the row-borne boardFace and hasAutomation fields. This deletes the BoardAvailabilityController probe fleet (a board.get RPC per visible sidebar session with event resubscription and retry backoff) plus the boardAvailability cache — the hovercard reads recorded facts instead of client-side probing. Attention/state badges (approval, attention, PR, cloud placement, disk, incognito, draft) and the child-session expand toggle are unchanged. Startup JS drops below the committed baseline; boot manifest regenerated; assertion-safety baseline shrinks by the deleted file's entry. # Conflicts: # ui/src/e2e/chat-flow.sidebar-presentation.e2e.test.ts * improve(ui): label the hovercard dashboard fact as the recorded preference 'Opens as dashboard' states the persisted boardFace fact directly instead of claiming board existence, which boardFace does not prove (review finding: a populated board switched to chat face would lose the old 'available' claim while an empty dashboard-face session gained it). * test(ui): adapt title-shift e2e to the badge-less endcap #132415 landed in parallel using the sidebar dashboard badge as its stable trailing icon; with row badges removed, the only-unread-track- collapses invariant stays covered by the busy-row endcap opacity poll.
…ssion hovercard (openclaw#132388) * improve(ui): move sidebar dashboard and automation badges into the session hovercard Session rows and the Home nav item no longer render the always-visible 'dashboard available' grid badge or the 'automation attached' clock; both facts now appear as metadata rows in the session hovercard, sourced from the row-borne boardFace and hasAutomation fields. This deletes the BoardAvailabilityController probe fleet (a board.get RPC per visible sidebar session with event resubscription and retry backoff) plus the boardAvailability cache — the hovercard reads recorded facts instead of client-side probing. Attention/state badges (approval, attention, PR, cloud placement, disk, incognito, draft) and the child-session expand toggle are unchanged. Startup JS drops below the committed baseline; boot manifest regenerated; assertion-safety baseline shrinks by the deleted file's entry. # Conflicts: # ui/src/e2e/chat-flow.sidebar-presentation.e2e.test.ts * improve(ui): label the hovercard dashboard fact as the recorded preference 'Opens as dashboard' states the persisted boardFace fact directly instead of claiming board existence, which boardFace does not prove (review finding: a populated board switched to chat face would lose the old 'available' claim while an empty dashboard-face session gained it). * test(ui): adapt title-shift e2e to the badge-less endcap openclaw#132415 landed in parallel using the sidebar dashboard badge as its stable trailing icon; with row badges removed, the only-unread-track- collapses invariant stays covered by the busy-row endcap opacity poll.
Closes #132401
What Problem This Solves
Resolves a problem where hovering or keyboard-focusing a single-line sidebar session squeezed its title more than necessary: the unread and pull-request icons kept consuming space while pin/menu actions appeared.
Why This Change Was Made
Temporarily collapse unread/PR icons and their otherwise-empty layout containers at the existing sidebar hover/focus boundary. Reuse the canonical badge renderer and CSS; no new JavaScript state, dependency, or setting.
User Impact
Single-line session titles keep more room when actions appear. Icons return afterward without marking the session read. Running/attention indicators, other badges, two-line rows, and child rows retain their existing behavior.
Evidence
chat-flow.sidebar-presentation.e2e.test.tsandsession-management.trailing-state.e2e.test.tson the refreshed branch. Command:OPENCLAW_CAPTURE_UI_PROOF=1 node scripts/run-vitest.mjs run --config test/vitest/vitest.ui-e2e.config.ts --configLoader runner ui/src/e2e/chat-flow.sidebar-presentation.e2e.test.ts ui/src/e2e/session-management.trailing-state.e2e.test.ts.node scripts/ui.js build. Branch and rebase-adaptation autoreview passes both returned no accepted/actionable findings.-t 'keeps session titles on the first line|aligns trailing unread dots'. The changed-check run initially hit stale local dependencies (@types/jsdommissing);pnpm install --frozen-lockfilerepaired the install without source changes. The remaining core/UI types, targeted oxlint, and stylelint commands then passed. Exact-head CI also passed: https://github.com/openclaw/openclaw/actions/runs/33237186869.Resting row
Hovered row
AI-assisted. Requested and reviewed as a small Control UI presentation improvement; no configuration, protocol, provider, persistence, or security-boundary changes.