Skip to content

refactor(ui): port chat rails and header views to Solid - #169442

Merged
steipete merged 14 commits into
mainfrom
solid2/w-chat-7b
Oct 12, 2026
Merged

steipete merged 14 commits into
mainfrom
solid2/w-chat-7b

Conversation

@steipete

@steipete steipete commented Oct 11, 2026 •

Copy link
Copy Markdown
Contributor

What Problem This Solves

Ports the chat session rails, header controls, placement, sharing, activity, suggestions, swarm progress, and workspace-conflict views from Lit to Solid. Each registered tag has one implementation, with existing Lit callers using the shared Solid bridge. Tags, classes, routes, selectors, and lazy boundaries are preserved; no dependency or startup import was added.

Synchronous session and workspace owners remain plain TypeScript. The pane publishes a shallow companion view so Solid observes owner mutations, and retained image reads query current attachment membership so Clear cannot resurrect an old image. Header menus retain focus and execute Layout actions after closing. Direct Solid composition fixes compact Sharing rendering only Back. Two native-header CSS descendant selectors preserve safe insets through the display-contents adapter. Existing legacy menu and attachment fragments stay at their owning migration seams.

Main's current Share/Layout/overflow header, Versions menu, running-subagent summary, and labelled Incognito control/limits notice are included. The Incognito conflict resolution keeps the Solid facade and adopts main's exact classes, copy, tooltip activation, and canonical-key fallback. The coupled Versions-menu interface re-exports its existing bridge factory; domain ownership is unchanged.

Evidence

Check Result
Scoped component/owner tests Original 217 cases across 16 files passed serially; affected integration cases replayed: 45 header, 23 header-menu, 2 toolbar retention, 12 sharing, 25 pane-menu, and 22 headline cases pass
Menu browser proof 7 cases each in Chromium/WebKit pass; Versions retained-header/help/presentation passes in both engines
Rail/companion/dashboard E2E 50 selected contracts have passing evidence; all 6 Clear cases replayed after the retained attachment repair
Header/navigation/native E2E All 26 selected cases pass, including Linux 1280px and Windows 720px safe clearance
Incognito E2E Existing recovery file passes unchanged on base and Solid candidate; fresh-session and expired/failed-message states captured and inspected
Instant-thread geometry Both targeted cases pass with original tolerance
UI types, scoped lint/format/styles, Lit guard, i18n, baseline ratchets, diff UI typecheck and scoped header lint pass after main's declaration-export repair; other unchanged-contract checks retain passing proof
Visual proof Desktop/menu parity: 0/2 failing differences against prior integrated base, with 532 one-level raster-noise pixels. Inspected mobile/native pairs retained. New Incognito pair preserves label, notice geometry, and copy
Production builds and strict same-machine performance Base/candidate pass: startup JS 410,094 → 410,044 B gzip (-50 B); CSS 2 → 2 requests, 50,124 B gzip unchanged; chat/new boot requests 30/27 → 30/27
Independent review Earlier full-port and six-file repair reviews have no actionable P0–P2 findings. Latest review's Sharing keyboard finding is declined: installed Solid 2 delegates at the render container, ahead of Web Awesome's document listener; focused Chromium/WebKit editing/navigation proof validates this
Hosted CI ci:full enabled for every UI shard; all78 exact-head CI jobs pass. Native auto-merge landed head cca2ad861619 as b3d76a9a100e182b53cdcb5578daff3a6a6a44ca with no waived checks

Renderer LOC for the changed migrated families against main 37064938ac97: 2,824 → 3,308 (+484). Growth comes from typed bridge contracts and stable Solid boundaries needed to preserve retained DOM. The coupled pane publication adds three production lines outside this count. No new domain abstraction or synchronized state owner is introduced.

The retained-panel and compact Sharing failures were reproduced before their respective repairs. The native header regression expected 90px clearance and received 12px before the selector repair; all 26 header/native cases now pass. Import ordering and the menu import cycle were repaired. Main's help IDs and parked-overlay retirement remain with their existing owners.

Two wrapper-inventory failures reproduced identically on prior pinned base 8bfda3d9051; newer main includes the missing inventory entry. During the Incognito integration, UI type/lint preparation found main's missing isSteerConfirmationRewrite export; main's subsequent one-file repair switches to its canonical admission-preservation helper. The first fresh baseline build needed existing per-package dependency links; this was a checkout-layout failure, with no dependency changes or borrowed-install reconciliation.

Investigated uncertainty remains recorded: a historical Vitest worker exited after seven passing menu cases without an assertion failure; the complete file now passes 23/23, which does not explain the earlier exit. Prior CI's avatar fetch-count failure remains unattributed: selected cases pass on the pinned base under Node/Bun and the candidate's four-case file passes under Bun. All three current UI unit shards pass; the historical avatar failure cause remains unexplained. Scoped rail lint has one nonblocking advisory for an intentional getter that reads current props when invoked.

Local proof uses --maxWorkers=1: original rail5.75s, activity5.86s, workspace rail3.34s, toolbar6.30s; full header-menu 48.03s; header browser Chromium 62.65s/WebKit 24.04s; three header E2E files 686.23s including setup/build; final Clear file 155.73s including build/setup (27.76s file tests); Incognito header 57.89s, before/after recovery 40.59s/14.56s. Focused Sharing keyboard probe: Chromium 4.14s and WebKit under Node 29.56s. The first WebKit/Bun attempt failed to connect before any tests ran (60.01s); its startup cause remains unexplained and is not claimed repaired by the Node replay. Hosted CI run 38243455391 passes all78 jobs on exact head cca2ad861619. UI job runner time: unit shards332/425/300s; nine E2E shards285–799s each; real-Gateway shards688/724s. Total selected UI runner time8040s (parallel jobs, not elapsed wall time). Testbox was tried once and stopped; no active lease, whole-repository local suite, or local container.

Screenshots

Before/after captures use the same synthetic fixtures and desktop-light viewport. The baseline is 8bfda3d9051; the candidate contains its integrated header behavior.

Before: chat header

After: Solid chat header

Before: open session menu

After: Solid session menu

Earlier inspected mobile-rail comparison (its renderer is unchanged by the final header integration):

Before: mobile session rail

After: Solid mobile session rail

Inspected synthetic native Linux header, using the same fixture at 1280×900. The baseline uses the pinned base build; the candidate restores the same safe clearance.

Before: native Linux header

After: Solid native Linux header

Inspected synthetic Incognito fresh-session state (same existing recovery fixture, 1280×900). The baseline's incidental composer hover tooltip is outside the changed header; this pair is manual visual evidence, not a full-image byte-parity claim.

Before: Incognito identity and limits

After: Solid Incognito identity and limits

Preserve lazy registration and existing tags through the Solid bridge. Keep synchronous session and workspace owners, native event ordering, focused controls, open menus, and selected text across view refreshes.
@clawsweeper

clawsweeper Bot commented Oct 11, 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.

@clawsweeper

clawsweeper Bot commented Oct 11, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs changes before merge.

What this changes

This PR replaces Lit chat headers, session rails, and related views with Solid renderers using the existing state owners and interoperability bridges.

Example: Open the session menu for the “Visual parity” conversation.

  • Before: The Lit header displays View, Pin session, Rename, and Archive session.
  • After: The Solid header displays the same controls and layout.

Review scores

Measure Result What it means
Overall readiness 🦞 diamond lobster (5/6) Approved migration with inspected visual evidence, meaningful retention coverage, and no actionable patch finding; unresolved CI metadata state remains a landing gate.
Proof confidence 🦞 diamond lobster (5/6) ✨ media proof bonus Sufficient (screenshot): Inspected browser screenshots exercise the migrated desktop header and open session menu with matching synthetic fixtures; the body additionally records Chromium/WebKit focus, rail, Clear, native-spacing, and Incognito scenarios, without this review independently replaying them.
Patch quality 🦞 diamond lobster (5/6) No actionable review findings were identified.

