Skip to content

fix: let desktop users open session Details while chat history loads - #208179

Open
roboclaw-bot wants to merge 6 commits into
mainfrom
openclaw/details-panel-open-timeouts-ea1de5
Open

roboclaw-bot wants to merge 6 commits into
mainfrom
openclaw/details-panel-open-timeouts-ea1de5

Conversation

@roboclaw-bot

@roboclaw-bot roboclaw-bot commented Nov 29, 2026 •

Copy link
Copy Markdown
Collaborator

What Problem This Solves

Desktop chat can receive a device assignment while the conversation is still loading. The header can hide Details throughout that wait, leaving the device information out of reach.

User Impact

One click opens the device information while history loads, including its connection status. An empty desktop session keeps the full width of the conversation.

Why This Change Was Made

The header already decides whether it can show a machine menu. Details reuses that decision immediately. Embedded sessions without menu actions can still show a read-only host row. A click also opens a panel whose desktop column has been reserved while its contents are loading.

Evidence

On a fresh Ubuntu VM, a real Gateway identified a paired, disconnected workstation. Chromium held the Gateway’s genuine history reply while a read-only user opened the session. On main (b904594b0377), the header had no Details button. On b58da73f3d87, one click showed the workstation before history arrived. Releasing the reply displayed the transcript. Both revisions hid the button and column for an empty session.

The images show the same part of a 1280 × 800 desktop viewport. The after image was taken immediately after the click, with history still held.

Main With the fix
The header has only the Panels control while history loads Details is open and shows the disconnected workstation while history loads
Missing button Details button
The empty space where Details should appear The Details button above the open Environment section

With the same toolchain and release metadata, Chat startup used 18 JavaScript requests on every build. The PR head measured 1,335,395 normalized gzip bytes, 696 bytes lower than the original PR and 43 bytes lower than main. The PR’s merge base measured 1,335,306 bytes.

Applying only this PR’s UI changes to the current main checkout gave 1,335,230 normalized gzip bytes (208 bytes lower than unmodified main). Its emitted assets were 49 bytes lower in served gzip. The header reuses the machine-menu decision without another request.

The subscription recovery check waits for the named link in an open PR row after the retry. The loading skeleton cannot satisfy that check. The test verifies a single socket and exactly two subscription requests. It passed in Chromium, with formatting and focused lint clean. The independent VM also passed the real-Gateway workstation check on b58da73f3d87; the screenshot crop is byte-identical to the one shown above.

The 40 component cases and four focused browser cases passed on the identical production tree at 7688273d5643. UI typechecking and formatting passed. Lint reported zero errors and two reactivity warnings on the existing header merge calls. Local autoreview found no P0–P3 findings on 3f17289415e2..b58da73f3d87. RoboClaw also reported 25 focused cases and two real-Gateway checks on its AWS build.

Twenty-three failures in the linked full CI run also occurred on scheduled main, sometimes in different shards. The Settings test in that run timed out waiting for “Profile saved.” It passed in the two most recent full main runs and on a fresh VM with both CI’s exact main checkout and PR merge build. The cause of that timeout is undetermined. Full PR run · Full main comparison

Original failing CI run · Desktop empty-session behavior

Worked on by

Work sessions

Linked for team reference; these sessions aren’t public.

🦞 Made with OpenClaw

roboclaw-bot and others added 2 commits November 29, 2026 09:09
Recognize the known runner as Details content before optional discovery. Keep empty desktop sessions hidden and exercise populated sessions in the browser fixtures.

Co-authored-by: daniel-lxs <[email protected]>
Worked on by:
- @daniel-lxs

Co-authored-by: daniel-lxs <[email protected]>
OpenClaw-Publication: 48605718-55f9-4d15-9a0f-9f1e0f3e381c
@clawsweeper

clawsweeper Bot commented Nov 29, 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.

View the workflow run.

@clawsweeper clawsweeper Bot added P2 Normal backlog priority with limited blast radius. impact:ux-friction User-facing flow adds avoidable confusion or support burden without fully blocking progress. clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. proof: sufficient ClawSweeper judged the real behavior proof convincing. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. labels Nov 29, 2026
@clawsweeper

clawsweeper Bot commented Nov 29, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs changes before merge.

What this changes

Makes known machine details available while desktop chat history is loading.

Example: A read-only user opens a session assigned to disconnected studio-workstation while history is delayed.

  • Before: The header hides Details, leaving the workstation information inaccessible.
  • After: One click opens Environment and shows the disconnected workstation before history arrives.

Review scores

Measure Result What it means
Overall readiness 🦐 gold shrimp (3/6) Useful behavior with direct visual proof, held below merge readiness by the attributed startup-budget failure.
Proof confidence 🐚 platinum hermit (4/6) ✨ media proof bonus Sufficient (screenshot): Inspected before/after screenshots and the accompanying real-Gateway scenario show the disconnected workstation opening while history remains held; later source changes retain the demonstrated machine path.
Patch quality 🦐 gold shrimp (3/6) 1 actionable review finding remain.

Product

Kind: Bug fix · Worth it: Yes · Fix scope: Complete
User problem: A desktop user cannot inspect an already identified workstation while chat history is loading.
Reason: The maintainer-authored direction restores access to real content while retaining intentional empty-session hiding.

Merge readiness

⛔ Needs changes before merge - 1 item remains

This PR retains a useful read-only Details fix, but its current head fails the Chat startup-size gate.

Reviewed head: b68ca910341d53fd0646a03001019d8141dd45c4

Before merge

  • [P2] Bring the eager Details path within the Chat startup allowance (P2) - The current-head control-ui-performance comparison fails after adding the early machine-presence path: Chat boot JavaScript measures 1,359,233 bytes versus 1,359,147 bytes on its paired base. Because the base already exceeds the absolute cap, the permitted limit is 1,359,211 bytes, leaving this PR 22 bytes over the enforced allowance. Reduce the eager production footprint and pass the paired comparison without raising the budget. The CSS warnings are separate, and the older byte measurements in the body do not clear this current-head failure.

Findings

  • [P2] [P2] Bring the eager Details path within the Chat startup allowance — ui/src/pages/chat/components/chat-details.tsx:153
Agent review details

How this fits together

The Control UI derives Details availability from session placement and discovered sections, then renders the existing Environment and machine components.

flowchart LR
  A[Gateway session placement] --> B[Header machine presentation]
  A --> C[Shared machine presence check]
  B --> C
  C --> D[Details availability]
  D --> E[Environment section]
  E --> F[Machine menu or read-only host row]
Loading

Technical review

Best possible solution:

Keep the shared machine-presence check and read-only fallback while restoring Chat's existing startup budget.

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

Current main's early availability check recognizes forwarded placement controls but misses an otherwise empty read-only session's known machine while content is pending.

Is this the best way to solve the issue?

The existing presence and Environment owners are the right boundary, and the change preserves the header's machine-menu decision without adding state or requests.

Full review comments:

  • [P2] [P2] Bring the eager Details path within the Chat startup allowance — ui/src/pages/chat/components/chat-details.tsx:153
    The current-head control-ui-performance comparison fails after adding the early machine-presence path: Chat boot JavaScript measures 1,359,233 bytes versus 1,359,147 bytes on its paired base. Because the base already exceeds the absolute cap, the permitted limit is 1,359,211 bytes, leaving this PR 22 bytes over the enforced allowance. Reduce the eager production footprint and pass the paired comparison without raising the budget. The CSS warnings are separate, and the older byte measurements in the body do not clear this current-head failure.
    Confidence: 0.97

Overall correctness: patch is incorrect
Overall confidence: 0.95

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against 4f15f4ed8589.

Provenance checked

  • Desktop Details availability keeps the original intent (d4e1305: Hide the desktop button and column when no inspectable content exists.)
  • Early native machine availability keeps the original intent (1f7a171: Make identified machine details available during loading through the existing header projection.)
  • Environment lazy loading keeps the original intent (71edc68: Prepare nested Environment content through the existing lazy boundary so restored Details settles together.)

Testing

Proof path: shipped entry point.

Security

None.

Evidence

Acceptance criteria:

  • pnpm ui:check-performance:base 61c970e
  • pnpm --dir ui exec vitest run --project browser src/pages/chat/components/chat-details.browser.test.ts
  • git diff --check

What I checked:

Likely related people:

  • Vyctor H. Brzezowski: Raw commit 8c408b4 adds ui/src/pages/chat/components/chat-details-environment.tsx:45 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 8c408b4b3b29; files: ui/src/pages/chat/components/chat-details-environment.tsx)
  • Peter Steinberger: Raw commit 07cdebc adds ui/src/pages/chat/components/chat-details-environment.tsx:28 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 07cdebc660cd; files: ui/src/pages/chat/components/chat-details-environment.tsx)
  • Daniel: Raw commit 1f7a171 adds ui/src/pages/chat/components/chat-details.tsx:144 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 1f7a17189fc8; files: ui/src/pages/chat/components/chat-details.tsx)

PR surface

Source +4, Tests +24. Total +28 across 7 files. Added test files: 0.

View PR surface stats
Area Files Added Removed Net
Source 6 26 22 +4
Tests 1 24 0 +24
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 7 50 22 +28

Preflight source

Source unknown. Source comparison at the observed PR snapshot only. Completion is self-reported; body, policy, tests, execution, and report bytes are not verified.

Labels

Label changes:

  • add rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🐚 platinum hermit and patch quality is 🦐 gold shrimp.
  • add status: ⏳ waiting on author: ClawSweeper has contributor-facing work open and is waiting for author action.
  • remove rating: 🐚 platinum hermit: Current PR rating is rating: 🦐 gold shrimp, so this older rating label is no longer current.
  • remove status: 👀 ready for maintainer look: Current PR status label is status: ⏳ waiting on author.

Label justifications:

  • rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🐚 platinum hermit and patch quality is 🦐 gold shrimp.
  • 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 readiness starts with the lower of the proof and patch scores. It is capped at 3/6 if the fix is partial, the change offers little benefit, a product decision is still open, or the PR reverses an earlier decision without saying why. ✨ 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 (4 earlier review cycles)
  • reviewed 2026-11-29T09:31:15.610Z sha 1aa5203 :: passed. :: none
  • reviewed 2026-11-29T10:20:16.709Z sha 7688273 :: passed. :: none
  • reviewed 2026-11-29T11:26:38.664Z sha b58da73 :: passed. :: none
  • reviewed 2026-11-30T07:04:02.747Z sha 1005130 :: passed. :: none

Reviewed November 30, 2026, 3:19 AM ET / 08:19 UTC (Revision 5).

@daniel-lxs daniel-lxs added the ci:full Keep ordinary native-locale CI selection on the next PR run. label Nov 29, 2026
@daniel-lxs
daniel-lxs marked this pull request as ready for review November 29, 2026 10:14
@daniel-lxs

Copy link
Copy Markdown
Member

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Nov 29, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀

Re-review progress:

@daniel-lxs

Copy link
Copy Markdown
Member

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Nov 29, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀

Re-review progress:

daniel-lxs added a commit to daniel-lxs/openclaw that referenced this pull request Nov 29, 2026
daniel-lxs added a commit to daniel-lxs/openclaw that referenced this pull request Nov 29, 2026
daniel-lxs added a commit to daniel-lxs/openclaw that referenced this pull request Nov 29, 2026
daniel-lxs added a commit that referenced this pull request Nov 29, 2026
Use the header's known machine placement and shared session participants
to present Details before background discovery finishes. Keep the existing
desktop rule for empty sessions and the discovery rules for a possible
self-only chat. Notify the parent without registering its setter's return
value as a Solid cleanup. Let compact tool frames use the activity gap
and keep their metadata alongside the restored operation.

Exercise populated panels and real publication events in the browser
fixtures. Distinguish an Environment summary from a full Review patch
and count duplicate requests within each checkout or run. Require all
three row-scoped readers to start after the initial chat.send.

Includes repairs from #208172, #208179, #208182 and #208205.

Co-authored-by: daniel-lxs <[email protected]>
OpenClaw-Publication: c0e2dc7b-db8d-4f6f-991c-d9e5021f71d3
OpenClaw-Publication: 48605718-55f9-4d15-9a0f-9f1e0f3e381c
OpenClaw-Publication: 3c1d30d9-8521-4f29-8f22-a3a132bb4c3c
daniel-lxs added a commit that referenced this pull request Nov 29, 2026
Use the header's known machine placement and shared session participants
to present Details before background discovery finishes. Keep the existing
desktop rule for empty sessions and the discovery rules for a possible
self-only chat. Notify the parent without registering its setter's return
value as a Solid cleanup. Let compact tool frames use the activity gap
and keep their metadata alongside the restored operation.

Exercise populated panels and real publication events in the browser
fixtures. Distinguish an Environment summary from a full Review patch
and count duplicate requests within each checkout or run. Require all
three row-scoped readers to start after the initial chat.send.

Includes repairs from #208172, #208179, #208182 and #208205.

Co-authored-by: daniel-lxs <[email protected]>
OpenClaw-Publication: c0e2dc7b-db8d-4f6f-991c-d9e5021f71d3
OpenClaw-Publication: 48605718-55f9-4d15-9a0f-9f1e0f3e381c
OpenClaw-Publication: 3c1d30d9-8521-4f29-8f22-a3a132bb4c3c
daniel-lxs added a commit that referenced this pull request Nov 29, 2026
Use the header's known machine placement and shared session participants
to present Details before background discovery finishes. Keep the existing
desktop rule for empty sessions and the discovery rules for a possible
self-only chat. Notify the parent without registering its setter's return
value as a Solid cleanup. Let compact tool frames use the activity gap
and keep their metadata alongside the restored operation.

Exercise populated panels and real publication events in the browser
fixtures. Distinguish an Environment summary from a full Review patch
and count duplicate requests within each checkout or run. Require all
three row-scoped readers to start after the initial chat.send.

Includes repairs from #208172, #208179, #208182 and #208205.

Co-authored-by: daniel-lxs <[email protected]>
OpenClaw-Publication: c0e2dc7b-db8d-4f6f-991c-d9e5021f71d3
OpenClaw-Publication: 48605718-55f9-4d15-9a0f-9f1e0f3e381c
OpenClaw-Publication: 3c1d30d9-8521-4f29-8f22-a3a132bb4c3c
daniel-lxs added a commit that referenced this pull request Nov 29, 2026
Use the header's known machine placement and shared session participants
to present Details before background discovery finishes. Keep the existing
desktop rule for empty sessions and the discovery rules for a possible
self-only chat. Notify the parent without registering its setter's return
value as a Solid cleanup. Let compact tool frames use the activity gap
and keep their metadata alongside the restored operation.

Exercise populated panels and real publication events in the browser
fixtures. Distinguish an Environment summary from a full Review patch
and count duplicate requests within each checkout or run. Require all
three row-scoped readers to start after the initial chat.send.

Includes repairs from #208172, #208179, #208182 and #208205.

Co-authored-by: daniel-lxs <[email protected]>
OpenClaw-Publication: c0e2dc7b-db8d-4f6f-991c-d9e5021f71d3
OpenClaw-Publication: 48605718-55f9-4d15-9a0f-9f1e0f3e381c
OpenClaw-Publication: 3c1d30d9-8521-4f29-8f22-a3a132bb4c3c
@daniel-lxs

Copy link
Copy Markdown
Member

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Nov 30, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀

Re-review progress:

@daniel-lxs

Copy link
Copy Markdown
Member

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Nov 30, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀

Re-review progress:

@clawsweeper clawsweeper Bot added 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. and removed rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Nov 30, 2026

This branch has not been deployed

No deployments
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. impact:ux-friction User-facing flow adds avoidable confusion or support burden without fully blocking progress. 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: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. size: S 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.

2 participants