Commit Graph

1404 Commits

Author SHA1 Message Date
Peter Steinberger
a9ea60db5d test: require config view action buttons 2026-05-08 16:11:14 +01:00
Shakker
a1f80a4c82 test: tighten chat control assertions 2026-05-08 16:09:08 +01:00
Peter Steinberger
4d385e7065 test: require ui navigation controls 2026-05-08 16:09:00 +01:00
Shakker
c8af77a280 test: tighten config browser assertions 2026-05-08 16:08:04 +01:00
Shakker
54b625e761 test: tighten run controls dom counts 2026-05-08 16:07:13 +01:00
Shakker
c0f8eda4ab test: fail hard on missing avatar input 2026-05-08 16:06:20 +01:00
Peter Steinberger
c011300dd4 test: tighten config form control assertions 2026-05-08 16:06:04 +01:00
Shakker
dbda4782fb test: tighten grouped metadata assertions 2026-05-08 16:05:21 +01:00
Shakker
f8e1bafca7 test: tighten grouped delete assertions 2026-05-08 16:04:42 +01:00
Shakker
01c057cc40 test: dedupe exec approval modal assertions 2026-05-08 16:03:52 +01:00
Shakker
8f44dc7da8 test: tighten chat view assertions 2026-05-08 16:02:57 +01:00
Shakker
2b6704dedc test: tighten agents panel assertions 2026-05-08 16:00:54 +01:00
Shakker
bbf536c0c6 test: tighten agents preview assertion 2026-05-08 16:00:01 +01:00
Shakker
b856b3f51c test: tighten dreaming empty state assertion 2026-05-08 15:59:02 +01:00
Shakker
b46c26b4b0 test: tighten tool card button assertions 2026-05-08 15:57:58 +01:00
Shakker
d9175464d7 test: tighten chat mobile helper assertions 2026-05-08 15:56:30 +01:00
Shakker
58e9468f4f test: tighten exec approval assertions 2026-05-08 15:54:43 +01:00
Shakker
8940d34682 test: tighten settings poller assertions 2026-05-08 15:53:52 +01:00
Shakker
0aa2bcd8d3 test: tighten quick settings assertions 2026-05-08 15:52:28 +01:00
Shakker
2cbc67dbc6 test: tighten run controls stop assertion 2026-05-08 15:48:30 +01:00
Shakker
8161dafacf test: tighten command palette assertions 2026-05-08 15:47:27 +01:00
Shakker
10d445c911 test: tighten cron view assertions 2026-05-08 15:46:22 +01:00
Shakker
4763c07be6 test: tighten run controls assertions 2026-05-08 15:45:10 +01:00
Shakker
72209f7758 test: tighten component fixture assertions 2026-05-08 15:44:08 +01:00
Shakker
29e27d2d9c test: tighten ui element assertions 2026-05-08 15:43:01 +01:00
Shakker
bb9beba7cf test: tighten storage session map assertions 2026-05-08 15:42:18 +01:00
Peter Steinberger
b7033369a6 test: tighten non-live object guards 2026-05-08 15:21:00 +01:00
Peter Steinberger
eecef7e10c test: tighten storage doctor assertions 2026-05-08 15:05:29 +01:00
Peter Steinberger
596aa452bf test: tighten ui controller assertions 2026-05-08 14:13:01 +01:00
Peter Steinberger
190c07afe9 test: tighten generic matcher assertions 2026-05-08 14:09:53 +01:00
Peter Steinberger
d16fff10c0 test: clarify ui gateway no throw assertions 2026-05-08 12:58:57 +01:00
Peter Steinberger
d04002c7d9 test: clarify config preset schema assertions 2026-05-08 12:50:39 +01:00
tmimmanuel
b78295b4dd fix(ui): hide sender metadata in control chat (#78790)
Summary:
- Strip untrusted sender metadata from Control UI live stream and transcript rendering.
- Preserve canvas preview anchors while suppressing metadata-only render items.
- Stop operator UI clients from injecting internal client IDs as sender identity while preserving external channel attribution.

Verification:
- pnpm exec oxfmt --check --threads=1 CHANGELOG.md ui/src/ui/chat/build-chat-items.ts ui/src/ui/chat/build-chat-items.test.ts ui/src/ui/chat/message-normalizer.ts ui/src/ui/chat/message-normalizer.test.ts src/gateway/server-methods/chat.ts src/gateway/server-methods/chat.directive-tags.test.ts
- pnpm check:changelog-attributions
- git diff --check
- pnpm test ui/src/ui/chat/build-chat-items.test.ts ui/src/ui/chat/message-normalizer.test.ts -- --reporter=verbose
- pnpm test src/gateway/server-methods/chat.directive-tags.test.ts -- --reporter=verbose -t 'operator UI client sender context'
- GitHub PR checks green on a67ab34fbe

Fixes #78739.
Thanks @tmimmanuel, @guguangxin-eng, @hclsys, and @BunsDev.
2026-05-08 04:10:21 -05:00
Shakker
43d095b6ff test: restore request animation frame cleanup 2026-05-08 09:55:05 +01:00
Peter Steinberger
7468e071dd test: clarify dreaming diary label assertion 2026-05-08 08:24:17 +01:00
Peter Steinberger
c1c3e79a9d test: clarify control ui performance event assertion 2026-05-08 08:18:18 +01:00
Shakker
d2cd9badd9 perf: avoid sorting session lookup paths 2026-05-08 08:14:29 +01:00
Peter Steinberger
a92a349925 test: clarify chat canvas block assertions 2026-05-08 08:10:39 +01:00
Peter Steinberger
10eb02fc8e test: clarify sessions option assertions 2026-05-08 08:08:26 +01:00
Peter Steinberger
d16657e921 test: clarify slash command browser import assertion 2026-05-08 08:06:57 +01:00
Peter Steinberger
b7aca7dc6e test: clarify usage helper warning assertions 2026-05-08 08:05:01 +01:00
Peter Steinberger
2d1ef7b6b4 test: clarify channel config save request assertion 2026-05-08 08:03:31 +01:00
Jesse Merhi
297a164536 Highlight exec command risks in Web approvals (#77153)
Summary:
- Adds parser-derived exec approval command-span metadata through host registration, gateway validation, generated Swift models, Control UI parsing/rendering, tests, and changelog.
- Reproducibility: not applicable. this is a feature PR rather than a bug report. The before/after behavior is ... rom current main’s plain command rendering to PR-head span generation, validation, and Web rendering tests.

Automerge notes:
- PR branch already contained follow-up commit before automerge: refactor: use neutral exec command spans
- PR branch already contained follow-up commit before automerge: refactor: simplify exec command span extraction
- PR branch already contained follow-up commit before automerge: refactor: inline approval command span params
- PR branch already contained follow-up commit before automerge: fix: keep exec approval spans lazy
- PR branch already contained follow-up commit before automerge: build: refresh exec approval protocol models
- PR branch already contained follow-up commit before automerge: Highlight exec command risks in Web approvals

Validation:
- ClawSweeper review passed for head 8d9977eb53.
- Required merge gates passed before the squash merge.

Prepared head SHA: 8d9977eb53
Review: https://github.com/openclaw/openclaw/pull/77153#issuecomment-4368769228

Co-authored-by: jesse-merhi <79823012+jesse-merhi@users.noreply.github.com>
Co-authored-by: clawsweeper <274271284+clawsweeper[bot]@users.noreply.github.com>
2026-05-08 06:38:41 +00:00
Peter Steinberger
fd08fd0b1f fix(ui): read exec security from tools config (#79207) 2026-05-08 06:41:02 +01:00
Peter Steinberger
9e58cc82c8 test: fix strict CI gates 2026-05-08 05:56:38 +01:00
Val Alexander
79e3142122 fix(control-ui): clarify login failure guidance
Summary:
- Replace raw Control UI login failures with structured remediation guidance.
- Classify auth, pairing, insecure HTTP, origin, protocol mismatch, and transport failures without changing Gateway protocol/auth contracts.
- Localize the new login failure copy across shipped Control UI locale bundles and add regression coverage.

Verification:
- pnpm ui:i18n:sync
- pnpm ui:i18n:check
- pnpm exec vitest run --config test/vitest/vitest.ui.config.ts ui/src/i18n/test/translate.test.ts
- pnpm test ui/src/ui/views/login-gate.test.ts ui/src/ui/views/overview.node.test.ts ui/src/ui/app-gateway.node.test.ts
- pnpm tsgo:test:ui
- pnpm exec oxfmt --check --threads=1 CHANGELOG.md ui/src/i18n/locales/*.ts ui/src/i18n/test/translate.test.ts ui/src/styles/components.css ui/src/ui/views/login-gate.ts ui/src/ui/views/login-gate.test.ts
- git diff --check origin/main..HEAD
- Testbox: pnpm check:changed, https://github.com/openclaw/openclaw/actions/runs/25536382431

Notes:
- Current broad CI has unrelated failures in files outside this PR diff; the PR-specific changed gate and touched UI/i18n checks passed.
- Closes none.
2026-05-07 23:52:48 -05:00
Peter Steinberger
9ef37d1907 test: tighten assertions and harness coverage 2026-05-08 05:28:12 +01:00
Val Alexander
30214a40cb fix(ui): read exec policy from tools config (#79119) thanks @BunsDev
Co-authored-by: Nova <nova@openclaw.local>
2026-05-07 22:58:47 -05:00
github-actions[bot]
4aaf934c88 chore(ui): refresh fa control ui locale 2026-05-08 03:44:43 +00:00
github-actions[bot]
114d109df2 chore(ui): refresh nl control ui locale 2026-05-08 03:44:23 +00:00