Product

Kind: Refactor · Worth it: Yes · Fix scope: Complete
User problem: The remaining Lit chat surfaces require migration while users retain working menus, focus, selected text, and session controls.
Reason: The maintainer-authored direction matches the explicit Solid migration policy, and the changed views retain their existing domain owners.

Merge readiness

⛔ Needs changes before merge - 1 item remains

Keep open: this PR advances the approved Solid migration while preserving existing chat owners and controls. No actionable patch defect was found; the earlier conflict and compact Sharing concerns are resolved.

Priority: P2
Reviewed head: cca2ad861619ed495ed5e1feafbea97704bcfcb3

Before merge

  • Complete next step - Have the PR-context check owner inspect the failed event input and reconcile the missing-sections result with the current PR body.

Findings

None.

Agent review details

How this fits together

The Control UI consumes Gateway session facts and synchronous pane owners, renders chat controls and rails, and forwards user actions to the existing controllers.

flowchart LR
  Gateway[Gateway session facts] --> Owners[Synchronous pane owners]
  Owners --> Bridge[Shared rendering bridges]
  Bridge --> Views[Solid chat views]
  Views --> DOM[Browser controls and rails]
  DOM --> Controllers[Existing action controllers]
  Controllers --> Gateway
Loading

Technical review

Best possible solution:

Land the Solid renderers through the existing bridges after the current-head gates are satisfied.

Do we have a high-confidence way to reproduce the issue?

This is a renderer refactor; source comparisons and supplied browser evidence establish the preservation target, and no target code was executed during this read-only review.

Is this the best way to solve the issue?

The migration uses the repository’s established Solid bridges, preserves synchronous owners and lazy loading, and removes the replaced Lit implementations.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against 6a3b7067d5e9.

Provenance checked

  • Chat header identity and controls keeps the original intent (00a6ecb: Provide an always-visible title bar with inline rename and workspace actions; later main changes consolidate Layout controls and identify Incognito sessions.)
  • Side chat rail keeps the original intent (a95486c: Unify session observation and read-only companion questions in one session-scoped rail.)
  • Sharing and participation controls keeps the original intent (6251343: Expose owner-managed visibility and membership while keeping participation enforcement at the Gateway.)
  • Workspace file rail keeps the original intent (cbc2458: Use one scroll region, filter chips, and native disclosures that preserve user toggles across ordinary refreshes.)
  • Activity headline cadence keeps the original intent (8426973: Keep operation purpose readable for three seconds while preserving urgent failures, outcomes, and disclosure state.)
  • Swarm progress keeps the original intent (b66ab5b: Keep authorized child outcomes visible after completion without treating child completion as parent synthesis.)
  • Placement and workspace conflicts keeps the original intent (64607ba: Present cloud workspace conflicts and recovery information through existing session and workspace owners.)

Testing

Proof path: shipped entry point.

Security

None.

Evidence

What I checked:

  • Introduced patch: Reviewed the pinned introduced changes, original renderer implementations, migrated callers, and affected test changes; the patch retains domain ownership and replaces the migrated Lit renderers. (cca2ad861619)
  • Migration policy: Root and UI policies preserve synchronous owners, existing tags, shared bridges, lazy boundaries, and inspected visual parity; no scoped ancestor policies or maintainer-notes directory were present beyond ui/AGENTS.md. (ui/AGENTS.md:5, cca2ad861619)
  • Prior blockers resolved: GitHub reports the reviewed head as mergeable; the Solid header retains main’s Incognito identification and limits notice, and compact Sharing composes its items directly inside the dropdown. (ui/src/pages/chat/components/chat-pane-header.tsx:319, cca2ad861619)
  • Inspected visual evidence: Inspected the downloaded desktop header and open-menu before/after images; both pairs preserve the visible controls, geometry, and transcript presentation.
  • Authority and stored-state preservation: Sharing retains owner/admin restrictions and existing scoped mutation callbacks; session visibility values and schemas are unchanged, and no persistent format, configuration default, dependency, or permission change is introduced. (ui/src/pages/chat/components/chat-session-sharing.solid.tsx:49, cca2ad861619)
  • Related lifecycle repair: The merged repair at fix(ui): restore chat disclosure and media lifecycles #169468 owns nested activity and media lifecycle corrections; its stated boundary is distinct from this renderer migration. (4cbe7e6858b8)

