Skip to content

fix(ui): move child-session toggle after the session title - #110459

Merged
steipete merged 1 commit into
mainfrom
claude/arrow-positioning-grid-c146e6
Jul 18, 2026
Merged

steipete merged 1 commit into
mainfrom
claude/arrow-positioning-grid-c146e6

Conversation

@steipete

Copy link
Copy Markdown
Contributor

What Problem This Solves

Follow-up to #110448. Sidebar session rows that have child sessions rendered the expand toggle (chevron + child count) before the title, so those rows sat ~31px right of the shared left edge that section labels and plain session rows now align to.

Why This Change Was Made

Maintainer request: parent rows should align to the same sidebar grid. This applies the same "text first, chevron after" pattern used for section headers in #110448.

User Impact

  • Rows with child sessions now start at the same left edge as every other row; the child toggle (⌄ 1 / › 1) sits after the title, before the row meta.
  • Toggle behavior, running/failed accent colors, and child-row indentation are unchanged.

After (collapsed children / expanded children):

Collapsed Expanded
collapsed expanded

Before is visible in #110448's "after" shot, where "Tax filing research" is indented by the leading toggle.

Evidence

  • node scripts/run-vitest.mjs ui/src/components/app-sidebar.test.ts — 107 tests pass (toggle assertions are selector-based, order-agnostic).
  • Live-verified in the Control UI mock harness: toggle click still expands/collapses children; screenshots above.
  • Codex autoreview (gpt-5.6-sol) clean: no accepted/actionable findings.

@openclaw-barnacle openclaw-barnacle Bot added app: web-ui App: web-ui size: XS maintainer Maintainer-authored PR labels Jul 18, 2026
@steipete
steipete merged commit 3a570e7 into main Jul 18, 2026
109 of 112 checks passed
@steipete
steipete deleted the claude/arrow-positioning-grid-c146e6 branch July 18, 2026 06:10
@steipete

Copy link
Copy Markdown
Contributor Author

Merged via squash.

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 size: XS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant