Skip to content

fix: sidebar spinners stay left in ungrouped session lists - #185264

Merged
roboclaw-bot merged 2 commits into
mainfrom
openclaw/sidebar-spinner-all-layouts-20261027
Oct 27, 2026
Merged

roboclaw-bot merged 2 commits into
mainfrom
openclaw/sidebar-spinner-all-layouts-20261027

Conversation

@roboclaw-bot

@roboclaw-bot roboclaw-bot commented Oct 27, 2026 •

Copy link
Copy Markdown
Collaborator

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

  • Original-source negative control fails both uncovered desktop groupings at the intended geometry assertion: indicator left 72px versus text right 293px (10.21s wall).
  • Corrected production-bundle geometry proof: 6 passed at 1200px and 390px across None, Custom groups, and Person; includes hover/focus, child controls/title width, unread state, and pinning. 46.80s wall / 44.95s Vitest, including 26.83s build. All six fail the child-width assertion with the earlier candidate's CSS (36.23s wall).
  • Child-title width restored from 75 to 125px on desktop hover and from 94 to 140px in the mobile drawer; no double charge for in-flow child actions. Standalone state remains at the fixed far-right edge.
  • Exact CI UI-E2E typecheck leaf passed locally (4.94s), as did UI production typechecking (2.13s), after a task-owned physical frozen installation. The first CI run caught two fixture rows missing their category field; explicit empty categories fix the type contract while preserving nested-child semantics. No shared install was modified.
  • Retained unaffected proof: owner-stack/draft sibling browser checks and 21 renderer tests passed (6.81s renderer wall). Targeted lint, stylelint, formatting, and git diff --check passed.
  • Fresh independent review verified the child-width and fixture-typing corrections; both prior-index findings were resolved in the committed candidate. Hosted CI is green for 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).
  • Screenshots use the real running Control UI with synthetic mocked Gateway data, not a live Team deployment. Existing root-row captures remain valid; the correction only changes child overlay padding.
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=1

My sessions — Before

Before: standalone activity and unread state occupy the leading slot

My sessions — After

After: standalone activity and unread state remain at the far right

Custom-grouped context

Before

Before: custom-grouped activity occupies the leading slot

After

After: custom-grouped activity remains at the far right

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

Before correction: child title loses width twice on desktop hover

Desktop — After correction

After correction: desktop child title retains its available width

Mobile — Before correction

Before correction: child title loses width twice in the mobile drawer

Mobile — After correction

After correction: mobile child title retains its available width

Work sessions

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]>
@clawsweeper

clawsweeper Bot commented Oct 27, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation app: web-ui App: web-ui size: S labels Oct 27, 2026
@roboclaw-bot
roboclaw-bot marked this pull request as ready for review October 27, 2026 00:47
@roboclaw-bot

Copy link
Copy Markdown
Collaborator Author

@clawsweeper review

@clawsweeper

clawsweeper Bot commented Oct 27, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@clawsweeper clawsweeper Bot added clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. P2 Normal backlog priority with limited blast radius. proof: sufficient ClawSweeper judged the real behavior proof convincing. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. and removed clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. labels Oct 27, 2026
@clawsweeper

clawsweeper Bot commented Oct 27, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge.

What this changes

This 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.

  • Before: The spinner appears before the session title.
  • After: The spinner stays at the far-right edge after row controls.

Review scores

Measure Result What it means
Overall readiness 🦞 diamond lobster (5/6) Focused implementation, inspected visual proof, passing checks, and resolution of the previous finding support merge readiness.
Proof confidence 🦞 diamond lobster (5/6) ✨ media proof bonus Sufficient (screenshot): Inspected screenshots show the running Control UI with synthetic Gateway data moving standalone indicators right in None and Custom groups and restoring child-title width on desktop and mobile; supplied production-bundle results cover Person, hover, focus, child controls, unread state, and pinning.
Patch quality 🦞 diamond lobster (5/6) No actionable review findings were identified.

Product

Kind: Bug fix · Worth it: Yes · Fix scope: Complete
User problem: Standalone activity and unread indicators appear before titles in ungrouped and custom-grouped session lists.
Reason: The maintainer-authored direction delivers consistent state placement while preserving leading artwork and compact team layout.

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
Reviewed head: 0cece7b706969cc1d75b0b0dd03ec3561917cf5b

Before merge

None.

Findings

None.

Agent review details

How this fits together

The 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]
Loading

Technical review

Best 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

  • Fixed trailing activity placement changes intended behavior with a stated reason (e2b9aba: Keep single-owner activity after hover actions and child toggles.)
  • Title alignment and overlay-action reserves keeps the original intent (6b16cf6: Align headerless owner titles and reserve overlaid actions without hiding status.)
  • Retained glyph content keeps the original intent (661514f: Keep artwork mounted through live updates while preserving glyph visibility and explicit-false icon suppression.)
  • Indicator composition keeps the original intent (e5e063e: Consume existing indicator derivations directly without redundant presentation layers.)

Testing

Proof path: shipped entry point.

Security

None.

Evidence

What I checked:

PR surface

Source +18, Tests +91, Docs +3. Total +112 across 5 files. Added test files: 0.

View PR surface stats
Area Files Added Removed Net
Source 3 44 26 +18
Tests 1 101 10 +91
Docs 1 5 2 +3
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 5 150 38 +112

Labels

Label changes:

  • add rating: 🦞 diamond lobster: Overall readiness is 🦞 diamond lobster; proof is 🦞 diamond lobster and patch quality is 🦞 diamond lobster.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.
  • remove rating: 🦐 gold shrimp: Current PR rating is rating: 🦞 diamond lobster, so this older rating label is no longer current.
  • remove status: ⏳ waiting on author: Current PR status label is status: 👀 ready for maintainer look.

Label justifications:

  • P2: This fixes a visible sidebar layout defect with limited user impact.
  • rating: 🦞 diamond lobster: Overall readiness is 🦞 diamond lobster; proof is 🦞 diamond lobster and patch quality is 🦞 diamond lobster.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.
  • proof: sufficient: Contributor real behavior proof is sufficient.
  • proof: 📸 screenshot: Contributor real behavior proof includes screenshot evidence.

Rating scale

6/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.

Workflow

ClawSweeper edits this one comment on every review. Comment @clawsweeper re-review for a fresh review only. Repair and merge execution lanes are retired.

History

Review history (1 earlier review cycle)
  • reviewed 2026-10-27T00:55:04.794Z sha 8a490fc :: needs changes before merge. :: [P2] Exclude child links from overlay-action padding

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]>
@roboclaw-bot

Copy link
Copy Markdown
Collaborator Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Oct 27, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@clawsweeper clawsweeper Bot added clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. rating: 🦞 diamond lobster Very strong PR readiness with only minor maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. labels Oct 27, 2026
@clawsweeper clawsweeper Bot removed clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. labels Oct 27, 2026
@roboclaw-bot
roboclaw-bot merged commit e2b195b into main Oct 27, 2026
116 checks passed
@roboclaw-bot
roboclaw-bot deleted the openclaw/sidebar-spinner-all-layouts-20261027 branch October 27, 2026 01:29
@roboclaw-bot

Copy link
Copy Markdown
Collaborator Author

Merged via squash.

steipete added a commit that referenced this pull request Oct 27, 2026
)

#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.
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 27, 2026
…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]>
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 27, 2026
…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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

app: web-ui App: web-ui docs Improvements or additions to documentation P2 Normal backlog priority with limited blast radius. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🦞 diamond lobster Very strong PR readiness with only minor maintainer review expected. size: S status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant