Skip to content

fix(ui): prevent nested session archive controls from overlapping - #192777

Merged
roboclaw-bot merged 8 commits into
mainfrom
openclaw/nested-session-archive-overlap
Nov 4, 2026
Merged

roboclaw-bot merged 8 commits into
mainfrom
openclaw/nested-session-archive-overlap

Conversation

@roboclaw-bot

@roboclaw-bot roboclaw-bot commented Nov 4, 2026 •

Copy link
Copy Markdown
Collaborator

Requested by @jacobtomlinson.

Work sessions

What Problem This Solves

Fixes: the hover archive icon covers the expand arrow and child count on nested sidebar sessions.

User Impact

Archive actions and child expand/count controls stay separately reachable at every session depth, by pointer and keyboard, with expanded or collapsed children.

Why This Change Was Made

Apply the existing disclosure endcap layout to child rows too, preserving its row-host specificity so touch alignment does not reset the horizontal space. No new offsets, row markup, or action behavior.

Evidence

  • Integrated source verified: published head f97f9fa2b0a853709dfdaf6d829748082bdf5318, tree 0c939ce4a08f12db8521ba9b9b36a59c027e4c25. Against integrated main f28cc10ecfa56fee0160992beebdd0e6ea3b345a, this remains 3 files, +92/−97, with the same shared endcap fix and test blob 2fae4e92dbda6b6335f8e1f47d0cec703c4c6fe2.
  • 4 Chromium scenarios pass on that integrated tree in 20.43s: fine/light, fine/dark, touch/dark, and hovering-coarse/dark; 6 unrelated module cases are unselected. Three parent-row shapes each have two actual children. Tests retain idle disclosure opacity and pointer events, count 2, idle/active title clearance, real pointer collapse and descendant removal, keyboard expansion, both aria-expanded states, nested action separation, and coarse-pointer specificity.
  • Red-base proof reused, not rerun to claim a new fix: the exact retained test fails with the original stylesheet at 353px > 327px. The sidebar selector hunk is unchanged after main integration; the integrated stylesheet blob is b8e50054b3177646a44335a4eb1d074499b6ccfc. Existing before/after screenshots remain proof for that same layout repair. Historical seven-case proof also covered 240/320px sidebars and the mobile drawer; it is not the retained four-case matrix.
  • Static gates pass: UI-pages types (including the formerly failing core-5 leaf), UI E2E types, targeted oxlint, formatting, and whitespace. Test accounting is net −6 lines: the shared module grows 421→501 and replaces the now-duplicated 86-line fixture without losing its contracts. The integrated tree is 6,467,000 lines versus ceiling 6,466,782, so the checker passes through its existing non-growing-change allowance; this is not an under-ceiling claim. No allocation, ceiling, baseline, ignore, or test-logic relocation was added.
  • Independent review: fresh shared autoreview (Codex) against f28cc10ecfa56fee0160992beebdd0e6ea3b345a is P0–P3 scoped-clean, no actionable findings. That review assessed the supplied three-file diff and evidence, not an independent test rerun. Earlier full-context production/test reviews are reused for unchanged logic. The dirty/unavailable local ClawSweeper runner required the hosted fallback; its review of eb5bf840e84eec0a833d4db8658bd0b178db2211 found nothing. That remains prior-head evidence; no duplicate hosted request was issued.
  • Named-gate main integration: incorporated already-landed #192850 for the invalid Gateway-phase fixture and static-check failures, then #192868 for the browser-panel string | undefined type error actually exposed by the UI-pages gate. This was source repair for identified failures, not an unrelated rebase to reset CI.
  • CI limitations retained: the older run on a0fa8740 also had two WebKit AbortError failures, an unidentified UI2 failure, and chat-boot gzip growth of 297 bytes total, 105 bytes beyond the 192-byte variance allowance on an already-over-cap baseline. Those are not declared inherited or fixed by a passing replay. The current-head checks are authoritative; native preparation retains enforced GitHub gates. No blanket inherited-CI exception or full-green claim is made here.

UI proof

Actual Control UI bundle in Chromium, dark theme, 1280×800 viewport, 320px sidebar, synthetic Gateway transport and realistic synthetic session content. No live Gateway or provider credentials. Both screenshots are the same expanded grandchild row with keyboard focus and hover.

Before — overlapping controls After — separated controls
Before — nested archive overlaps child controls After — nested archive and child controls are separate

Worked on by

roboclaw-bot and others added 2 commits November 4, 2026 12:18
Worked on by:
- @jacobtomlinson

Co-authored-by: jacobtomlinson <[email protected]>
OpenClaw-Publication: 75d7200d-287a-496a-830d-8479f4bd0354
@clawsweeper

clawsweeper Bot commented Nov 4, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

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

@roboclaw-bot

Copy link
Copy Markdown
Collaborator Author

@clawsweeper review

@clawsweeper

clawsweeper Bot commented Nov 4, 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: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. 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 Nov 4, 2026
@clawsweeper

clawsweeper Bot commented Nov 4, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge.

What this changes

This PR extends existing disclosure spacing to nested session rows so archive controls no longer overlap their expand arrow and child count.

Example: Hover the expanded “Nested session controls” grandchild in a 320px sidebar.

  • Before: The archive icon overlaps the disclosure arrow and child count.
  • After: The archive icon sits to their left, leaving both controls separately reachable.

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A focused, useful fix with inspected visual proof and meaningful browser regressions; unresolved CI limits merge readiness.
Proof confidence 🦞 diamond lobster (5/6) ✨ media proof bonus Sufficient (screenshot): Inspected before/after screenshots exercise the actual Control UI bundle in Chromium at 1280×800 with a 320px sidebar and synthetic Gateway sessions; the expanded grandchild’s archive and disclosure overlap before and are visibly separate afterward.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Product

Kind: Bug fix · Worth it: Yes · Fix scope: Complete
User problem: Hovering a nested session places Archive over its child disclosure and count, obstructing expansion or collapse.
Reason: Separately reachable controls restore the existing interaction contract, and the maintainer-authored direction introduces no new option or behavior policy.

Merge readiness

✅ Ready for maintainer review

This PR fixes a current nested-sidebar layout defect with a minimal CSS change; no introduced correctness or security defect was found, but failing CI still needs classification.

Priority: P2
Reviewed head: eb5bf840e84eec0a833d4db8658bd0b178db2211

Before merge

None.

Findings

None.

Agent review details

How this fits together

The Control UI renders Gateway session lineage as sidebar rows; shared CSS positions archive actions beside each row’s child disclosure.

flowchart LR
  A[Gateway session roster] --> B[Session tree presentation]
  B --> C[Sidebar row renderer]
  C --> D[Shared layout CSS]
  D --> E[Archive action]
  D --> F[Child disclosure]
Loading

Technical review

Best possible solution:

Keep the existing CSS spacing owner, apply it at every session depth, and land once the failing CI lanes are resolved or independently attributed.

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

Current-main CSS exposes the overlap path, and the supplied before screenshot demonstrates it; this read-only review did not execute product code.

Is this the best way to solve the issue?

The patch is the smallest complete fix: reuse the existing disclosure offset for child rows while retaining specificity against touch alignment rules.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against d0925efdbb1e.

Provenance checked

  • Sidebar disclosure and action spacing keeps the original intent (8ff1512: The overlay layout kept disclosures rightmost and actions beside them; child asides originally remained in flow, unlike their current absolute positioning.)
  • Stable disclosure slot after child removal keeps the original intent (04d6904: Prevent repeated disclosure clicks from accidentally archiving a parent after its last child disappears.)

Testing

Proof path: shipped entry point.

Security

None.

Evidence

What I checked:

Likely related people:

  • Vyctor H. Brzezowski: Raw commit a1d62cf adds ui/src/styles/layout.css:2038 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: a1d62cfc56c1; files: ui/src/styles/layout.css)

PR surface

Source +1, Tests +149, Other +2. Total +152 across 3 files. Added test files: 1.

View PR surface stats
Area Files Added Removed Net
Source 1 3 2 +1
Tests 1 149 0 +149
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 1 2 0 +2
Total 3 154 2 +152

Review metrics

Metric Value Why it matters
Production versus regression growth CSS +3/−2; browser tests +149/−0 Production growth is limited to the selector and explanatory comment; browser geometry and pointer hit testing cover behavior unavailable to DOM-only tests.

Labels

