Skip to content

fix(ui): converted sessions show import controls instead of native actions - #193605

Merged
roboclaw-bot merged 2 commits into
mainfrom
fix/fork-wait-beam-native-20261105
Nov 5, 2026
Merged

roboclaw-bot merged 2 commits into
mainfrom
fix/fork-wait-beam-native-20261105

Conversation

@roboclaw-bot

Copy link
Copy Markdown
Collaborator

What Problem This Solves

Converted external conversations could still open the source catalog menu, including “Import to OpenClaw,” instead of normal native-session actions. This affected converted Beam rows under Involving me as well as other adopted catalogs.

User Impact

Converted conversations retain their source grouping while offering normal native controls. Unconverted, view-only catalog conversations retain source controls. Native/source row replacement now closes the old menu owner and restores keyboard focus. No data migration, configuration, dependency, or permission changes are required.

Why This Change Was Made

Remove the obsolete catalog-menu handoff from native display, renderer, and host contracts. Keep native and source menu ownership separate, including row cleanup and focus transfer. The coherent DOM lifecycle lives in a small sibling module because the existing renderer was at its file cap. Existing touch, keyboard, and lifecycle regressions are migrated rather than duplicated.

Against the base, production code grows by 1 net line, maintained test code shrinks by 16 lines, and the shared test-line scalar is unchanged.

Evidence

  • Migrated desktop and touch regressions are red on original base 6d49ef1c4b364218f2470df9b069c7a1e5b020d0: the source menu appears and the native menu is absent. Both are green with this change.
  • 97 focused unit contracts passed, including adoption/release, menu cleanup, focus restoration, and source-capability independence.
  • 9 bundled-browser scenarios passed: native desktop/touch/ContextMenu/Shift+F10 flows, Beam cold/pretty links, visitor access, native continuation, and paired-node source catalogs. Final one-worker command wall times were 12.18 seconds for the unit group and 35.56 seconds for the browser group. Per-file CI seconds are not yet available.
  • Exact final-head scoped format, lint, core/UI type graph, UI controller, i18n, and dependency/patch guards passed. Staged test-line and pre-commit line-cap ratchets passed.
  • The broader checker reports inherited changelog-attribution violations and unused exports normalizeGoogleServiceTier and resolveScenarioConfigSteps. Their source files are unchanged from the base; unrelated owners were not modified.
  • Fresh independent reviews found no actionable issues after the lifecycle repair and extraction. Final-range local ClawSweeper completed with no high/medium findings.

Accepted low advisory: if a source binding is released while the native menu is open from a pinned duplicate, cleanup can dismiss that popup. This is a rare, visible, recoverable dismissal with no data loss or unintended action; keeping that popup open would add trigger-ownership coupling to the shared menu API. Users can reopen the menu.

Sanitized synthetic before/after screenshots are attached below and were inspected and shown in chat.

The separately reported fork wait-label and cross-viewer live-update symptoms are not claimed fixed by this PR. Their clean route/warm-navigation reproductions did not establish the affected client defect.

Before: converted Beam row incorrectly offered import controls

After: converted Beam row uses native session actions

roboclaw-bot and others added 2 commits November 5, 2026 15:28
Converted catalog rows now use native context and touch menus instead of source import controls. Keep source-only menus unchanged and document the distinction.

Validation: 7 bundled browser flows, 17 focused unit contracts, scoped type/lint/format gates, and staged test-line allocation passed. Broader checks report unchanged changelog-attribution and unused-export defects.

Co-authored-by: vincentkoc <[email protected]>
Close old native/source menus and restore focus to replacement controls. Keep this coherent DOM lifecycle in a bounded sibling module; migrate established touch, keyboard, and lifecycle contracts instead of adding duplicate coverage.

Validation: 97 focused unit contracts and 9 bundled browser scenarios passed. Migrated desktop/touch cases are red on original base; regressions shrink by 16 lines and the staged ratchet passed without raising the scalar.

Co-authored-by: vincentkoc <[email protected]>
@clawsweeper

clawsweeper Bot commented Nov 5, 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: M labels Nov 5, 2026
@roboclaw-bot
roboclaw-bot marked this pull request as ready for review November 5, 2026 16:41
@clawsweeper clawsweeper Bot added clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. labels Nov 5, 2026
@roboclaw-bot
roboclaw-bot merged commit 0084028 into main Nov 5, 2026
150 checks passed
@roboclaw-bot
roboclaw-bot deleted the fix/fork-wait-beam-native-20261105 branch November 5, 2026 16:57
@roboclaw-bot

Copy link
Copy Markdown
Collaborator Author

Merged via squash.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Nov 6, 2026
…tions (openclaw#193605)

* fix(ui): restore native controls for converted sessions

Converted catalog rows now use native context and touch menus instead of source import controls. Keep source-only menus unchanged and document the distinction.

Validation: 7 bundled browser flows, 17 focused unit contracts, scoped type/lint/format gates, and staged test-line allocation passed. Broader checks report unchanged changelog-attribution and unused-export defects.

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

* fix(ui): settle menus when catalog row ownership changes

Close old native/source menus and restore focus to replacement controls. Keep this coherent DOM lifecycle in a bounded sibling module; migrate established touch, keyboard, and lifecycle contracts instead of adding duplicate coverage.

Validation: 97 focused unit contracts and 9 bundled browser scenarios passed. Migrated desktop/touch cases are red on original base; regressions shrink by 16 lines and the staged ratchet passed without raising the scalar.

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

---------

Co-authored-by: vincentkoc <[email protected]>
wangmiao0668000666 pushed a commit to wangmiao0668000666/openclaw that referenced this pull request Nov 6, 2026
…tions (openclaw#193605)

* fix(ui): restore native controls for converted sessions

Converted catalog rows now use native context and touch menus instead of source import controls. Keep source-only menus unchanged and document the distinction.

Validation: 7 bundled browser flows, 17 focused unit contracts, scoped type/lint/format gates, and staged test-line allocation passed. Broader checks report unchanged changelog-attribution and unused-export defects.

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

* fix(ui): settle menus when catalog row ownership changes

Close old native/source menus and restore focus to replacement controls. Keep this coherent DOM lifecycle in a bounded sibling module; migrate established touch, keyboard, and lifecycle contracts instead of adding duplicate coverage.

Validation: 97 focused unit contracts and 9 bundled browser scenarios passed. Migrated desktop/touch cases are red on original base; regressions shrink by 16 lines and the staged ratchet passed without raising the scalar.

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

---------

Co-authored-by: vincentkoc <[email protected]>
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 clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. docs Improvements or additions to documentation size: M

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant