Skip to content

fix(ui): add tooltips clarifying Reasoning and Thinking controls - #90484

Closed
xzh-icenter wants to merge 2 commits into
openclaw:mainfrom
xzh-icenter:fix/90445-control-panel-tooltips
Closed

xzh-icenter wants to merge 2 commits into
openclaw:mainfrom
xzh-icenter:fix/90445-control-panel-tooltips

Conversation

@xzh-icenter

@xzh-icenter xzh-icenter commented Jun 5, 2026 •

Copy link
Copy Markdown
Contributor

Closes #90445.

Adds title attribute tooltips to the Web UI Reasoning and Thinking controls to clarify the naming collision between config and UI.

  • sessionsView.thinkingTooltip / reasoningTooltip — table headers
  • chat.selectors.thinkingLevelTooltip / reasoningDisplayTooltip — dropdown section labels

Also runs pnpm ui:i18n:sync to regenerate locale bundles and metadata for the new keys.

After-fix proof

Hover over the "Reasoning" or "Thinking" labels in the chat control panel or sessions table to see the tooltip text explaining what each control does.

Adds title attribute tooltips to the Reasoning and Thinking dropdowns
in both the chat model selector and the sessions table, clarifying:

- Thinking/Reasoning = reasoning_effort API parameter (model-dependent)
- Reasoning (sessions table) = display/streaming mode for reasoning output

Fixes openclaw#90445
@openclaw-barnacle openclaw-barnacle Bot added app: web-ui App: web-ui size: XS triage: needs-real-behavior-proof Candidate: external PR needs after-fix proof from a real setup. labels Jun 5, 2026
@clawsweeper

clawsweeper Bot commented Jun 5, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs real behavior proof before merge. Reviewed June 4, 2026, 9:25 PM ET / 01:25 UTC.

Summary
Adds localized title-attribute tooltips to the Web UI Reasoning and Thinking controls in the chat model selector and Sessions table, with regenerated Control UI locale fallback metadata.

PR surface: Source +207. Total +207 across 39 files.

Reproducibility: not applicable. as a bug reproduction; this is a UI clarity change. Source inspection confirms current main lacks explanatory tooltip/helper text on the affected controls.

Review metrics: none identified.

Merge readiness
Overall: 🧂 unranked krab
Proof: 🧂 unranked krab
Patch quality: 🐚 platinum hermit
Result: blocked until real behavior proof is added.

Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch.

Rank-up moves:

  • [P1] Add a screenshot or short recording showing the Reasoning and Thinking tooltip text after the patch, with private details redacted.

Proof guidance:

  • [P1] Needs real behavior proof before merge: The PR body describes hovering but does not include screenshot, recording, terminal/live output, linked artifact, or redacted logs showing the tooltip after the patch. After adding proof, update the PR body; ClawSweeper should re-review automatically. If it does not, the PR author or someone with repository write access can comment @clawsweeper re-review.

Mantis proof suggestion
A visible browser proof would directly show the hover tooltip text in the affected Web UI controls. A maintainer can ask Mantis to capture proof by posting a new PR comment that starts with the OpenClaw Mantis account mention, followed by:

visual task: verify the Web UI Reasoning and Thinking controls show the new explanatory tooltip text on hover.

Risk before merge

  • [P1] The visible hover behavior is source-plausible but still unproven in a real browser; a screenshot or short recording should show the tooltip text before merge.

Maintainer options:

  1. Decide the mitigation before merge
    Keep the narrow tooltip/i18n implementation, then add visible browser proof of the tooltip text before maintainers consider merging.
  2. Pause or close
    Do not merge this PR until maintainers decide whether the risk is worth taking.

Next step before merge

  • [P1] Contributor or maintainer follow-up is needed for visible browser proof; repair automation should not be queued solely to supply the contributor's real-environment evidence.

Security
Cleared: The diff only changes UI title attributes and generated i18n text/metadata, with no dependency, workflow, credential, or code-execution surface added.

Review details

Best possible solution:

Keep the narrow tooltip/i18n implementation, then add visible browser proof of the tooltip text before maintainers consider merging.

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

Not applicable as a bug reproduction; this is a UI clarity change. Source inspection confirms current main lacks explanatory tooltip/helper text on the affected controls.

Is this the best way to solve the issue?

Yes, this is a narrow maintainable fix for the linked request: it adds localized tooltip copy without changing runtime or config semantics. The remaining gap is proof, not patch shape.

AGENTS.md: found and applied where relevant.

Codex review notes: model gpt-5.5, reasoning high; reviewed against 126ebfc99710.

Label changes

Label changes:

  • add rating: 🧂 unranked krab: Overall readiness is 🧂 unranked krab; proof is 🧂 unranked krab and patch quality is 🐚 platinum hermit.
  • remove rating: 🦪 silver shellfish: Current PR rating is rating: 🧂 unranked krab, so this older rating label is no longer current.

Label justifications:

  • P3: This is a low-risk Web UI clarification PR whose remaining blocker is visible proof, not a runtime regression.
  • rating: 🧂 unranked krab: Overall readiness is 🧂 unranked krab; proof is 🧂 unranked krab and patch quality is 🐚 platinum hermit.
  • status: 📣 needs proof: The PR needs real behavior proof before ClawSweeper can clear the contributor ask. Needs real behavior proof before merge: The PR body describes hovering but does not include screenshot, recording, terminal/live output, linked artifact, or redacted logs showing the tooltip after the patch. After adding proof, update the PR body; ClawSweeper should re-review automatically. If it does not, the PR author or someone with repository write access can comment @clawsweeper re-review.
Evidence reviewed

PR surface:

Source +207. Total +207 across 39 files.

View PR surface stats
Area Files Added Removed Net
Source 39 264 57 +207
Tests 0 0 0 0
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 39 264 57 +207

What I checked:

  • PR diff updates the requested UI surface: The patch adds tooltip title bindings to the chat model reasoning section label and to the Sessions table Thinking/Reasoning headers and selects, which matches the linked request for clarifying those controls. (ui/src/ui/views/sessions.ts:731, 1a89e84cf2e4)
  • Generated i18n output is now included: The second PR commit adds the new tooltip keys to locale fallback metadata and generated locale bundles; the scoped UI guide requires running the sync and committing generated locale plus .i18n metadata after English string changes. (ui/AGENTS.md:13, 126ebfc99710)
  • Current main shows the original unclear controls: Current main still renders bare Thinking and Reasoning Sessions headers and select controls without title/helper text, so the PR is not obsolete on main. (ui/src/ui/views/sessions.ts:735, 126ebfc99710)
  • Existing docs support the tooltip terminology: The thinking docs describe provider-profile-driven thinking menus and separate /reasoning visibility levels, matching the PR's distinction between provider reasoning effort and displayed/streamed reasoning output. Public docs: docs/tools/thinking.md. (docs/tools/thinking.md:22, 126ebfc99710)
  • Real behavior proof is still absent: The PR body and follow-up comment describe hovering over labels, but the live comments contain no screenshot, recording, terminal/live output, linked artifact, or redacted log showing the tooltip after the patch. (1a89e84cf2e4)
  • Feature-history provenance: Current shallow-history blame ties the existing Sessions labels, chat reasoning picker label, English locale entries, and i18n generator logic to recent work by Peter Steinberger, making that the best routing signal available from this checkout. (ui/src/ui/views/sessions.ts:735, 29f5e9d35c33)

Likely related people:

  • Peter Steinberger: Blame/log in the shallow checkout ties the current Sessions table labels, chat reasoning picker, English locale entries, and i18n generator behavior to recent commits by this author. (role: recent area contributor; confidence: medium; commits: 29f5e9d35c33, 12a56d4d46dd; files: ui/src/ui/views/sessions.ts, ui/src/ui/chat/session-controls.ts, ui/src/i18n/locales/en.ts)
What the crustacean ranks mean
  • 🦀 challenger crab: rare, exceptional readiness with strong proof, clean implementation, and convincing validation.
  • 🦞 diamond lobster: very strong readiness with only minor maintainer review expected.
  • 🐚 platinum hermit: good normal PR, likely mergeable with ordinary maintainer review.
  • 🦐 gold shrimp: useful signal, but proof or patch confidence is still limited.
  • 🦪 silver shellfish: thin signal; proof, validation, or implementation needs work.
  • 🧂 unranked krab: not merge-ready because proof is missing/unusable or there are serious correctness or safety concerns.
  • 🌊 off-meta tidepool: rating does not apply to this item.

Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics.

How this review workflow works
  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

@clawsweeper clawsweeper Bot added rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. labels Jun 5, 2026
@xzh-icenter

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

P2 fix pushed: ran pnpm ui:i18n:sync to regenerate all locale bundles and metadata for the new tooltip keys. Also updated PR body with after-fix proof description.

@clawsweeper

clawsweeper Bot commented Jun 5, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event repository_dispatch).
Result: the existing ClawSweeper review comment will be edited in place when the review finishes.

Re-review progress:

@clawsweeper clawsweeper Bot added rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. and removed rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. labels Jun 5, 2026
@xzh-icenter xzh-icenter closed this Jun 6, 2026
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 P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. size: M status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. triage: needs-real-behavior-proof Candidate: external PR needs after-fix proof from a real setup.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Control Panel: Add tooltips/clarifying labels for Reasoning and Thinking dropdowns (Config↔UI naming collision)

1 participant