PR surface

Source +495, Tests +222, Other -2. Total +715 across 59 files. Added test files: 0.

View PR surface stats
Area Files Added Removed Net
Source 40 3399 2904 +495
Tests 18 382 160 +222
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 1 0 2 -2
Total 59 3781 3066 +715

Labels

Label changes:

No label changes.

Label justifications:

  • P2: This is a useful, approved Control UI renderer migration without an identified urgent user-facing regression.
  • rating: 🦞 diamond lobster: Overall readiness is 🦞 diamond lobster; proof is 🦞 diamond lobster and patch quality is 🦞 diamond lobster.
  • status: ⏳ waiting on author: ClawSweeper has contributor-facing work open and is waiting for author action.
  • 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 execution lanes are retired.

History

Review history (14 earlier review cycles; latest 8 shown)
  • reviewed 2026-10-12T06:20:15.830Z sha 9be8203 :: needs changes before merge. :: none
  • reviewed 2026-10-12T06:33:34.818Z sha 186b80e :: needs changes before merge. :: [P2] Break the header-menu facade import cycle
  • reviewed 2026-10-12T07:42:42.755Z sha 3d2f831 :: needs changes before merge. :: [P2] Keep the terminal template out of the new Solid module
  • reviewed 2026-10-12T08:51:20.197Z sha 3d2f831 :: needs changes before merge. :: [P2] Keep the terminal template out of the new Solid module
  • reviewed 2026-10-12T09:02:37.677Z sha 3d2f831 :: needs changes before merge. :: [P2] Keep the terminal template out of the new Solid module
  • reviewed 2026-10-12T09:40:30.701Z sha e7e63ca :: blocked before merge. :: none
  • reviewed 2026-10-12T10:31:21.545Z sha d53b6c4 :: needs changes before merge. :: [P2] Render compact Sharing items directly inside the dropdown
  • reviewed 2026-10-12T11:18:38.937Z sha fe457e1 :: needs changes before merge. :: none

Reviewed October 12, 2026, 7:44 AM ET / 11:44 UTC (Revision 15).

obviyus added a commit that referenced this pull request Oct 12, 2026
Related: #168887, #169439, #169441

## What Problem This Solves

Fixes missing nested chat activity and stale media resources after the Solid transcript migration, restoring 20 failing `checks-ui` cases inherited by unrelated PRs.

## User Impact

Expanded activity shows its nested calls again. Parked image and video previews release their resources and reconnect through the existing scope-checked caches. No settings, protocol, storage, or migration changes.

## Why This Change Was Made

Keep deferred tool-card children inside their existing Lit-owned range instead of creating nested Solid roots that are retired while parked. Bind image and video resource lifetimes to the existing Solid presentation context. Update lifecycle fixtures to await the documented deferred Solid disposal boundary without removing or weakening any assertions.

Checked steipete's open UI PRs before editing. #169442 overlaps the activity headline, not these repairs. #169346 has green UI results on an older tree, but its head lacks the later bridge changes and does not repair these current-main failures. No overlap with Pash/Sarah changes.

## Evidence

- Baseline `a9b40cf325e`: all **20 reported failures reproduced** across eight files (116 other cases passed).
- Rebased onto current main, including #169439 and #169441: **190 tests passed across 10 files**, including all 20 failures plus media handoff and native media siblings.
- `pnpm tsgo:ui`: passed.
- `pnpm run tsgo:test:ui`: all UI shards passed.
- Changed-file oxlint/oxfmt, line-cap ratchet against `origin/main`, and `git diff --check`: passed.
- Independent P0–P2 review: no actionable findings.
- Original failing CI: [shard 2](https://github.com/openclaw/openclaw/actions/runs/38184982892/job/114605449166), [shard 3](https://github.com/openclaw/openclaw/actions/runs/38184982892/job/114605449173), and [image admission run](https://github.com/openclaw/openclaw/actions/runs/38184424359).

### Expanded activity, before and after

Captured from the same Chromium fixture and inspected. Before: the opened parent has no nested calls. After: the calls render and the original height/collapse assertions pass.

| Before | After |
| --- | --- |
| ![Expanded activity missing nested calls](https://github.com/user-attachments/assets/28225f6e-0c93-4bc6-a2bc-6a6467f4e138) | ![Expanded activity displaying nested calls](https://github.com/user-attachments/assets/81afcf4b-f661-4e61-a923-c6fbfed2ad58) |
| ![Opened lone step missing nested calls](https://github.com/user-attachments/assets/8858d53c-456e-4f6f-91e2-326a0a586a61) | ![Opened lone step displaying nested calls](https://github.com/user-attachments/assets/d12fce94-8055-4483-bf4a-db81ef527a03) |

<details>
<summary>Per-test disposition: all 20 fixed</summary>

| Test file | Previously failing cases | Status |
| --- | --- | --- |
| `chat-activity-layout.browser.test.ts` | Expanded height and collapse, standalone | fixed |
| `chat-activity-layout.browser.test.ts` | Expanded height and collapse, inline | fixed |
| `chat-activity-layout.browser.test.ts` | Opened lone step with routine nested calls | fixed |
| `chat-activity-disclosure.test.ts` | Settled completed step with routine nested calls | fixed |
| `chat-position-rail.test.ts` | Focused previews, pointer exit, removal, and session reset | fixed |
| `chat-message-attachment-admission.test.ts` | Stale admission after source replacement/disconnect | fixed |
| `chat-message-text-chip-admission.test.ts` | Stale comment observations | fixed |
| `chat-message-text-chip-admission.test.ts` | Stale paste observations | fixed |
| `chat-transcript-invalidation.test.ts` | Hidden video preview, rendered parent | fixed |
| `chat-transcript-invalidation.test.ts` | Hidden video preview, parked parent | fixed |
| `chat-message-media-lifecycle.test.ts` | Guarded managed image reconnect | fixed |
| `chat-message-image-admission.test.ts` | Loaded assistant image remount | fixed |
| `chat-message-image-admission.test.ts` | Loaded assistant image reconnect | fixed |
| `chat-message-image-admission.test.ts` | Detached image after authToken change | fixed |
| `chat-message-image-admission.test.ts` | Detached image after sessionKey change | fixed |
| `chat-message-image-admission.test.ts` | Detached image after agentId change | fixed |
| `chat-message-image-admission.test.ts` | Detached image after connectionEpoch change | fixed |
| `chat-message-image-admission.test.ts` | Detached image after resourceBasePath change | fixed |
| `chat-message-image-admission.test.ts` | Detached image after policyKey change | fixed |
| `chat-message-image-admission.test.ts` | Detached image after expiry | fixed |

No reported case was already fixed on the captured main baseline. The managed-image remount sibling already passed and continues to pass.
</details>

Two-way door: reverting restores the prior rendering/resource behavior without changing persistent state. Blast radius is Control UI chat activity disclosure and image/video preview lifecycles.

Co-authored-by: Ayaan Zaidi <[email protected]>
Preserve current main behavior for opt-in speech bubbles and readable activity headers while retaining the Solid renderers. Resolve lazy portal and companion imports without introducing an eager route dependency.
@clawsweeper clawsweeper Bot added P2 Normal backlog priority with limited blast radius. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. labels Oct 12, 2026
@clawsweeper clawsweeper Bot added the proof: sufficient ClawSweeper judged the real behavior proof convincing. label Oct 12, 2026
@steipete
steipete marked this pull request as ready for review October 12, 2026 03:23
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 12, 2026
Related: openclaw#168887, openclaw#169439, openclaw#169441

## What Problem This Solves

Fixes missing nested chat activity and stale media resources after the Solid transcript migration, restoring 20 failing `checks-ui` cases inherited by unrelated PRs.

## User Impact

Expanded activity shows its nested calls again. Parked image and video previews release their resources and reconnect through the existing scope-checked caches. No settings, protocol, storage, or migration changes.

## Why This Change Was Made

Keep deferred tool-card children inside their existing Lit-owned range instead of creating nested Solid roots that are retired while parked. Bind image and video resource lifetimes to the existing Solid presentation context. Update lifecycle fixtures to await the documented deferred Solid disposal boundary without removing or weakening any assertions.

Checked steipete's open UI PRs before editing. openclaw#169442 overlaps the activity headline, not these repairs. openclaw#169346 has green UI results on an older tree, but its head lacks the later bridge changes and does not repair these current-main failures. No overlap with Pash/Sarah changes.

## Evidence

- Baseline `1bb91e30fd5`: all **20 reported failures reproduced** across eight files (116 other cases passed).
- Rebased onto current main, including openclaw#169439 and openclaw#169441: **190 tests passed across 10 files**, including all 20 failures plus media handoff and native media siblings.
- `pnpm tsgo:ui`: passed.
- `pnpm run tsgo:test:ui`: all UI shards passed.
- Changed-file oxlint/oxfmt, line-cap ratchet against `origin/main`, and `git diff --check`: passed.
- Independent P0–P2 review: no actionable findings.
- Original failing CI: [shard 2](https://github.com/openclaw/openclaw/actions/runs/38184982892/job/114605449166), [shard 3](https://github.com/openclaw/openclaw/actions/runs/38184982892/job/114605449173), and [image admission run](https://github.com/openclaw/openclaw/actions/runs/38184424359).

### Expanded activity, before and after

Captured from the same Chromium fixture and inspected. Before: the opened parent has no nested calls. After: the calls render and the original height/collapse assertions pass.

| Before | After |
| --- | --- |
| ![Expanded activity missing nested calls](https://github.com/user-attachments/assets/28225f6e-0c93-4bc6-a2bc-6a6467f4e138) | ![Expanded activity displaying nested calls](https://github.com/user-attachments/assets/81afcf4b-f661-4e61-a923-c6fbfed2ad58) |
| ![Opened lone step missing nested calls](https://github.com/user-attachments/assets/8858d53c-456e-4f6f-91e2-326a0a586a61) | ![Opened lone step displaying nested calls](https://github.com/user-attachments/assets/d12fce94-8055-4483-bf4a-db81ef527a03) |

<details>
<summary>Per-test disposition: all 20 fixed</summary>

| Test file | Previously failing cases | Status |
| --- | --- | --- |
| `chat-activity-layout.browser.test.ts` | Expanded height and collapse, standalone | fixed |
| `chat-activity-layout.browser.test.ts` | Expanded height and collapse, inline | fixed |
| `chat-activity-layout.browser.test.ts` | Opened lone step with routine nested calls | fixed |
| `chat-activity-disclosure.test.ts` | Settled completed step with routine nested calls | fixed |
| `chat-position-rail.test.ts` | Focused previews, pointer exit, removal, and session reset | fixed |
| `chat-message-attachment-admission.test.ts` | Stale admission after source replacement/disconnect | fixed |
| `chat-message-text-chip-admission.test.ts` | Stale comment observations | fixed |
| `chat-message-text-chip-admission.test.ts` | Stale paste observations | fixed |
| `chat-transcript-invalidation.test.ts` | Hidden video preview, rendered parent | fixed |
| `chat-transcript-invalidation.test.ts` | Hidden video preview, parked parent | fixed |
| `chat-message-media-lifecycle.test.ts` | Guarded managed image reconnect | fixed |
| `chat-message-image-admission.test.ts` | Loaded assistant image remount | fixed |
| `chat-message-image-admission.test.ts` | Loaded assistant image reconnect | fixed |
| `chat-message-image-admission.test.ts` | Detached image after authToken change | fixed |
| `chat-message-image-admission.test.ts` | Detached image after sessionKey change | fixed |
| `chat-message-image-admission.test.ts` | Detached image after agentId change | fixed |
| `chat-message-image-admission.test.ts` | Detached image after connectionEpoch change | fixed |
| `chat-message-image-admission.test.ts` | Detached image after resourceBasePath change | fixed |
| `chat-message-image-admission.test.ts` | Detached image after policyKey change | fixed |
| `chat-message-image-admission.test.ts` | Detached image after expiry | fixed |

No reported case was already fixed on the captured main baseline. The managed-image remount sibling already passed and continues to pass.
</details>

Two-way door: reverting restores the prior rendering/resource behavior without changing persistent state. Blast radius is Control UI chat activity disclosure and image/video preview lifecycles.

Co-authored-by: Ayaan Zaidi <[email protected]>
Keep the visibility values dependency-free for UI consumers, preserve the existing schema export, and prune retired assertion allowances.
Retain the Solid header unmount before mounting the migrated sidebar editor menu. Chromium and WebKit header cases, 46 header tests, 19 rail tests, scoped header E2E, UI types and base/head performance comparison pass.
@clawsweeper clawsweeper Bot added rating: 🦞 diamond lobster Very strong PR readiness with only minor maintainer review expected. 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. rating: 🦞 diamond lobster Very strong PR readiness with only minor maintainer review expected. labels Oct 12, 2026
Allow local headline and hosted-tab presentation updates during retained Lit commits, keep custom element typing with its registered Solid owner, and update legacy tests to observe committed Solid behavior. Fixes the scoped UI and type failures found by PR CI.
@steipete steipete added the ci:full Keep ordinary native-locale CI selection on the next PR run. label Oct 12, 2026
@clawsweeper clawsweeper Bot added the merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. label Oct 12, 2026
@clawsweeper clawsweeper Bot removed the merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. label Oct 12, 2026
@clawsweeper clawsweeper Bot added rating: 🦞 diamond lobster Very strong PR readiness with only minor maintainer review expected. and removed rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. labels Oct 12, 2026
@steipete
steipete enabled auto-merge (squash) October 12, 2026 11:48
@steipete
steipete merged commit b3d76a9 into main Oct 12, 2026
133 of 134 checks passed
@steipete
steipete deleted the solid2/w-chat-7b branch October 12, 2026 11:50
@steipete

Copy link
Copy Markdown
Contributor Author

Merged via squash auto-merge.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 13, 2026
)

* refactor(ui): migrate chat rails and header views to Solid

Preserve lazy registration and existing tags through the Solid bridge. Keep synchronous session and workspace owners, native event ordering, focused controls, open menus, and selected text across view refreshes.

* fix(ui): narrow sharing visibility through canonical values

Keep the visibility values dependency-free for UI consumers, preserve the existing schema export, and prune retired assertion allowances.

* fix(ui): remove the header menu import cycle

* fix(ui): preserve nested Solid presentation updates

Allow local headline and hosted-tab presentation updates during retained Lit commits, keep custom element typing with its registered Solid owner, and update legacy tests to observe committed Solid behavior. Fixes the scoped UI and type failures found by PR CI.

* fix(ui): preserve migrated chat rail updates and header spacing
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 ci:full Keep ordinary native-locale CI selection on the next PR run. gateway Gateway runtime P2 Normal backlog priority with limited blast radius. 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: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant