Skip to content

feat(ui): group session context and task progress in Details - #161674

Merged
roboclaw-bot merged 15 commits into
mainfrom
openclaw/task-progress-on-the-right-side
Oct 10, 2026
Merged

roboclaw-bot merged 15 commits into
mainfrom
openclaw/task-progress-on-the-right-side

Conversation

@roboclaw-bot

@roboclaw-bot roboclaw-bot commented Sep 30, 2026 •

Copy link
Copy Markdown
Collaborator

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.

  • Independent full-candidate review: no actionable P0–P2 findings.
  • Focused unit batch: 105 tests passed; final owner-only rerun: 11 passed in 2.63s including wrapper, with one worker.
  • Actual Chromium component interactions: 5 passed in 1.32s, including native progress-menu clicks, independent disclosures, bounds, and focus return.
  • Control UI regression proofs cover publication/CI, permissions, retained panes, reconnect/offline choices, drafts, refresh/submit, scrolling, questions, mobile geometry, and actual compact-Home gestures. Final offline disclosure file: all 4 cases passed (47.15s suite; 25.56s test work).
  • Real Gateway PR-reader/workspace lifetime: 1 case passed in a network-isolated container (88.76s suite; 38.73s test work). Node, pinned pnpm, and Chromium preflight passed; container absence confirmed. This uses a real Gateway with synthetic service fixtures, not an authenticated GitHub API test.
  • Selected source/style/type/format/i18n/dependency checks passed, including all 13 affected test type graphs. Final disclosure/fixture changes received targeted lint, formatting, and E2E type checks.

Earlier failures were reproduced and repaired, not waived. Scoped reruns below cover their specific causes; failed or cancelled attempts remain historical.

CI corrections

  • Reproduced and removed the Details type-import cycle through a shared dependency-only props contract. The exact Madge gate reports zero cycles; UI/chat-test types, unit/Chromium tests, scoped lint and independent review passed.
  • Migrated remaining startup, archive-action, view-only and rail fixtures through public Details controls. The startup case retains global-session/agent routing, delayed inference, sending, streaming and RPC-count assertions. It addresses the prior ClawSweeper finding.
  • Fixed suggested-task and error-dismiss overlaps through the existing conversation gutter: notices and Details share one layout row, with suggestions below. Both controls remain independently clickable at 1200px and 390px; the four-file regression batch passed 26/26 cases (73.84s), retaining side-chat draft/reset behavior, suggestion layouts and startup reads. UI types, type-aware lint and styles passed. Inspected comparisons are linked above.
  • Preserved rail interaction identity when overflow disappears, preventing retained marker callbacks from updating discarded state. The failing keyboard preview was reproduced twice. All six sizes/directions retain real overflow, exact end-position checks, anchor sampling and keyboard/preview assertions. The six-file batch passed 27/27 cases in 96.48s with one worker; fresh P0–P2 review of the nine-file correction found no actionable findings.
  • Reproduced both video-gallery CI failures on its exact tested merge 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-image with a prepared image and pinned native pnpm.

E2E file Cases Test seconds
session-details-progress 1 6.29
chat-pr-publication-state 4 7.48
chat-ci-details 7 9.34
session-pull-requests 1 2.46
chat-pr-refresh-replay 1 17.36
question-flow 19 24.77
session-management.archive 10 30.62
chat-pull-requests 12 13.96
chat-github-publication 20 28.32
session-progress-live-placement 9 22.89
chat-session-diff 9 13.39
chat-scroll 4 13.60
session-progress-startup 6 6.47
chat-scope-read-gates 2 2.73
session-progress-preference 1 7.05
session-progress-widget 11 13.78
chat-composer-redesign 8 14.16
chat-footer 2 16.42
session-progress-refresh 3 4.16
session-progress-submit 7 11.13
chat-retained-pane-escape 1 1.38
question-progress 3 11.15
chat-scroll-dock 8 54.59
session-progress-disclosure 4 25.56
session-pr-reader-lifetime.real-gateway 1 38.73

Worked on by

Work sessions


View the OpenClaw team session

roboclaw-bot and others added 2 commits September 30, 2026 06:02
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
@clawsweeper

clawsweeper Bot commented Sep 30, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

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

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation app: web-ui App: web-ui size: XL labels Sep 30, 2026
@clawsweeper clawsweeper Bot added P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. proof: sufficient ClawSweeper judged the real behavior proof convincing. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. labels Sep 30, 2026
@clawsweeper

clawsweeper Bot commented Sep 30, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge.

What this changes

This 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.

  • Before: Separate PR and task-progress bars occupy space above the composer.
  • After: Details shows the session context and checklist in independently collapsible sections while preserving the draft.

Review scores

Measure Result What it means
Overall readiness 🦞 diamond lobster (5/6) The directed feature has inspected UI proof, coherent ownership, and no actionable findings; pending exact-head CI remains a landing gate.
Proof confidence 🦞 diamond lobster (5/6) ✨ media proof bonus Sufficient (screenshot): Inspected actual Control UI screenshots with synthetic session data show the composer bars replaced by Details, the draft preserved, and Details reachable beside suggestions; supplied browser evidence additionally covers disclosures, actions, retained panes, and compact Home behavior.
Patch quality 🦞 diamond lobster (5/6) No actionable review findings were identified.

Product

Kind: Feature · Worth it: Yes · Fix scope: Complete
User problem: Separate session-context and progress bars consume conversation space above the composer.
Reason: The collaborator-authored PR records the revised direction and delivers a discoverable consolidated surface without adding a placement setting.

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
Reviewed head: 667bf5ea0ffa416761683d4412ae850afe48ba84

Before merge

None.

Findings

None.

Agent review details

How this fits together

The 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]
Loading

Technical review

Best 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

  • Composer PR and progress placement changes intended behavior with a stated reason (2cc8b43: The existing bounded footer stack kept persistent context and editor controls reachable; the PR explains replacing those bars with manually opened Details.)
  • Progress disclosure memory and gestures keeps the original intent (335e80d: Disclosure handling prevents unwanted reopening during transcript navigation; Details preserves manual choices while compact Home retains gesture behavior.)
  • Progress card lifetime memory keeps the original intent (3b1c840: Manual disclosure choices survive messages and revisions and reset only for a confirmed replacement card.)
  • Position-rail overflow reset keeps the original intent (b1c3004: The rail hides when conversation content fits; the correction preserves that reset while retaining the interaction object used by marker callbacks.)

Testing

Proof path: shipped entry point.

Security

None.

Evidence

What I checked:

Likely related people:

  • Vyctor H. Brzezowski: Raw commit 335e80d adds ui/src/components/session-progress-disclosure-controller.ts:38 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 335e80dc8fc1; files: ui/src/components/session-progress-disclosure-controller.ts)
  • Peter Steinberger: Raw commit 2d54be3 adds ui/src/pages/chat/components/chat-pull-requests.ts:118 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 2d54be31ba68; files: ui/src/pages/chat/components/chat-pull-requests.ts)
  • RoboClaw: Raw commit 3b1c840 adds ui/src/components/session-progress-disclosure-controller.ts:37 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 3b1c840e2d6a; files: ui/src/components/session-progress-disclosure-controller.ts)

PR surface

Source +1478, Tests +1530, Docs +19. Total +3027 across 64 files. Added test files: 6.

View PR surface stats
Area Files Added Removed Net
Source 21 1534 56 +1478
Tests 41 2182 652 +1530
Docs 2 44 25 +19
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 64 3760 733 +3027

Root-cause cluster

Relationship: fixed_by_candidate
Canonical: #161650
Summary: The linked issue owns the central request to recover composer space; this PR supplies the revised Details implementation.

Members:

Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything.

Labels

Label changes:

No label changes.

Label justifications:

  • P3: This improves conversation layout and access to existing context without repairing an urgent broken workflow.
  • rating: 🦞 diamond lobster: Overall readiness is 🦞 diamond lobster; proof is 🦞 diamond lobster and patch quality is 🦞 diamond lobster.
  • 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.

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 need explicit maintainer commands such as @clawsweeper autofix or @clawsweeper automerge.

History

Review history (5 earlier review cycles)
  • reviewed 2026-09-30T06:12:46.769Z sha 88fdf1a :: blocked before merge. :: [P2] Show progress feedback while the side region loads
  • reviewed 2026-09-30T15:38:41.634Z sha 3471e75 :: blocked before merge. :: none
  • reviewed 2026-10-10T05:38:31.481Z sha 465def4 :: needs changes before merge. :: none
  • reviewed 2026-10-10T05:49:08.433Z sha f6a6fca :: needs changes before merge. :: [P2] [P2] Open Details in the startup progress regression
  • reviewed 2026-10-10T06:46:21.654Z sha e68228d :: needs maintainer review before merge. :: none

