Skip to content

improve(ui): trail transient session status beside row actions - #119560

Merged
fuller-stack-dev merged 6 commits into
openclaw:mainfrom
fuller-stack-dev:codex/fix-control-ui-active-status-layout-20260805
Aug 5, 2026
Merged

fuller-stack-dev merged 6 commits into
openclaw:mainfrom
fuller-stack-dev:codex/fix-control-ui-active-status-layout-20260805

Conversation

@fuller-stack-dev

@fuller-stack-dev fuller-stack-dev commented Aug 5, 2026 •

Copy link
Copy Markdown
Member

What Problem This Solves

Transient thread state in the Control UI sidebar competed with the thread title and row-management actions. Active rows could keep their spinner visible while hovered, obscuring the Pin and More controls, and compact turn-status text needed a regression guard against the status label overlapping its headline.

Why This Change Was Made

Persistent identity remains in the leading slot, while transient fork, pull-request, run, and unread state uses the trailing state slot. On desktop, transient state is visible while the row is at rest and yields to Pin and More on hover or focus. Touch layouts keep state and actions available together, child-session behavior is preserved, and accessible descriptions expose the same state without relying on the visual glyphs.

The compact turn-status rail keeps its status label nonshrinking; this PR adds real-browser bounding-box coverage so the Done label and headline cannot overlap again.

User Impact

  • Active threads show a spinner only while the agent turn is running.
  • Hovering or focusing a thread hides transient state and reveals Pin and More.
  • Inactive threads do not show a spinner.
  • Long titles and combined fork/PR/run/unread state do not overlap row actions.
  • The compact Done label does not overlap its message headline.

Evidence

  • 4/4 focused sidebar Chromium scenarios passed on Blacksmith Testbox.
  • 74/74 responsive browser tests passed, including the compact Done/headline geometry regression.
  • Strict core-test and UI typechecks passed, including the corrected unread fixture type.
  • pnpm check:changed passed on Blacksmith Testbox with formatting, i18n, line-ratchet, lint, and style checks.
  • Structured autoreview reported no actionable findings.

@openclaw-barnacle openclaw-barnacle Bot added app: web-ui App: web-ui size: XL maintainer Maintainer-authored PR labels Aug 5, 2026
@clawsweeper clawsweeper Bot added 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. P2 Normal backlog priority with limited blast radius. merge-risk: 🚨 other 🚨 Merging this PR has meaningful risk outside the owned taxonomy. labels Aug 5, 2026
@clawsweeper

clawsweeper Bot commented Aug 5, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: found issues before merge. Reviewed August 5, 2026, 1:42 PM ET / 17:42 UTC.

ClawSweeper review

What this changes

Moves transient session status indicators into a trailing Control UI sidebar slot that yields to row actions on desktop, with accessibility and browser-layout coverage.

Merge readiness

⚠️ Ready for maintainer review - 4 items remain

Keep open. The previous desktop-width finding is addressed, but the new coarse-pointer layout reserves less width than its supported combined state plus Pin and More actions require, so long titles can run underneath them.

Priority: P2
Reviewed head: 7c425110e89015e3e7214d9a203fbd053b343beb

Review scores

Measure Result What it means
Overall readiness 🦐 gold shrimp (3/6) The branch has meaningful browser coverage and resolves the prior desktop concern, but one concrete touch-layout regression remains.
Proof confidence 🌊 off-meta tidepool Not applicable: The author is a repository member, so the external-contributor proof gate does not apply; the PR body nevertheless cites mocked-Gateway Chromium coverage rather than media evidence.
Patch quality 🦐 gold shrimp (3/6) 1 actionable review finding remain.

Verification

Check Result Evidence
Real behavior Not applicable Not applicable: The author is a repository member, so the external-contributor proof gate does not apply; the PR body nevertheless cites mocked-Gateway Chromium coverage rather than media evidence.
Evidence reviewed 5 items Current main lacks the proposed trailing state model: Current main still composes session run, unread, and pull-request state as a leading indicator inside the row link, so this PR's central UI change is not already implemented or shipped.
Touch width is insufficient for supported combined state: The changed coarse-pointer rule reserves 112px, while the supported fork, pull-request, run, and unread indicator combination plus Pin and More consumes at least 117px before additional positioning geometry.
The previous desktop reservation finding is fixed: The current branch now uses 68px at rest and 52px on hover or focus, with desktop combined-state geometry coverage; the remaining problem is specific to coarse pointers.
Findings 1 actionable finding [P2] Reserve the full combined touch trailing width
Security None None.

How this fits together

Gateway session data feeds Control UI sidebar rows. Each row combines identity, transient status, title text, and management actions across desktop and touch interaction modes.

