Skip to content

improve(ui): keep New conversation visible across sidebar modes - #170771

Merged
roboclaw-bot merged 2 commits into
mainfrom
openclaw/tidy-shrimp
Oct 13, 2026
Merged

roboclaw-bot merged 2 commits into
mainfrom
openclaw/tidy-shrimp

Conversation

@roboclaw-bot

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

Copy link
Copy Markdown
Collaborator

Closes #170744

What Problem This Solves

Starting a conversation is easy to overlook and disappears from the sidebar header when switching away from Sessions.

User Impact

New conversation stays first below the avatar across sidebar modes and collapsed layouts, with a direct header equivalent on mobile. Existing creation permissions, agent selection, link gestures, and native-owned controls are preserved. No configuration changes or migrations are required.

Why This Change Was Made

A single accented rail action separates creating a conversation from navigating existing work. It replaces the duplicate Sessions-header and collapsed-header plus buttons. Group- and catalog-specific actions remain because they carry distinct context; team mode retains its agent picker.

Evidence

  • Original regression reproduced before editing: the rail had no New conversation action.
  • 404 focused sidebar tests passed (46.91s wall); 46 chat-header tests passed (22.28s wall).
  • Browser proof passed: rail/view/collapse/keyboard/alignment (3 tests, 37.38s wall including build), native-link gestures and roster flow (2 tests, 54.03s including build), and mobile single/team mode plus denied/disconnected access (6 tests, 43.20s including build and captures).
  • The mobile team-picker regression failed in both header variants before the fix, then passed when both surfaces reused the existing menu owner; existing rail menu and roster-flow checks also passed after that move.
  • UI and E2E typechecks, scoped lint/stylelint/formatting, and production UI build/performance checks passed. Final build: 28.22s. PR CI supplies broader exact-head proof and its timing.
  • Independent review identified the mobile team-picker mismatch; it was repaired with regression coverage. Independent P0–P2 re-review completed with no actionable findings. Parent review also fixed unnecessary menu repaints; all 6 existing projection-memo tests plus the rail agent-choice test passed (4.12s test-runner wall).
  • Real production UI with deterministic, sanitized Gateway fixtures; dark and light themes inspected. No live Gateway or physical native-app execution claimed.

CI follow-through

  • CI found older browser tests still targeting the removed Sessions-toolbar action. Migrated the remaining locators and made the Workboard test detect the actual Sessions panel; no production behavior or screenshot changed. Replays passed: 25 tests/7 files (67.54s wall including diagnostics/build), 57 tests/8 sibling files (164.73s), and 25 keyboard/native-chrome tests/2 files (60.39s). Scoped lint/format passed.
  • Exact-head CI run 38363630741 completed in 942s (15m42s) at 259026dc40e5. Creation-flow failures are fixed; CI remains red only in E2E shards 2/9, 6/9, and 8/9. Security-fast and all other selected checks passed.
  • Compared the actual failing tests, locations, and timeout signatures with scheduled main run 38359584345: identical collapsed-reply screenshot timeout, Details-dialog timeout, position-rail dark/light timeouts, and reply-preview navigation timeout. The tested merge retains unchanged failing test/owner inputs from its main parent.
  • A bounded local replay reproduced the four renderer-related failures on both the repaired head (355.13s) and the original pre-PR base (367.73s). The separate Details suite passed locally, which is not claimed as a fix. These inherited failures remain unresolved; landing uses the native inherited-failure policy, not a green-CI claim.

Desktop

Before After
Before: create action in the Sessions header After: persistent first action below the avatar

Mobile

Before After
Before: no direct create action in the mobile header After: direct New conversation action in the mobile header

Worked on by

  • @steipete — design direction and implementation request.

Work sessions


View the OpenClaw team session

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

clawsweeper Bot commented Oct 13, 2026

Copy link
Copy Markdown
Contributor

ClawSweeper reviews are opt-in for maintainers. If a review is required, finish the work and validation first, then comment @clawsweeper review. Please avoid repeated requests while a review is queued or running; agents should not request reviews automatically.

@roboclaw-bot
roboclaw-bot enabled auto-merge (squash) October 13, 2026 07:20
@roboclaw-bot
roboclaw-bot disabled auto-merge October 13, 2026 07:27
Migrate the remaining creation locators from the Sessions toolbar to the rail. Detect the actual Sessions panel before checking Workboard section counts.

Co-authored-by: steipete <[email protected]>
@roboclaw-bot
roboclaw-bot merged commit 41a83ad into main Oct 13, 2026
92 of 97 checks passed
@roboclaw-bot
roboclaw-bot deleted the openclaw/tidy-shrimp branch October 13, 2026 08:13
@roboclaw-bot

Copy link
Copy Markdown
Collaborator Author

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

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 14, 2026
…claw#170771)

* improve(ui): keep New conversation visible across sidebar modes

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

* test(ui): follow persistent New conversation across existing flows

Migrate the remaining creation locators from the Sessions toolbar to the rail. Detect the actual Sessions panel before checking Workboard section counts.

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

---------

Co-authored-by: steipete <[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 docs Improvements or additions to documentation size: L

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature]: Keep New conversation prominent across sidebar modes

1 participant