Reviewed October 10, 2026, 3:10 AM ET / 07:10 UTC (Revision 6).

roboclaw-bot and others added 2 commits September 30, 2026 15:28
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
@roboclaw-bot roboclaw-bot changed the title feat(ui): show task progress in the free side panel feat(ui): float task progress above the conversation Sep 30, 2026
@roboclaw-bot

Copy link
Copy Markdown
Collaborator Author

Updated Details integration — visual evidence

Actual 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.

Before

Before: separate PR and task-progress bars above the composer

After

After: compact session Details with independent task progress

The 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.

roboclaw-bot and others added 2 commits October 10, 2026 05:25
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
@roboclaw-bot
roboclaw-bot marked this pull request as ready for review October 10, 2026 05:30
@roboclaw-bot roboclaw-bot changed the title feat(ui): float task progress above the conversation feat(ui): group session context and task progress in Details Oct 10, 2026
@clawsweeper clawsweeper Bot added rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. and removed rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. labels Oct 10, 2026
roboclaw-bot and others added 2 commits October 10, 2026 05:40
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
@clawsweeper clawsweeper Bot added rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. and removed rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. labels Oct 10, 2026
@roboclaw-bot

Copy link
Copy Markdown
Collaborator Author

Details remains reachable with suggested tasks

The 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:

Before

Before: suggested task covers the Details trigger

After

After: Details and the suggested task share one stacked gutter

The startup, suggestion-layout, combined Details, and view-only subagent scenarios passed together: 22 cases, including native pointer activation and scrolling.

roboclaw-bot and others added 2 commits October 10, 2026 06:18
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
@roboclaw-bot

Copy link
Copy Markdown
Collaborator Author

Error notices and Details remain reachable together

The 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:

Before

Before: Details covers the error-dismiss control

After

After: error dismissal and Details occupy separate layout columns

The 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.

roboclaw-bot and others added 3 commits October 10, 2026 06:56
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
@roboclaw-bot
roboclaw-bot merged commit b883658 into main Oct 10, 2026
114 checks passed
@roboclaw-bot
roboclaw-bot deleted the openclaw/task-progress-on-the-right-side branch October 10, 2026 07:19
@roboclaw-bot

Copy link
Copy Markdown
Collaborator Author

Merged via squash.

obviyus added a commit that referenced this pull request Oct 10, 2026
## 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 |
| --- | --- |
| ![Before: Details covers the focused Pin button](https://github.com/user-attachments/assets/b3ef6673-5754-4d6c-b2b8-d8c8c9ccc8be) | ![After: left-aligned widget actions leave Details clear](https://github.com/user-attachments/assets/73a7ba16-50c0-48e0-98a2-24bb812d9b9c) |

| 390×900 before | 390×900 after |
| --- | --- |
| ![Mobile before: Details covers Pin](https://github.com/user-attachments/assets/6c704f9e-508b-45f3-95c3-67c99be2ff86) | ![Mobile after: Pin and Details remain separate without a transcript shift](https://github.com/user-attachments/assets/813a33ab-6bd4-4463-a001-6aab140a4eef) |

Co-authored-by: Ayaan Zaidi <[email protected]>
steipete added a commit that referenced this pull request Oct 10, 2026
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.
steipete added a commit that referenced this pull request Oct 10, 2026
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.
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 11, 2026
…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]>
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 11, 2026
## 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 |
| --- | --- |
| ![Before: Details covers the focused Pin button](https://github.com/user-attachments/assets/b3ef6673-5754-4d6c-b2b8-d8c8c9ccc8be) | ![After: left-aligned widget actions leave Details clear](https://github.com/user-attachments/assets/73a7ba16-50c0-48e0-98a2-24bb812d9b9c) |

| 390×900 before | 390×900 after |
| --- | --- |
| ![Mobile before: Details covers Pin](https://github.com/user-attachments/assets/6c704f9e-508b-45f3-95c3-67c99be2ff86) | ![Mobile after: Pin and Details remain separate without a transcript shift](https://github.com/user-attachments/assets/813a33ab-6bd4-4463-a001-6aab140a4eef) |

Co-authored-by: Ayaan Zaidi <[email protected]>
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 11, 2026
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.
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 11, 2026
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.
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 P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🦞 diamond lobster Very strong PR readiness with only minor maintainer review expected. size: XL 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.

[Feature]: Float task progress above the conversation

1 participant