flowchart LR
  A[Gateway session data] --> B[Control UI sidebar row]
  B --> C[Trailing status indicators]
  C --> D[Desktop hover or focus]
  C --> E[Touch layout]
  D --> F[Pin and menu actions]
  E --> G[Status and actions together]
Loading

Before merge

  • Reserve the full combined touch trailing width (P2) - On coarse-pointer rows this changed rule reserves 112px, but the supported fork, pull-request, run, and unread indicators need about 67px and Pin plus More need 49px. A long title can therefore extend below the trailing surface; reserve the full width or use a non-overlapping layout and add a combined-state touch geometry test.
  • Resolve merge risk (P1) - On touch layouts, a long session title can extend beneath the full fork/pull-request/run/unread state and management-action surface until the trailing-width budget is corrected.
  • Resolve merge risk (P1) - The exact-head UI E2E set is not yet green: one shard is failing and another remains in progress.
  • Complete next step (P2) - The repair is mechanically clear, but this member-authored PR carries the protected maintainer label and needs human-owned follow-up.

Findings

  • [P2] Reserve the full combined touch trailing width — ui/src/styles/layout.css:2214
Agent review details

Security

None.

PR surface

Source +373, Tests +358. Total +731 across 24 files.

View PR surface stats
Area Files Added Removed Net
Source 21 573 200 +373
Tests 3 358 0 +358
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 24 931 200 +731

Review metrics

Metric Value Why it matters
Production versus test delta production +270/-84, tests and test support +661/-116 The production growth implements the new trailing-state presentation and accessibility boundary; the substantial browser coverage should include the remaining touch worst case.

Stored data model

Persistent data-model change detected: serialized state: ui/src/components/session-attention-presentation.ts, serialized state: ui/src/components/session-leading-indicator.ts, serialized state: ui/src/e2e/session-management.test-support.ts, serialized state: ui/src/e2e/session-management.trailing-state.e2e.test.ts, serialized state: ui/src/test-helpers/app-sidebar-cases/session-indicators.ts, serialized state: ui/src/test-helpers/app-sidebar-cases/session-list-sections.ts, and 6 more. Confirm migration or upgrade compatibility proof before merge.

Merge-risk options

Maintainer options:

  1. Correct the touch trailing budget (recommended)
    Reserve the measured worst-case state-and-action width, or give it a non-overlapping layout, and cover it with a long-title coarse-pointer geometry test.
  2. Accept touch title occlusion
    Merge with the known risk that the fullest transient state can cover part of a long touch-row title.

Technical review

Best possible solution:

Reserve or structurally lay out the full combined touch trailing surface, then add a coarse-pointer bounding-box regression for the longest supported state combination.

Do we have a high-confidence way to reproduce the issue?

Yes—source establishes that the combined indicator and action widths exceed the coarse-pointer reservation; the added browser test does not exercise that full touch state.

Is this the best way to solve the issue?

No. The desktop correction is sound, but the touch path needs a full-width reservation or non-overlapping layout plus a focused geometry regression.

Full review comments:

  • [P2] Reserve the full combined touch trailing width — ui/src/styles/layout.css:2214
    On coarse-pointer rows this changed rule reserves 112px, but the supported fork, pull-request, run, and unread indicators need about 67px and Pin plus More need 49px. A long title can therefore extend below the trailing surface; reserve the full width or use a non-overlapping layout and add a combined-state touch geometry test.
    Confidence: 0.93

Overall correctness: patch is incorrect
Overall confidence: 0.93

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning high; reviewed against 6aee2792d9c4.

Labels

Label changes:

  • add merge-risk: 🚨 other: Merging can introduce a user-visible touch-layout overlap not settled by the existing desktop and partial touch coverage.

Label justifications:

  • P2: The patch can hide part of a long session title in a supported touch interaction state, but the blast radius is limited to the Control UI session list.
  • merge-risk: 🚨 other: Merging can introduce a user-visible touch-layout overlap not settled by the existing desktop and partial touch coverage.
  • rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🌊 off-meta tidepool and patch quality is 🦐 gold shrimp.
  • status: ⏳ waiting on author: ClawSweeper has contributor-facing work open and is waiting for author action. Not applicable: The author is a repository member, so the external-contributor proof gate does not apply; the PR body nevertheless cites mocked-Gateway Chromium coverage rather than media evidence.

Evidence

What I checked:

