Skip to content

refactor(ui): give chat panes explicit element ownership - #176586

Merged
steipete merged 4 commits into
mainfrom
solid2/w-zero-chat-pane
Oct 19, 2026
Merged

steipete merged 4 commits into
mainfrom
solid2/w-zero-chat-pane

Conversation

@steipete

@steipete steipete commented Oct 18, 2026 •

Copy link
Copy Markdown
Contributor

What Problem This Solves

Retained chat panes discover their controls through DOM queries and synchronize native inputs through a render effect. These implicit handoffs make focus, eviction, attachment delivery, and plugin replacement depend on the rendered DOM shape.

User Impact

Preserves retained-session rendering, composer focus, board and attachment actions, plugin replacement, routes, tags, and CSS while moving those handoffs to renderer-owned refs. There is no intended visual change.

Why This Change Was Made

Native pane inputs now update their existing synchronous owner, including while the rendered frame is parked. A buffered stream is published before the property change admits a frame; tracked frame preparation only captures render bookkeeping. Explicit registrations describe mounted panes, and typed refs connect their controls to the operations that use them. Each renderer releases its own registration; identity checks keep a retiring branch from clearing its replacement.

Owner projections replace presentation state copies, and composer replacement refs stay lifetime-stable. The integration uses main’s projectProgressCard(progressScope) contract, removing the superseded local seed and explicit source replacement. Remaining committed-DOM effects preserve focus, layout, cancellation, and ordering. Optional renderers remain behind their existing lazy boundaries.

Test fixtures publish the same explicit registrations as the renderer: history sentinels, replacement panes, and the native element behind the legacy pane test adapter. Existing focus, attachment-retirement, pagination, and visibility assertions remain.

Integration preserves main’s transcript viewport getter, binder, and cleanup alongside explicit pane refs and the intentional initialPaneId snapshot. It also preserves both the footer-control registration and composer-shell ref. Main’s #176765 supplies pasted-text focus and retained-comment startup-scroll fixes; superseded local fixes and reader-wheel fixtures were dropped. Main’s #176468 supplies the compressed-transcript test-reader repair. The prior PowerPoint CI failure is historical, not waived.

Evidence

Proof Result
Current head d6a68032f2ee76417d61edfb6c107a634fcf78f7, base d958966b09ea425f906da6bb385902fe1e5a3fbf
Typechecks and hygiene Frozen install, default UI typecheck through tsrs, focused formatting, and diff check passed
Focused behavior Current integration: 20 cases passed (15 progress/history, five Reply/plugin). Prior footer integration: 20 sizing/question/footer cases passed. Prior pane integration: 31 page cases and nine sizing/question cases passed
Review Fresh full-diff P0–P2 review completed scoped-clean with final source verification. Its static context did not include the restored main progress call; that unchanged owner API was personally traced and covered by the 15 current progress cases
Production Knip Current d6a68032f2ee passed with no findings (2m 36.4s)
Full CI Exact-head CI 39212645224, attempt 1, completed with all three UI unit, all nine browser E2E, both real-Gateway, lint, and security jobs passing. Its only failed root is the New Session absolute gzip cap. The exact comparison base independently reproduces that same metric failure; native inherited-failure landing evidence preserves the red CI result
Current performance Startup 337,185 B gzip / 1,019,708 B raw, 7 JS / 1 CSS, CSS 38,500 B gzip. Chat 1,485,626 → 1,486,128 B (+502) passes. New Session 1,050,265 → 1,050,391 B (+126) fails the 1,050,000 B absolute cap; both measured sides exceed that cap. A canonical build and strict checker on exact CI base 42c86b2ca5ab also fail only new boot JS gzip at 1,050,564 B. Standalone proof used Node 24.22; paired CI used Node 24.21. This is actual-base proof, not a claim that the latest scheduled-main performance failed
Visual capture One synthetic chat-long-content / desktop-light capture per side at 1440×960, inspected and byte-identical

Prior CI and performance

CI 39205632501 on 810a907048a3 passed all three UI unit shards, all nine UI E2E shards, one real-Gateway shard, performance, lint, and security. Its sole test failure was delivers PowerPoint and keeps persisted attachment failures replay-safe: the test dereferenced a null raw JSON column for a compressed transcript row. The exact comparison job on scheduled main passed, so no inherited waiver was claimed. Main subsequently repaired that reader in #176468; the current base contains the repair.

The earlier exact 68731b5999a3 CI 39202812060 and 3fd9f5edb6b8 CI 39200044318 passed every selected job, including all three UI unit, all nine UI E2E, and both real-Gateway shards. Main changes required reviewed conflict repair after each. The accepted auto request for 68731b5999a3 was retired before replacing its head. The final head landed through native replacement recovery with the qualified inherited-performance exception as 6a67da37b9ed; the native landing-parent audit passed.

Historical performance proof Result
Exact 810a907048a3 CI 337,157 B gzip / 1,019,643 B raw startup, 7 JS / 1 CSS requests, CSS 38,500 B gzip. Chat 1,484,094 → 1,484,597 B (+503), 25 requests unchanged. New Session 1,049,579 → 1,049,709 B (+130), 20 requests unchanged. Both routes passed their absolute limits
Exact 68731b5999a3 CI Startup 336,807 B gzip / 1,018,680 B raw, 7 JS / 1 CSS requests. Chat 1,483,949 → 1,484,339 B (+390); New Session 1,049,350 → 1,049,401 B (+51); both passed
Earlier same-machine local builds Exact 8c968d596cf2 base and cfb5967ce901 head on Node 24.22.0 / Vite 8.3.4: startup 337,722 → 337,728 B gzip (+6), raw 1,022,741 B unchanged, 7 JS / 1 CSS. Both strict checks exceeded the same chat/New Session absolute ceilings

These historical measurements are not current-head results. Failed runs remain failures; they are not relabeled as green.

Scope and Remaining Patterns

Top-level ui/src/pages/chat/*.ts(x) plus talk/**, excluding tests. This is the pane/registration cutover; the reactive-owner PR #176375 is already in the base, and keyboard/menu PR #176390 owns removal of the remaining non-exempt queries.

Pattern Base d958966b09ea Current candidate
createEffect 4 3
createRenderEffect 1 0
untrack 7 1
Raw listeners 28 22
DOM queries 35 8

Across the original lane, effects fall 10→3 (70%), render effects 1→0, untrack 13→1, listeners 54→22, and queries 40→1 once the keyboard/menu cutover lands. All 22 listener survivors are lifecycle-owned: 17 non-DOM platform listeners and five Gateway API subscriptions. No element/window/document listeners remain in scope. The final allowed query is the markdown renderer’s foreign DOM in link-favicon-loader.ts; initialPaneId is the intentional reactive snapshot.

Remaining scope occurrences

All paths below are relative to ui/src/pages/chat/.

Category Locations and owner
External committed-DOM synchronization chat-page-state.ts:695 (route focus/presence), chat-pane-runtime-view.tsx:281 (frame/layout/timer), solid-render-lifecycle.ts:124 (imperative commit tasks/cancellation)
Intentional reactive snapshot chat-view.tsx:192 (initialPaneId)
Foreign markdown DOM link-favicon-loader.ts:58
Queries handled by #176390 chat-pane-lifecycle.ts:222, chat-pane-session-menu.ts:97,555, chat-pane-shared.ts:179,205,228,232
AbortSignal, paired removal route-loader-short-resolve.ts:125,126, talk/shared.ts:266,546
IndexedDB, signal cleanup session-snapshot-database.ts:44
Audio source, once plus owner signal talk/audio.ts:263
Media tracks, paired removal/owner signal talk/camera-owner.ts:57, talk/input.ts:319, talk/webrtc.ts:116
WebSocket, owner signal talk/google-live.ts:160,170,177,184
WebRTC, owner signal talk/webrtc.ts:122,142,150,163
Gateway API subscriptions, returned unsubscribe composer-dictation-session.ts:106,362, talk/gateway-relay.ts:94, talk/shared.ts:315, talk/voice-selection.ts:34

The attributable diff touches 41 production files and 29 directly coupled test/support files: 70 files, +556/−311. Production LOC is 16,265 → 16,446 (+181); test/support LOC is 14,198 → 14,262 (+64). The added code makes mount/release ownership explicit and moves every affected renderer/ref consumer to the same contract.

Before:

Before: chat transcript, header and composer

After:

After: chat transcript, header and composer

No remote testing leases were used.

@steipete steipete added the ci:full Keep ordinary native-locale CI selection on the next PR run. label Oct 18, 2026
@clawsweeper

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

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 18, 2026 •

Copy link
Copy Markdown
Contributor

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-19T07:02:57.019169Z d6a6803 New commits
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: b91effb5be

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +3 to +4
const panes = new Set<ChatPaneElement>();
const unboundPanes = new Set<HTMLElement>();

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Shrink the refactor to reduce production code

This behavior-preserving Solid refactor adds these global registries and associated ref plumbing, increasing the touched production code from 14,843 to 15,022 lines (+179, as recorded in the commit), although the mandatory UI refactor checklist requires a net production-LOC decrease. Consolidate or remove the parallel registration machinery so the refactor satisfies that maintainability gate.

AGENTS.md reference: ui/AGENTS.md:L3-L5

Useful? React with 👍 / 👎.

@clawsweeper clawsweeper Bot added P2 Normal backlog priority with limited blast radius. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. labels Oct 18, 2026
@clawsweeper

clawsweeper Bot commented Oct 18, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs changes before merge.

What this changes

This PR replaces chat-pane DOM queries and render-effect input forwarding with explicit registrations and renderer-owned element references.

Example: A conversation prefilled with “What can you do?” replaces its chat pane.

  • Before: Focus maintenance discovers the replacement composer through DOM selectors.
  • After: Focus maintenance uses the registered pane and its composer reference.

Review scores

Measure Result What it means
Overall readiness 🦪 silver shellfish (2/6) Visual parity and focused repair evidence are useful, but exact-head CI confirms an unfinished fixture cutover.
Proof confidence 🦐 gold shrimp (3/6) This maintainer-authored internal refactor is outside the contributor proof gate; inspected screenshots establish visual parity, while supplied focused harness results support the repaired frame and plugin contracts.
Patch quality 🦪 silver shellfish (2/6) 4 actionable review findings remain.

Product

Kind: Refactor · Worth it: Yes · Fix scope: Complete
User problem: Retained-pane focus and control handoffs depend on implicit DOM structure.
Reason: The maintainer-authored direction continues the established Solid ownership migration without adding settings or changing intended user behavior.

Merge readiness

⛔ Needs changes before merge - 5 items remain

Keep this PR open: the maintainer-approved refactor is coherent, but exact-head CI exposes four incomplete test-fixture migrations that need focused repairs.

Priority: P2
Reviewed head: b5ee7ee98ba222a0daa9e803ceb5d328490e0fe0

Before merge

  • Register the actual DOM host in the attachment-handoff fixture (P2) - The retained-pane helper receives the proxy returned by createTestChatPane, whose documented DOM boundary is .element. Registering that proxy makes chatPanesWithin pass it to Node.contains, which rejects it before discardPane can test attachment custody. Exact-head checks-ui (1/3) fails here. Append and register the real host, exposing the needed pane facts and operations on that fixture host, and retain registration cleanup.
  • Register the manually created replacement pane in the focus fixture (P2) - This test mocks ChatPaneView, then replaces its registered pane with a raw unregistered element. The new focus owner searches only registered panes, so it cannot find replacementPane and all three focus-handoff variants fail at line 478 in exact-head CI. Register the replacement fixture and release that registration during test cleanup, preserving the focus and user-takeover assertions.
  • Publish sentinel refs in the remaining history-intent fixtures (P2) - The history owner now requires historySentinel, but the wheel and touch cases in chat-pane.test.ts still create only sentinel markup at lines 1039 and 1070. Both therefore return before observing history and fail their loadOlderMessages assertions in exact-head checks-ui (3/3). Assign the created sentinel to the fixture owner, as the other migrated history suites already do; retain both input-boundary assertions.
  • Adapt the lifecycle test to the owned listener helper (P2) - Replacing the direct visibility listener with listen changes removeEventListener calls from two arguments to three, with undefined options. chat-pane-connection-lifecycle.test.ts:421 still requires the exact two-argument call and now fails despite successful listener removal. Update that assertion for the helper contract or replace it with a behavioral teardown assertion while preserving the hidden-update and reconnect checks.
  • Complete next step - Have the CI owner classify check-lint-core-2 against matching base evidence; its untouched-file max-lines failures are not yet attributable to this PR.

Findings

  • [P2] Register the actual DOM host in the attachment-handoff fixture — ui/src/pages/chat/chat-pane-attachment-handoff.test.tsx:581-583
  • [P2] Register the manually created replacement pane in the focus fixture — ui/src/pages/chat/chat-page-retained-sessions.test.ts:471-475
  • [P2] Publish sentinel refs in the remaining history-intent fixtures — ui/src/pages/chat/chat-pane-history.ts:240-243
Agent review details

How this fits together

The Control UI chat page retains pane renderers around synchronous session owners; route inputs and owner events enter this layer, which publishes transcript, composer, board, attachment, and focus behavior.

flowchart TD
  A[Route and native inputs] --> B[Synchronous pane owner]
  B --> C[Solid pane renderer]
  C --> D[Registered panes and element refs]
  D --> E[Focus and lifecycle operations]
  B --> F[Transcript and composer presentation]
Loading

Technical review

Best possible solution:

Complete the existing fixture cutover while retaining the renderer-owned refs, synchronous domain owners, and established focus and history assertions.

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

This behavior-preserving refactor claims no end-user bug; exact-head CI traces and source inspection establish the listed fixture failures without executing target code locally.

Is this the best way to solve the issue?

Explicit renderer references fit the existing ownership model, but all affected fixtures must consume the new contract before the cutover is complete.

Full review comments:

  • [P2] Register the actual DOM host in the attachment-handoff fixture — ui/src/pages/chat/chat-pane-attachment-handoff.test.tsx:581-583
    The retained-pane helper receives the proxy returned by createTestChatPane, whose documented DOM boundary is .element. Registering that proxy makes chatPanesWithin pass it to Node.contains, which rejects it before discardPane can test attachment custody. Exact-head checks-ui (1/3) fails here. Append and register the real host, exposing the needed pane facts and operations on that fixture host, and retain registration cleanup.
    Confidence: 0.99
  • [P2] Register the manually created replacement pane in the focus fixture — ui/src/pages/chat/chat-page-retained-sessions.test.ts:471-475
    This test mocks ChatPaneView, then replaces its registered pane with a raw unregistered element. The new focus owner searches only registered panes, so it cannot find replacementPane and all three focus-handoff variants fail at line 478 in exact-head CI. Register the replacement fixture and release that registration during test cleanup, preserving the focus and user-takeover assertions.
    Confidence: 0.99
  • [P2] Publish sentinel refs in the remaining history-intent fixtures — ui/src/pages/chat/chat-pane-history.ts:240-243
    The history owner now requires historySentinel, but the wheel and touch cases in chat-pane.test.ts still create only sentinel markup at lines 1039 and 1070. Both therefore return before observing history and fail their loadOlderMessages assertions in exact-head checks-ui (3/3). Assign the created sentinel to the fixture owner, as the other migrated history suites already do; retain both input-boundary assertions.
    Confidence: 0.99
  • [P2] Adapt the lifecycle test to the owned listener helper — ui/src/pages/chat/chat-pane-state-owner.ts:160
    Replacing the direct visibility listener with listen changes removeEventListener calls from two arguments to three, with undefined options. chat-pane-connection-lifecycle.test.ts:421 still requires the exact two-argument call and now fails despite successful listener removal. Update that assertion for the helper contract or replace it with a behavioral teardown assertion while preserving the hidden-update and reconnect checks.
    Confidence: 0.99

Overall correctness: patch is incorrect
Overall confidence: 0.98

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against 5a0fb5a7f579.

Provenance checked

Testing

Proof path: in-process harness.

Security

None.

Evidence

Acceptance criteria:

  • pnpm test ui/src/pages/chat/chat-pane-attachment-handoff.test.tsx --maxWorkers=1
  • pnpm test ui/src/pages/chat/chat-page-retained-sessions.test.ts --maxWorkers=1
  • pnpm test ui/src/pages/chat/chat-pane.test.ts --maxWorkers=1
  • pnpm test ui/src/pages/chat/chat-pane-connection-lifecycle.test.ts --maxWorkers=1
  • pnpm tsgo:ui

What I checked:

Likely related people:

  • Peter Steinberger: Raw commit 4a866b9 adds ui/src/pages/chat/chat-pane-runtime-view.tsx:132 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 4a866b9de074; files: ui/src/pages/chat/chat-pane-runtime-view.tsx)
  • Jacob Tomlinson: Raw commit a1ed982 adds ui/src/pages/chat/route-draft-focus-handoff.ts:45 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: medium; commits: a1ed982cd72d; files: ui/src/pages/chat/route-draft-focus-handoff.ts)

PR surface

Source +180, Tests +48. Total +228 across 68 files. Added test files: 0.

View PR surface stats
Area Files Added Removed Net
Source 41 436 256 +180
Tests 27 115 67 +48
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 68 551 323 +228

Review metrics

Metric Value Why it matters
Production versus test growth Production +180 LOC; tests/support +48 LOC Verified introduction totals; production growth supplies explicit registrations, typed refs, and cleanup across existing renderer boundaries.

Labels

Label changes:

No label changes.

Label justifications:

  • P2: A useful internal UI refactor needs bounded fixture repairs; the observed failures establish no urgent end-user outage.
  • rating: 🦪 silver shellfish: Overall readiness is 🦪 silver shellfish; proof is 🦐 gold shrimp and patch quality is 🦪 silver shellfish.
  • status: ⏳ waiting on author: ClawSweeper has contributor-facing work open and is waiting for author action.
  • 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 (2 earlier review cycles)
  • reviewed 2026-10-18T23:14:41.951Z sha b91effb5bef353830f4430493087716025db72b7 :: needs changes before merge. :: [P2] Preserve the initial progress projection scope identity | [P2] Move the shared pane type out of the focus owner
  • reviewed 2026-10-18T23:33:46.230Z sha b5ee7ee98ba222a0daa9e803ceb5d328490e0fe0 :: needs maintainer review before merge. :: none

Reviewed October 18, 2026, 7:40 PM ET / 23:40 UTC (Revision 3).

@steipete

Copy link
Copy Markdown
Contributor Author

Fixed in b5ee7ee98ba222a0daa9e803ceb5d328490e0fe0:

  • The progress projection now starts from the owner's initial scope and preserves that identity when the first memo read has the same fields. All 11 frame-cadence browser cases pass, including the prior startup regression contract.
  • ChatPaneElement now belongs to the registry's dependency leaf; all imports moved with it. Madge reports no cycles.
  • The plugin failure was a lazy conditional JSX prop first evaluated during onSettled. The composer now receives a stable replacement callback. Four live-replacement tests pass, including delegated and failing plugins.
  • Obsolete selector members were removed from typed fixtures. Pending stream publication moved before native pane-input assignment, while render bookkeeping remains in the frame. Eight state/scroll cases pass.

The PR body has the updated proof and performance measurements. Fresh ci:full run: https://github.com/openclaw/openclaw/actions/runs/39176612695

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Oct 18, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@steipete
steipete force-pushed the solid2/w-zero-chat-pane branch 4 times, most recently from 3849f92 to 98a8242 Compare October 19, 2026 01:27
@steipete
steipete force-pushed the solid2/w-zero-chat-pane branch 2 times, most recently from cfb5967 to f817cec Compare October 19, 2026 03:27

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: f817cec411

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +128 to +129
// Other source frames may show a buffered stream before its normal RAF publishes it.
runtime.chatState.captureRenderChanges();

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Flush queued stream state before source-driven renders

When a stream update is waiting for its animation-frame publication and another projected source (such as gateway, theme, or transcript state) invalidates the pane, this path can render the buffered mutable stream without cancelling/publishing the pending run state; the RAF then publishes the same update and causes a second render and commit, potentially repeating scroll reconciliation during active streaming. The test host still calls publishPendingRunState() before captureRenderChanges(), so it masks the production-only sequence; preserve that ordering here through a write-safe hook or render only the published snapshot.

AGENTS.md reference: ui/AGENTS.md:L37-L38

Useful? React with 👍 / 👎.

@steipete
steipete force-pushed the solid2/w-zero-chat-pane branch 3 times, most recently from 3fd9f5e to 68731b5 Compare October 19, 2026 05:06
@steipete
steipete enabled auto-merge (squash) October 19, 2026 05:15
@steipete
steipete disabled auto-merge October 19, 2026 05:30
@steipete
steipete force-pushed the solid2/w-zero-chat-pane branch from 68731b5 to 810a907 Compare October 19, 2026 05:38
Replace pane, composer, history, board, attachment, and plugin focus discovery with renderer-owned references. Preserve retained-pane input publication and commit ordering while removing the feature render effect and copied presentation subscriptions.
@steipete
steipete force-pushed the solid2/w-zero-chat-pane branch from 810a907 to d6a6803 Compare October 19, 2026 06:54
@steipete
steipete merged commit 6a67da3 into main Oct 19, 2026
115 of 118 checks passed
@steipete
steipete deleted the solid2/w-zero-chat-pane branch October 19, 2026 07:35
@steipete

Copy link
Copy Markdown
Contributor Author

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

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

* refactor(ui): give chat pane rendering explicit element ownership

Replace pane, composer, history, board, attachment, and plugin focus discovery with renderer-owned references. Preserve retained-pane input publication and commit ordering while removing the feature render effect and copied presentation subscriptions.

* refactor(ui): reuse chat presentation and ref lifetimes

* fix(ui): preserve chat frame and plugin mount contracts

* test(ui): publish explicit pane fixture registrations
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. P2 Normal backlog priority with limited blast radius. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. size: L 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