Skip to content

improve(ui): show session details beside wide conversations - #170707

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

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

Conversation

@roboclaw-bot

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

Copy link
Copy Markdown
Collaborator

What Problem This Solves

Session Details covers conversation text even when a wide chat pane has room to show both side by side.

User Impact

Details opens automatically as a docked right column when there is enough conversation space. The transcript and composer stay centered in the remaining space; narrower panes keep the manually opened overlay. Explicitly closing Details stays respected through updates and resizing. No migration or Gateway setting changes.

Why This Change Was Made

Use the conversation frame's available width after navigation and other panels, rather than the window width. A 352px independently scrolling rail is offered at 1200px of available pane width, preserving the normal reading column and gutters. One content tree keeps disclosure state through dock/overlay transitions. Automatic docking does not take keyboard focus; manually opened overlays retain native Tab entry from their trigger.

Requested and designed with @steipete.

Work sessions

Evidence

  • Chromium component tests: 7 passed, covering adaptive width, explicit dismissal, retained presentation, and existing menu/focus behavior. New docking assertion fails on the original implementation.
  • Production-build mocked-Gateway E2E: passed; 9.80s test / 36.51s invocation including build. Checks dock/overlay geometry, draft retention, panel resizing, nested Escape, progress updates, independent scrolling, and trigger-to-overlay Tab order. No live Gateway or provider calls.
  • Initial CI caught an older composer assertion centered across the whole workbench and a duplicated documentation heading. The assertion now measures the remaining conversation column, and the new description lives in the existing Details section. Composer E2E: 8/8 passed (13.995s file / 47.12s invocation); Markdown lint: 0 issues across 1331 files.
  • UI production and fixture typechecks, scoped lint/stylelint, formatting, and diff checks passed. Typechecks used an isolated physical dependency copy rather than modifying the shared installation.
  • Independent review found a keyboard-entry regression; reproduced it with the real full-page flow, associated the popover with its trigger, and verified the regression passes.
  • Local WebKit qualification is unverified: Vitest browser startup timed out; a separate WebKit attempt was refused by the host's egress proxy before application boot. No policy bypass or passing WebKit claim. Hosted CI is qualified separately below; this is not a passing WebKit claim.

CI qualification

Exact-head CI run 38355732808 remains failed in UI E2E shards 4/9 and 6/9. All four failing cases were reproduced against a fresh production build of its actual main base 95b3b97a4c38457f1c615ec34c7947d35e2a191f, without this PR's Details changes:

  • Position-rail keyboard navigation in dark and light mode: 120-second renderer stalls.
  • Deep earlier-message reveal: screenshot timeout after renderer stall.
  • Reply-preview recovery after reconnect: click stalls while navigating to the older source.

The tests, transcript lifecycle/reveal owners, and relevant harness/dependency inputs are byte-identical between that base and tested merge 2a0d570f27dea8bed1ce8eeeaafeedc2f834ce1f (20 checked inputs; 11 bundled runtime sources also matched the pinned base through source maps). The classifier labels these failures new against an older scheduled-main run that predates the newer transcript-rendering change; that label is retained rather than relabeled green.

The requested landing uses the native inherited-only failure exception, with all failures independently attributed, exact-head review, and live authority/security checks. The baseline defect is not fixed by this PR. Local reproduction used Node 26 rather than CI's Node 24; action-timeout limits differed, but the same cases and renderer-stall outcomes reproduced. Other exact-head CI jobs, including types, lint, docs, security-fast, and the Details regression, passed.

Before

Before: floating Details overlaps the conversation at 1728px

After

After: automatically docked Details leaves the conversation and composer unobstructed at 1728px

Narrow layout and independent scrolling

Narrow: user-opened overlay stays above the composer

Long content: Details and the conversation scroll independently

@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation app: web-ui App: web-ui size: M labels Oct 13, 2026
@roboclaw-bot
roboclaw-bot marked this pull request as ready for review October 13, 2026 06:02
@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 06:12
@roboclaw-bot
roboclaw-bot disabled auto-merge October 13, 2026 06:13
Consolidate the existing Session Details docs and validate the newly reserved Details rail in composer geometry.

Co-authored-by: steipete <[email protected]>
@roboclaw-bot
roboclaw-bot merged commit 2c70515 into main Oct 13, 2026
102 of 106 checks passed
@roboclaw-bot
roboclaw-bot deleted the openclaw/mild-shrimp-2 branch October 13, 2026 06:52
@roboclaw-bot

Copy link
Copy Markdown
Collaborator Author

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

steipete added a commit that referenced this pull request Oct 13, 2026
## What Problem This Solves

The scheduled UI E2E shard times out after clicking the chat header Details button. The adaptive Details change in #170707 deliberately portals the content into the conversation frame, but the delegated-work test still searches inside the header control for the dialog and its close button.

Scope the dialog to the active chat pane while keeping the trigger lookup in the header. The test still requires the Details dialog to become visible, closes it through its actual button, waits for it to hide, and retains every delegated-work, layout-retention, and next-conversation assertion. No production behavior, visual styling, database access, or schema changes.

## Evidence

- Actual scheduled-main failure: [run 38359584345, UI6](https://github.com/openclaw/openclaw/actions/runs/38359584345/job/115170476531), head `0348a2526c561d8ccce61bfd23931024a6b8f13e`, `chat-header-subagents.e2e.test.ts:78`: Details dialog visibility timeout after 30 seconds. The shard reports one failed and 446 passed cases.
- Culprit `2c705154ec84fc165829156dc4359327956e3d0f`: its parent-relative patch adds the conversation-frame Portal and updates component browser-test queries, but omits this E2E locator.
- Changed-file formatting, lint, and `git diff --check`: passed. One isolated Codex review: scoped-clean, no actionable findings. Normal commit hooks: passed.
- Ordinary candidate CI [38362882551/job115181489859](https://github.com/openclaw/openclaw/actions/runs/38362882551/job/115181489859) passed the exact original delegated-work case in 7.978 seconds. Its six-file shard passed all 13 cases in 31.69 seconds; no supplemental run was needed.
- LOC: one file, +4/-5. No new tests, timeouts, retries, skipped assertions, or production code.

Exact candidate proof:

```sh
node scripts/run-vitest.mjs run --config test/vitest/vitest.ui-e2e.config.ts --configLoader runner ui/src/e2e/chat-header-subagents.e2e.test.ts
```

Final candidate static, type, architecture, security, and required CI gates passed. Database ratchets remain T1 454 to 454, compatibility calls 9 to 9, and all dialect groups 0 to 0. This test-only locator correction makes no SQL savings claim.
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 14, 2026
…#170707)

* improve(ui): automatically dock session details on wide chat panes

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

* test(ui): center composer expectations within conversation column

Consolidate the existing Session Details docs and validate the newly reserved Details rail in composer geometry.

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

---------

Co-authored-by: steipete <[email protected]>
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 14, 2026
…law#170782)

## What Problem This Solves

The scheduled UI E2E shard times out after clicking the chat header Details button. The adaptive Details change in openclaw#170707 deliberately portals the content into the conversation frame, but the delegated-work test still searches inside the header control for the dialog and its close button.

Scope the dialog to the active chat pane while keeping the trigger lookup in the header. The test still requires the Details dialog to become visible, closes it through its actual button, waits for it to hide, and retains every delegated-work, layout-retention, and next-conversation assertion. No production behavior, visual styling, database access, or schema changes.

## Evidence

- Actual scheduled-main failure: [run 38359584345, UI6](https://github.com/openclaw/openclaw/actions/runs/38359584345/job/115170476531), head `116f0502239e7f1cd4a85f57331f986f616e8939`, `chat-header-subagents.e2e.test.ts:78`: Details dialog visibility timeout after 30 seconds. The shard reports one failed and 446 passed cases.
- Culprit `b9a82f35f24ed3503a4841ccb17f5bca56505d62`: its parent-relative patch adds the conversation-frame Portal and updates component browser-test queries, but omits this E2E locator.
- Changed-file formatting, lint, and `git diff --check`: passed. One isolated Codex review: scoped-clean, no actionable findings. Normal commit hooks: passed.
- Ordinary candidate CI [38362882551/job115181489859](https://github.com/openclaw/openclaw/actions/runs/38362882551/job/115181489859) passed the exact original delegated-work case in 7.978 seconds. Its six-file shard passed all 13 cases in 31.69 seconds; no supplemental run was needed.
- LOC: one file, +4/-5. No new tests, timeouts, retries, skipped assertions, or production code.

Exact candidate proof:

```sh
node scripts/run-vitest.mjs run --config test/vitest/vitest.ui-e2e.config.ts --configLoader runner ui/src/e2e/chat-header-subagents.e2e.test.ts
```

Final candidate static, type, architecture, security, and required CI gates passed. Database ratchets remain T1 454 to 454, compatibility calls 9 to 9, and all dialect groups 0 to 0. This test-only locator correction makes no SQL savings claim.
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: M

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant