openclaw/ui/src
cuitianhao 39cb6ecbb9
fix: keep cron last delivery sentinel runtime-only (#68829) (thanks @tianhaocui)
* fix(cron): stop persisting "last" as literal delivery channel value

The UI controller writes the sentinel value "last" into jobs.json when
the delivery channel field is empty. This overwrites user-configured
channels (e.g. "telegram") because the form populates with "last" as
the default fallback, and saving the form materializes it as a literal
persisted value.

"last" is a runtime-only sentinel meaning "use whatever channel was
last used in the session" and should never be written to jobs.json.
When the channel field is empty, write `undefined` instead so the
runtime delivery plan resolver applies the "last" fallback at
execution time without polluting the persisted state.

Fixes #68760

* fix(cron): keep last delivery sentinel runtime-only

* fix: keep cron last delivery sentinel runtime-only (#68829) (thanks @tianhaocui)

* fix: preserve clear-to-last cron updates (#68829) (thanks @tianhaocui)

---------

Co-authored-by: Ayaan Zaidi <hi@obviy.us>
2026-04-19 12:09:16 +05:30
..
i18n chore(ui): refresh uk control ui locale 2026-04-15 05:45:22 +00:00
styles fix(ui): reset settings scroll and align details headers (#68150) thanks @BunsDev 2026-04-17 09:55:30 -05:00
test-helpers refactor: simplify cli conversions 2026-04-11 01:27:48 +01:00
types fix: stabilize logging config imports 2026-03-24 17:21:28 +00:00
ui fix: keep cron last delivery sentinel runtime-only (#68829) (thanks @tianhaocui) 2026-04-19 12:09:16 +05:30
css.d.ts build: update deps and stabilize tests 2026-02-22 23:32:38 +01:00
local-storage.ts test: use safe storage helpers in app mount hooks 2026-03-28 13:24:04 +00:00
main.ts
markdown-it-task-lists.d.ts fix(ui): replace marked.js with markdown-it to fix ReDoS UI freeze (#46707) thanks @zhangfnf 2026-04-13 16:08:35 -05:00
styles.css feat(ui): overhaul settings and slash command UX (#67819) thanks @BunsDev 2026-04-16 20:29:11 -05:00