Label changes:

  • add P2: Overlapping nested-session controls impair a bounded sidebar interaction without establishing a broader outage or onboarding blocker.
  • add proof: sufficient: Contributor real behavior proof is sufficient.
  • add proof: 📸 screenshot: Contributor real behavior proof includes screenshot evidence.
  • add rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🦞 diamond lobster and patch quality is 🐚 platinum hermit.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.

Label justifications:

  • P2: Overlapping nested-session controls impair a bounded sidebar interaction without establishing a broader outage or onboarding blocker.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🦞 diamond lobster and patch quality is 🐚 platinum hermit.
  • 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.

Rank-up moves

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

  • Resolve or independently attribute the failing test-line and toast-position CI lanes.

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.

Reviewed November 4, 2026, 7:38 AM ET / 12:38 UTC.

roboclaw-bot and others added 6 commits November 4, 2026 13:45
Worked on by:
- @jacobtomlinson

Co-authored-by: jacobtomlinson <[email protected]>
OpenClaw-Publication: 0cd22186-44ef-4289-904f-34a955754753
Consolidate idle disclosure, count, title clearance, pointer and keyboard
contracts with nested action geometry across light, dark and coarse pointers.

Co-authored-by: jacobtomlinson <[email protected]>
Worked on by:
- @jacobtomlinson

Co-authored-by: jacobtomlinson <[email protected]>
OpenClaw-Publication: 69c44b35-519a-47d2-af1b-b76350936eba
Integrate main through #192868 for the named failed UI-pages type gate,
including #192850 fixes for the recorded type and static-ratchet failures.
The sidebar patch remains the same three-file delta against that main input.

Co-authored-by: jacobtomlinson <[email protected]>
Worked on by:
- @jacobtomlinson

Co-authored-by: jacobtomlinson <[email protected]>
OpenClaw-Publication: 2389d712-f82b-48b4-872b-732f7f8832fa
@roboclaw-bot
roboclaw-bot enabled auto-merge (squash) November 4, 2026 17:45
@roboclaw-bot
roboclaw-bot disabled auto-merge November 4, 2026 18:10
@roboclaw-bot
roboclaw-bot merged commit f9a25d7 into main Nov 4, 2026
83 of 88 checks passed
@roboclaw-bot
roboclaw-bot deleted the openclaw/nested-session-archive-overlap branch November 4, 2026 18:25
@roboclaw-bot

Copy link
Copy Markdown
Collaborator Author

Merged via explicitly authorized admin squash with attributed pre-existing CI failures.

roboclaw-bot added a commit that referenced this pull request Nov 4, 2026
Integrate main only to resolve the modify/delete conflict from #192777. Keep the retired test file removed and register only the new reveal scenario in the current sidebar-menu suite, sharing its existing browser boot.

Co-authored-by: jacobtomlinson <[email protected]>
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Nov 5, 2026
…enclaw#192777)

* fix(ui): prevent nested session archive controls from overlapping

Co-authored-by: jacobtomlinson <[email protected]>

* fix(ui): prevent nested session archive controls from overlapping

Worked on by:
- @jacobtomlinson

Co-authored-by: jacobtomlinson <[email protected]>
OpenClaw-Publication: 75d7200d-287a-496a-830d-8479f4bd0354

* test(ui): consolidate nested sidebar control regressions

Co-authored-by: jacobtomlinson <[email protected]>

* Publish openclaw/nested-session-archive-overlap

Worked on by:
- @jacobtomlinson

Co-authored-by: jacobtomlinson <[email protected]>
OpenClaw-Publication: 0cd22186-44ef-4289-904f-34a955754753

* test(ui): preserve complete sidebar disclosure contracts

Consolidate idle disclosure, count, title clearance, pointer and keyboard
contracts with nested action geometry across light, dark and coarse pointers.

Co-authored-by: jacobtomlinson <[email protected]>

* Publish openclaw/nested-session-archive-overlap

Worked on by:
- @jacobtomlinson

Co-authored-by: jacobtomlinson <[email protected]>
OpenClaw-Publication: 69c44b35-519a-47d2-af1b-b76350936eba

* Publish openclaw/nested-session-archive-overlap

Worked on by:
- @jacobtomlinson

Co-authored-by: jacobtomlinson <[email protected]>
OpenClaw-Publication: 2389d712-f82b-48b4-872b-732f7f8832fa

---------

Co-authored-by: jacobtomlinson <[email protected]>
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 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: 🐚 platinum hermit Good normal PR readiness with ordinary 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