Repository navigation
feat(ui): group session context and task progress in Details - #161674
Conversation
Keep the current composer layout by default. Let the optional progress view yield to explicit panels and focused layouts without changing saved panel arrangements or shared progress. Co-authored-by: steipete <[email protected]>
Worked on by: - @steipete Co-authored-by: steipete <[email protected]> OpenClaw-Publication: c4ba9670-2702-44b1-85f6-f2393506c80a
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Codex review: needs maintainer review before merge. What this changesThis PR groups session context, pull requests, automations, and task progress in a manually opened Details panel. Example: Inspect a four-step task while keeping an unsent chat draft.
Review scores
ProductKind: Feature · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review Keep open: this is useful maintainer-directed UI work that current main does not provide, with inspected visual evidence and no actionable introduced defects found. Priority: P3 Before mergeNone. FindingsNone. Agent review detailsHow this fits togetherThe Control UI projects Gateway session, PR, automation, and progress facts into conversation controls; existing controllers retain data ownership and execute actions. flowchart TD
A[Gateway session facts] --> B[Chat pane owners]
B --> C[Details panel]
C --> D[Session context]
C --> E[Task progress]
D --> F[Existing PR and automation controllers]
E --> G[Existing progress and settings owners]
Technical reviewBest possible solution: Use the consolidated Details surface while preserving existing action owners, saved preferences, and compact-composer behavior. Do we have a high-confidence way to reproduce the issue? This is a layout feature; current-main source establishes the prior composer placement, and supplied Control UI captures demonstrate the proposed presentation. Is this the best way to solve the issue? The implementation consolidates presentation while reusing existing data and action owners, with explicit session scoping and retained compact-composer contracts. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against dbe7b43beb09. Provenance checked
TestingProof path: shipped entry point. SecurityNone. EvidenceWhat I checked:
Likely related people:
PR surfaceSource +1478, Tests +1530, Docs +19. Total +3027 across 64 files. Added test files: 6. View PR surface stats
Root-cause clusterRelationship: Members:
Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything. LabelsLabel changes: No label changes. Label justifications:
Rating scale6/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. WorkflowClawSweeper edits this one comment on every review. Comment HistoryReview history (5 earlier review cycles)
Reviewed October 10, 2026, 3:10 AM ET / 07:10 UTC (Revision 6). |
Replace the reserved side panel with a bounded, animated disclosure that stays alongside other panels without reserving transcript space. Preserve local visibility, scoped manual choices, and existing default-collapse preferences. Co-authored-by: steipete <[email protected]> Co-authored-by: vyctorbrzezowski <[email protected]>
Worked on by: - @steipete - @vyctorbrzezowski Co-authored-by: steipete <[email protected]> Co-authored-by: vyctorbrzezowski <[email protected]> OpenClaw-Publication: 0771349e-3857-4fd9-ae25-6810c3ea14f4
Updated Details integration — visual evidenceActual Control UI captures with synthetic session data. This replaces the earlier standalone floating-progress design. Session context and task progress now share the user-opened Details panel; the composer no longer carries separate PR and progress bars. BeforeAfterThe panel starts closed. The after capture shows it explicitly opened, with the draft preserved. Keyboard dismissal, narrow viewports, retained panes, progress actions, PR/CI interactions, and real-Gateway PR-reader lifetimes were checked. |
Resolve the earlier floating-progress implementation against main and reuse existing session, PR, automation, and progress owners in one manual Details surface. Co-authored-by: steipete <[email protected]> Co-authored-by: vyctorbrzezowski <[email protected]>
Worked on by: - @steipete - @vyctorbrzezowski Co-authored-by: steipete <[email protected]> Co-authored-by: vyctorbrzezowski <[email protected]> OpenClaw-Publication: fc8f5c86-570d-44a4-8fa5-ad14a8328c45
Extract the shared Details contract and consume it from the parent and child components without changing runtime behavior. The reproduced Madge cycle now passes with zero cycles. Co-authored-by: steipete <[email protected]> Co-authored-by: vyctorbrzezowski <[email protected]>
Worked on by: - @steipete - @vyctorbrzezowski Co-authored-by: steipete <[email protected]> Co-authored-by: vyctorbrzezowski <[email protected]> OpenClaw-Publication: 8fed78ae-9b16-49de-99bd-25d1fde28dd4
Details remains reachable with suggested tasksThe expanded regression sweep found that a suggested task could cover the Details trigger. The correction uses the existing conversation gutter to stack both controls instead of introducing competing overlay positions. Tall suggestion cards retain their bounded scrolling and reachable actions. Actual Control UI crops with synthetic data: BeforeAfterThe startup, suggestion-layout, combined Details, and view-only subagent scenarios passed together: 22 cases, including native pointer activation and scrolling. |
Stack Details with suggested tasks in the existing gutter and migrate retained progress fixtures through public disclosure controls. Preserve interaction identity when the rail temporarily fits so retained keyboard callbacks update the current preview owner. Co-authored-by: steipete <[email protected]> Co-authored-by: vyctorbrzezowski <[email protected]>
Worked on by: - @steipete - @vyctorbrzezowski Co-authored-by: steipete <[email protected]> Co-authored-by: vyctorbrzezowski <[email protected]> OpenClaw-Publication: 6f52d7c2-6d42-49a8-905e-5b894e955eb1
Error notices and Details remain reachable togetherThe side-chat reset regression reproduced a real overlap: Details covered the error-dismiss control in a narrow conversation pane. The correction gives notices and Details one shared layout row, while suggestions remain below them. Neither surface can cover the other’s controls. Actual Control UI crops with synthetic data: BeforeAfterThe four-file regression batch passed all 26 cases (73.84s), including native Details and error-dismiss clicks at 1200px and 390px, retained side-chat draft/reset behavior, suggestion layouts, startup reads, and combined Details behavior. |
Give topbar notices and Details one gutter header row, keeping suggestions below and unused overlay space pointer-transparent. Preserve compact composers and exercise native Details and error-dismiss clicks at desktop and mobile widths. Co-authored-by: steipete <[email protected]> Co-authored-by: vyctorbrzezowski <[email protected]>
Integrate the exact failing CI baseline aff6117 to preserve its newly added publication-availability matrix. Open Details through the existing public test helper before visibility checks, retaining all nine routing, state, explanation, recovery and no-publication assertions. The combined candidate passed 66 browser regression cases plus UI and E2E types, type-aware lint, styles, i18n verification, and independent review of the four-file delta against the executed CI merge. Co-authored-by: steipete <[email protected]> Co-authored-by: vyctorbrzezowski <[email protected]>
Worked on by: - @steipete - @vyctorbrzezowski Co-authored-by: steipete <[email protected]> Co-authored-by: vyctorbrzezowski <[email protected]> OpenClaw-Publication: 3fa6f55f-48d4-4874-a297-9b4d6a22295d
|
Merged via squash.
|
## What Problem This Solves The grouped Details control introduced by #161674 can cover the first widget's Pin to dashboard button in a narrow chat pane. This blocks Canvas and inline MCP App pinning. Related: #168315. ## User Impact Pin and widget actions remain visible and clickable without moving the transcript, composer, or Details control. No configuration or migration is required. ## Why This Change Was Made When a widget has insufficient room for its side toolbar, its actions already move above the widget. Align that fallback toolbar to the widget's left edge instead of its right edge, leaving the top-right Details gutter clear. Wide-pane side toolbars are unchanged. This replaces the earlier reserved-header fix, which shifted every transcript down by 38.59375px. The original absolute Details/notices/suggestions layout is restored. No geometry expectations, timeouts, or pointer checks were weakened. ## Evidence - Focused regression run: all 37 tests passed across `session-dashboard.e2e.test.ts`, `new-session-page.instant-thread.e2e.test.ts`, `chat-user-bubble-disclosure.e2e.test.ts`, and `chat-collaborator-scroll.e2e.test.ts`. This includes both previously blocked pin flows and all three reported geometry files. - Merged `origin/main` at `0aee279a71a`; on the integrated head, all four `chat-position-rail.e2e.test.ts` tests pass. The earlier 12px rail failure was eliminated by updating the stale base, not by changing tests. - Inspected final-head 1280×900 and 390×900 before/after captures below. The before captures temporarily restore the original right-aligned toolbar CSS in the same synthetic Canvas session. Pin hit-testing succeeds after the fix; transcript coordinates stay unchanged. - CSS stylelint, formatting, `lint:ui:no-raw-window-open`, and `git diff --check` passed. `node scripts/check-changed.mjs` stopped only at the existing stale max-lines entry for `src/commands/doctor-memory-search.test.ts`; no baseline changes are included. - Independent review found the obsolete reserved-header version in the index; that was replaced with the reviewed working-tree fix. It found no additional actionable defect in the replacement. ### Broader local run and remaining CI gate The local full-shard campaign completed E2E shards 1/8 and 2/8 successfully (422 and 384 tests). Shard 3 had two microphone-lifetime and two guest-publication failures; all four also reproduce on an isolated `origin/main` checkout (`c18324d1396`). Shard 4's rail failure now passes on the integrated head. The long local campaign was stopped as requested; remaining E2E shards and `checks-ui` are left to hosted CI. This is not a claim that the entire UI suite is green. ## Screenshots Same synthetic first-widget scenario, with Details visible: | 1280×900 before | 1280×900 after | | --- | --- | |  |  | | 390×900 before | 390×900 after | | --- | --- | |  |  | Co-authored-by: Ayaan Zaidi <[email protected]>
The Details layout fixture introduced in #161674 shrinks the browser window while still comparing sampled coordinates with its 900px anchor. Wait for ResizeObserver delivery and the next frame, then retain the new window's exact track and tick positions during composer growth. Preserve every case, exact equality, hidden-rail cutoff, and restoration check. No product code, sleeps, retries, or tolerance changes. Validation: controlled resize fails before and passes after; 30 pressured runs on four CPUs with two workers; nine full-file cases; typed and boundary lint; UI E2E types; independent P2 review. Owning shard 7/8 passes the rail cases and retains the two baseline dashboard pin failures covered by #168328. Check-changed retains unrelated unused-export failures.
The Details migration moved publication controls out of the composer but left the guest fixture looking for them before opening the new surface. Open the existing pull-request section before initial assertions and after connection or page recovery. Keep every shared-account, receipt, negative availability, and no-duplicate-publication assertion. Regressed in b883658 (#161674). This changes test navigation only; production publication and authorization behavior remain unchanged.
…w#161674) Group session context and task progress in a user-opened Details panel, retaining the existing PR, CI, progress, automation and session action owners. Preserve compact Home and embedded composer behavior. Keep Details, notices and suggested tasks reachable through one shared gutter layout. Preserve keyboard rail previews and migrate regression fixtures through public Details and media controls. Verified with 66 integrated browser regression cases, focused static checks, exact-head CI, independent review, and inspected before/after screenshots in the PR. Work session: https://team.openclaw.ai/chat/roboclaw/dashboard/61ac42fd-a7b1-464f-a55a-97171da6c6c9 Co-authored-by: steipete <[email protected]> Co-authored-by: vyctorbrzezowski <[email protected]>
## What Problem This Solves The grouped Details control introduced by openclaw#161674 can cover the first widget's Pin to dashboard button in a narrow chat pane. This blocks Canvas and inline MCP App pinning. Related: openclaw#168315. ## User Impact Pin and widget actions remain visible and clickable without moving the transcript, composer, or Details control. No configuration or migration is required. ## Why This Change Was Made When a widget has insufficient room for its side toolbar, its actions already move above the widget. Align that fallback toolbar to the widget's left edge instead of its right edge, leaving the top-right Details gutter clear. Wide-pane side toolbars are unchanged. This replaces the earlier reserved-header fix, which shifted every transcript down by 38.59375px. The original absolute Details/notices/suggestions layout is restored. No geometry expectations, timeouts, or pointer checks were weakened. ## Evidence - Focused regression run: all 37 tests passed across `session-dashboard.e2e.test.ts`, `new-session-page.instant-thread.e2e.test.ts`, `chat-user-bubble-disclosure.e2e.test.ts`, and `chat-collaborator-scroll.e2e.test.ts`. This includes both previously blocked pin flows and all three reported geometry files. - Merged `origin/main` at `8c6e1832f1c`; on the integrated head, all four `chat-position-rail.e2e.test.ts` tests pass. The earlier 12px rail failure was eliminated by updating the stale base, not by changing tests. - Inspected final-head 1280×900 and 390×900 before/after captures below. The before captures temporarily restore the original right-aligned toolbar CSS in the same synthetic Canvas session. Pin hit-testing succeeds after the fix; transcript coordinates stay unchanged. - CSS stylelint, formatting, `lint:ui:no-raw-window-open`, and `git diff --check` passed. `node scripts/check-changed.mjs` stopped only at the existing stale max-lines entry for `src/commands/doctor-memory-search.test.ts`; no baseline changes are included. - Independent review found the obsolete reserved-header version in the index; that was replaced with the reviewed working-tree fix. It found no additional actionable defect in the replacement. ### Broader local run and remaining CI gate The local full-shard campaign completed E2E shards 1/8 and 2/8 successfully (422 and 384 tests). Shard 3 had two microphone-lifetime and two guest-publication failures; all four also reproduce on an isolated `origin/main` checkout (`8d944c887f9`). Shard 4's rail failure now passes on the integrated head. The long local campaign was stopped as requested; remaining E2E shards and `checks-ui` are left to hosted CI. This is not a claim that the entire UI suite is green. ## Screenshots Same synthetic first-widget scenario, with Details visible: | 1280×900 before | 1280×900 after | | --- | --- | |  |  | | 390×900 before | 390×900 after | | --- | --- | |  |  | Co-authored-by: Ayaan Zaidi <[email protected]>
The Details layout fixture introduced in openclaw#161674 shrinks the browser window while still comparing sampled coordinates with its 900px anchor. Wait for ResizeObserver delivery and the next frame, then retain the new window's exact track and tick positions during composer growth. Preserve every case, exact equality, hidden-rail cutoff, and restoration check. No product code, sleeps, retries, or tolerance changes. Validation: controlled resize fails before and passes after; 30 pressured runs on four CPUs with two workers; nine full-file cases; typed and boundary lint; UI E2E types; independent P2 review. Owning shard 7/8 passes the rail cases and retains the two baseline dashboard pin failures covered by openclaw#168328. Check-changed retains unrelated unused-export failures.
The Details migration moved publication controls out of the composer but left the guest fixture looking for them before opening the new surface. Open the existing pull-request section before initial assertions and after connection or page recovery. Keep every shared-account, receipt, negative availability, and no-duplicate-publication assertion. Regressed in ebd658a (openclaw#161674). This changes test navigation only; production publication and authorization behavior remain unchanged.






Closes #161650
What Problem This Solves
Session context and task progress compete with the composer when they occupy separate PR and progress bars.
User Impact
Users can open one compact Details panel inside the conversation to inspect participants, workspace, pull requests, active helpers, automations, and task progress. Session details and progress collapse independently; updates do not open the panel or override a manual choice.
Existing PR/CI and progress actions retain their owners and permissions. Browser-local hiding, per-card dismissal, refresh, and clearing shared progress remain distinct. Compact Home and embedded composers retain their dock behavior. No configuration migration or server-state change is required.
Why This Change Was Made
The manually opened, top-right panel keeps related information together and stays bounded by the conversation and composer on desktop, mobile, split panes, and beside Browser. This replaces the earlier standalone floating-progress implementation rather than adding another placement preference.
The UI reuses current session metadata, PR publication/checks, live child activity, and automation inventory. Automation reads are lazy and session-scoped; stale results cannot cross session changes.
Evidence
Inspected before/after screenshots are embedded in the linked comment and were also delivered in the originating chat. The additional suggested-task comparison shows Details remaining reachable beside a suggested task. The notice comparison demonstrates separate, reachable error-dismiss and Details controls with side chat open.
Earlier failures were reproduced and repaired, not waived. Scoped reruns below cover their specific causes; failed or cancelled attempts remain historical.
CI corrections
8fd63d58085c, with independent frozen dependencies. The fixture was scrolling to an expand button that does not exist until lazy media enters view. It now scrolls the existing attachment title first; every gallery, native-control, keyboard, touch, fullscreen, focus and cleanup assertion remains unchanged. Both full cases passed (22.87s wall; 1.84s desktop / 2.09s touch). This was exact-source/dependency proof on Node 26, not an identical-host claim to CI’s Node 24.The same merged-source checkout also passed all 10 rail/Details sibling cases (93.77s suite), including the newer bottom-docked rail regression. The two-line gallery correction received a separate scoped-clean P0–P2 review.
Integrated the exact failing CI base (
aff6117e93512) to include its new nine-case publication-availability matrix. One public Details-opening call preserves its routing, availability and recovery checks. The integrated seven-file batch passed 66/66 cases in 137.52s with one worker; the four-file delta against CI’s tested merge received a clean P0–P2 review.Final exact-head CI completed successfully: 43 jobs passed, 22 were skipped, and none failed. The completed ClawSweeper review has no actionable findings.
Measured regression cost
Existing browser regressions were migrated, not skipped. They need actual layout, native input, retained DOM, or Gateway lifecycle behavior. These are observed per-file test times from passing full-file results, not aggregate CI wall time. Filtered mobile/Home repair runs are additional coverage. Hosted CI seconds are not available yet.
Command:
node scripts/run-vitest.mjs run --config test/vitest/vitest.ui-e2e.config.ts --configLoader runner <file>. Real-Gateway proof used the same selection through--isolated-imagewith a prepared image and pinned native pnpm.Worked on by
Work sessions
View the OpenClaw team session