Likely related people:

  • Peter Steinberger: Authored the recent leading-run-indicator and session ownership work that current main still uses. (role: recent Control UI session-row owner; confidence: high; commits: d56a270ffcac, ad409a828515, 099d6351b360; files: ui/src/components/session-leading-indicator.ts, ui/src/components/app-sidebar-session-row-render.ts, ui/src/styles/layout.css)
  • fuller-stack-dev: Has merged history on the session-activity surface in addition to the proposed branch. (role: adjacent session-activity contributor; confidence: medium; commits: 6504cf85f249; files: ui/src/components/app-sidebar-session-row-render.ts, ui/src/components/session-leading-indicator.ts)

Rank-up moves

Optional improvements that raise the rating; they are not merge blockers.

  • Correct the coarse-pointer trailing-width layout and add the combined fork/pull-request/run/unread long-title geometry assertion.
  • Obtain a green exact-head UI E2E result after the correction.

Rating scale

Score Internal tier Crab rank Meaning
6/6 S 🦀 challenger crab Exceptional readiness
5/6 A 🦞 diamond lobster Very strong readiness
4/6 B 🐚 platinum hermit Good normal PR; ordinary maintainer review
3/6 C 🦐 gold shrimp Useful, but confidence is limited
2/6 D 🦪 silver shellfish Proof or implementation needs work
1/6 F 🧂 unranked krab Not merge-ready
N/A NA 🌊 off-meta tidepool Rating does not apply

Overall follows the weaker of proof and patch quality.
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics.

Workflow

  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

History

Review history (2 earlier review cycles)
  • reviewed 2026-08-05T09:28:24.996Z sha 08f941d :: found issues before merge. :: [P2] Keep non-running state visible beside row actions | [P2] Reserve the maximum touch trailing-state width
  • reviewed 2026-08-05T15:17:47.112Z sha 2e14610 :: found issues before merge. :: [P2] Reserve only the width visible in running rows

@fuller-stack-dev fuller-stack-dev self-assigned this Aug 5, 2026
@clawsweeper clawsweeper Bot removed the merge-risk: 🚨 other 🚨 Merging this PR has meaningful risk outside the owned taxonomy. label Aug 5, 2026
@clawsweeper clawsweeper Bot added the merge-risk: 🚨 other 🚨 Merging this PR has meaningful risk outside the owned taxonomy. label Aug 5, 2026
@fuller-stack-dev
fuller-stack-dev merged commit 462f8c4 into openclaw:main Aug 5, 2026
96 checks passed
@fuller-stack-dev

Copy link
Copy Markdown
Member Author

Merged via squash.

@fuller-stack-dev
fuller-stack-dev deleted the codex/fix-control-ui-active-status-layout-20260805 branch August 5, 2026 18:06
vincentkoc added a commit to VACInc/openclaw that referenced this pull request Aug 5, 2026
…cope

* origin/main: (70 commits)
  fix(clickclack): preserve MIME extension for unnamed uploads (openclaw#119646)
  fix(memory): keep post-ready RPCs responsive (openclaw#119710)
  fix(browser): preserve locale, timezone, and device overrides (openclaw#119695)
  fix(agents): stop messaging dedupe from dropping final replies that quote a short tool send (openclaw#118178)
  test(agents): batch code mode budget proof (openclaw#119699)
  fix(memory): keep gateway RPCs responsive during startup (openclaw#119676)
  improve(ui): trail transient session status beside row actions (openclaw#119560)
  refactor(msteams): consolidate channel action target resolution (openclaw#119632)
  fix: tail context answers the current user message (openclaw#117364)
  fix(whatsapp): exercise descriptor-safe credential persistence (openclaw#119621)
  fix(diagnostics-otel): route OTLP endpoints by signal (openclaw#101655)
  refactor(skills): consolidate workshop transcript and record normalization (openclaw#119643)
  fix(video): harden DashScope task and media lifecycle (openclaw#117303)
  refactor(transcripts): consolidate persistence and export ownership (openclaw#119634)
  fix: preserve ClickClack discussion state contracts (openclaw#118851)
  fix(matrix): retire shared E2EE clients safely (openclaw#119570)
  refactor(cron): unify catch-up persistence and payload encoding (openclaw#119636)
  refactor(ui): centralize composer attachment and capability controls (openclaw#119650)
  refactor(daemon): consolidate managed service lifecycle ownership (openclaw#119647)
  fix(browser): honor explicit navigation timeouts across browser drivers (openclaw#119654)
  ...
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Aug 6, 2026
…law#119560)

* improve(ui): trail transient session status

* fix(ui): swap running state for row actions on hover

* fix(ui): reserve only visible sidebar state width

* fix(ui): ensure actions override state spacing

* test(ui): await activated service-worker controller
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 maintainer Maintainer-authored PR merge-risk: 🚨 other 🚨 Merging this PR has meaningful risk outside the owned taxonomy. P2 Normal backlog priority with limited blast radius. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. size: XL status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant