Commit Graph

1270 Commits

Author SHA1 Message Date
Val Alexander
4532e5d858 fix(control-ui): preserve Stop after reconnect
Fixes #70991.

Adds authenticated Gateway WebSocket protocol pings, exposes active session-run state to Control UI, and keeps session-scoped Stop available after reconnect or reload when the browser lost the local run id.

Validation:
- pnpm test ui/src/ui/app-chat.test.ts ui/src/ui/app-gateway.node.test.ts src/gateway/server.sessions.list-changed.test.ts src/gateway/server/ws-connection.test.ts
- OPENCLAW_LOCAL_CHECK=1 OPENCLAW_LOCAL_CHECK_MODE=throttled pnpm check:changed
- GitHub CI and high-signal security checks passed on head 1f4c8728c8
2026-05-02 10:41:27 -05:00
Val Alexander
aaa19fb9f3 fix(ui): tolerate malformed cron payloads
Fix Control UI blank sections caused by malformed persisted cron rows.

- filter invalid cron payloads at the cron.list UI boundary
- guard stale cron payload reads in render, edit, and detail paths
- add regression coverage for malformed cron rows from #55047 and #54439

Closes #55047.
Closes #54439.
Supersedes #54550.
Supersedes #54552.
2026-05-02 10:37:53 -05:00
Val Alexander
5fce2f6b0f fix(control-ui): allow configured chat message width
Adds validated gateway.controlUi.chatMessageMaxWidth support for grouped Control UI chat messages, carries it through the Gateway bootstrap payload into UI state, applies it as a CSS custom property, and documents the setting while preserving the existing default width.

Fixes #67935.

Validation:
- Targeted config, gateway, and Control UI tests passed locally.
- Config schema/docs checks passed.
- Testbox changed-file gate passed.
- GitHub CI and security checks are green on cea25a4ca9.
2026-05-02 10:18:08 -05:00
Peter Steinberger
2b37b383ed fix(sessions): keep list polling lightweight (#76090)
Co-authored-by: rolandrscheel <20336324+rolandrscheel@users.noreply.github.com>
2026-05-02 15:45:38 +01:00
Cedric
98bd987a0a fix(control-ui): bound default sessions query 2026-05-02 15:20:24 +01:00
Val Alexander
d919281fa8 fix(control-ui): improve text selection contrast
Use dedicated high-contrast selection tokens for Control UI/WebChat text selection and add the user-facing changelog entry.\n\nFixes #60850.\nSupersedes #60854.
2026-05-02 07:56:08 -05:00
Kevin
d22da87126 fix: contain iOS standalone viewport (#76072)
Contain the Control UI document in iOS Add-to-Home-Screen standalone mode by enabling viewport-fit=cover, applying safe-area-aware body locking, and constraining the app root so inner panes own scrolling.

Thanks @kvncrw.
2026-05-02 13:46:41 +01:00
Peter Steinberger
e62608beaa fix(release): keep discord core package files 2026-05-02 12:36:07 +01:00
Val Alexander
2bade2703e fix(ui): surface slash command dispatch failures
## Summary
- surface inline Control UI feedback when local slash-command dispatch is unavailable or throws
- cover missing-client and unexpected-error paths for local slash commands
- note the user-facing fix in the changelog

Fixes #52105.
2026-05-02 05:08:05 -05:00
Val Alexander
64fcc8a1aa fix(control-ui): measure and decouple slow refreshes
Add Control UI timing attribution for tab visibility, refresh phases, secondary refresh groups, and gateway RPCs. Decouple slow Overview, Cron, and Nodes secondary refreshes from primary tab feedback, and report Cron runs timing from the controller's real ok/error/skipped load outcome.

Also keeps telemetry secret-safe by excluding request params and response bodies, adds focused regression coverage for RPC attribution and stale/failed background refreshes, and carries the latest-main Discord test fixture correction needed for check:test-types.

Fixes #64004.
2026-05-02 04:33:36 -05:00
Val Alexander
37aebf612b fix(control-ui): create sessions for typed /new
Route typed Control UI `/new` through the dashboard session create-and-switch flow used by the New Chat button.

Keep typed `/reset` as the explicit in-place gateway reset path, and document the Control UI slash-command boundary.

Fixes #69599.
2026-05-02 04:02:34 -05:00
Peter Steinberger
10c8b9085a fix(talk): surface openai realtime browser failures 2026-05-02 08:47:25 +01:00
Peter Steinberger
1dc67ab23a test: align changed gate type fixtures 2026-05-02 08:41:40 +01:00
Peter Steinberger
a483e43f80 refactor: hide command helper internals 2026-05-02 08:34:13 +01:00
Peter Steinberger
636478c622 fix: keep control ui slash commands browser-safe 2026-05-02 08:30:19 +01:00
Peter Steinberger
49e2992be5 refactor: hide ui helper internals 2026-05-02 07:10:14 +01:00
Val Alexander
cb9d7884cc fix(ui): preserve local session continuity (#75948)
Fixes #63195.
Closes #68162.
Closes #73546.

- Keep Control UI chat sends bound to the history-backed session id across reconnects.
- Accept chat.send sessionId at the gateway/protocol boundary and update generated Swift models.
- Resume the last selected TUI session for the same gateway/agent/scope when still present.

Validated by exact-SHA CI on PR #75948.
2026-05-02 00:08:01 -05:00
Peter Steinberger
f739edcf4c fix(ui): keep live chat for canonical session events 2026-05-02 03:45:51 +01:00
Peter Steinberger
4144180eb0 build(deps): update workspace dependencies 2026-05-01 21:58:26 +01:00
Peter Steinberger
a859abdc6e refactor: trim local helper exports 2026-05-01 20:30:34 +01:00
Vincent Koc
2e50f167ce fix(webchat): create dashboard sessions from New Chat (#73725)
Summary:
- The PR rewires Control UI/WebChat New Chat to create and switch to a dashboard session through `sessions.create`, adds guarded UI/session helper logic and regression tests, and updates the changelog.

ClawSweeper fixups:
- Included follow-up commit: fix(webchat): create dashboard sessions from New Chat

Validation:
- ClawSweeper review passed for head 983c634ec0.
- Required merge gates passed before the squash merge.

Prepared head SHA: 983c634ec0
Review: https://github.com/openclaw/openclaw/pull/73725#issuecomment-4338023497

Co-authored-by: vincentkoc <25068+vincentkoc@users.noreply.github.com>
Co-authored-by: clawsweeper <274271284+clawsweeper[bot]@users.noreply.github.com>
2026-05-01 15:08:00 +00:00
Peter Steinberger
040f533f60 chore: update dependencies 2026-05-01 12:43:17 +01:00
Peter Steinberger
1ad50a36ac chore(release): forward-port 2026.4.29 fixes and bump 2026.4.30 2026-05-01 01:06:13 +01:00
konanok
0eb8f34000 refactor(usage): add precise token buckets for Usage Mosaic (#74337)
Merged via squash.

Prepared head SHA: 15185354c4
Co-authored-by: konanok <30515586+konanok@users.noreply.github.com>
Co-authored-by: hxy91819 <8814856+hxy91819@users.noreply.github.com>
Reviewed-by: @hxy91819
2026-04-30 23:32:34 +08:00
Val Alexander
20cbc1f216 fix(control-ui): wire slash menu accessibility
Wire the Control UI chat slash-command menu to the composer with stable listbox and option IDs, active-descendant updates, and a live status announcement. Keep the native textarea role conforming while preserving the menu relationships and tests.
2026-04-30 04:53:27 -05:00
Val Alexander
c34ed90822 fix(control-ui): disable refresh during active runs
Disable the Control UI refresh button while chat is disconnected, loading, sending, running, or streaming.

This prevents manual chat-history refresh from racing active run/stream state and adds browser render coverage for the disabled-state matrix.

Closes #65522.

Validation:
- Exact PR head `1511a086614a727fc4200730e7ad9622134bb7d3` reached `CLEAN` merge state.
- GitHub CI for the exact head completed with no failed or pending checks.
2026-04-30 01:02:14 -05:00
Vincent Koc
c259a90b3b fix(ui): refresh Persian locale copy 2026-04-29 22:51:36 -07:00
github-actions[bot]
0c74952bcf chore(ui): refresh fa control ui locale 2026-04-30 05:39:39 +00:00
Peter Steinberger
83267e99b0 chore: update dependencies 2026-04-29 22:42:45 +01:00
clawsweeper[bot]
1e4a37fbfb fix(ci): Found three actionable i18n regressions: the touched i18n test fi (#74527)
Co-authored-by: openclaw-clawsweeper[bot] <280122609+openclaw-clawsweeper[bot]@users.noreply.github.com>
2026-04-29 13:59:45 -07:00
clawsweeper[bot]
585c2bdba3 fix: Found one low-severity UI localization regression in the markdown (#74600)
Co-authored-by: openclaw-clawsweeper[bot] <280122609+openclaw-clawsweeper[bot]@users.noreply.github.com>
2026-04-29 13:58:07 -07:00
github-actions[bot]
576f64c242 chore(ui): refresh fa control ui locale 2026-04-29 20:17:45 +00:00
github-actions[bot]
0d1ac827b3 chore(ui): refresh nl control ui locale 2026-04-29 20:17:35 +00:00
github-actions[bot]
2bf2720632 chore(ui): refresh vi control ui locale 2026-04-29 20:16:53 +00:00
github-actions[bot]
63cc63e8e0 chore(ui): refresh th control ui locale 2026-04-29 20:16:29 +00:00
github-actions[bot]
e3484727ba chore(ui): refresh pl control ui locale 2026-04-29 20:16:20 +00:00
github-actions[bot]
565cb9029b chore(ui): refresh id control ui locale 2026-04-29 20:16:18 +00:00
github-actions[bot]
b31369a701 chore(ui): refresh uk control ui locale 2026-04-29 20:15:30 +00:00
github-actions[bot]
7e9326026e chore(ui): refresh tr control ui locale 2026-04-29 20:15:16 +00:00
github-actions[bot]
c16a4dfce6 chore(ui): refresh it control ui locale 2026-04-29 20:15:00 +00:00
github-actions[bot]
185a3fcab8 chore(ui): refresh ar control ui locale 2026-04-29 20:14:56 +00:00
github-actions[bot]
5802fcb405 chore(ui): refresh ko control ui locale 2026-04-29 20:14:05 +00:00
github-actions[bot]
2925c801f7 chore(ui): refresh fr control ui locale 2026-04-29 20:14:01 +00:00
github-actions[bot]
92c30630ad chore(ui): refresh ja-JP control ui locale 2026-04-29 20:13:47 +00:00
github-actions[bot]
7c4c008de8 chore(ui): refresh es control ui locale 2026-04-29 20:13:39 +00:00
github-actions[bot]
fef8203de1 chore(ui): refresh zh-TW control ui locale 2026-04-29 20:12:43 +00:00
github-actions[bot]
82629225ac chore(ui): refresh zh-CN control ui locale 2026-04-29 20:12:39 +00:00
github-actions[bot]
b8f4338a94 chore(ui): refresh de control ui locale 2026-04-29 20:12:33 +00:00
github-actions[bot]
b799f6c451 chore(ui): refresh pt-BR control ui locale 2026-04-29 20:12:29 +00:00
Vincent Koc
60c2a90550 fix(ui): gate control ui raw copy 2026-04-29 13:09:47 -07:00