[Feat] Add cron tasks management UI (#161)#161
Merged
Conversation
…resets Full cron management panel: create/edit/delete/toggle/run jobs, view run history inline, preset cron expressions with human-readable preview, interval unit selector, and proper ClawWork task-session identity so cron-created conversations appear in the task list.
Contributor
|
Hi @samzong, DetailsInstructions for interacting with me using comments are available here. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Full cron job management panel for ClawWork — create, edit, delete, toggle, run, and monitor recurring agent tasks directly from the desktop client.
Type of change
[Feat]new feature[UI]UI or UX changeWhy is this needed?
OpenClaw Gateway exposes a rich cron scheduling system (
cron.*RPCs) but ClawWork had no UI for it. Users had to manage cron jobs via CLI or raw API calls. This PR adds a first-class scheduling interface as a main area view.What changed?
cronstrue, interval unit selector (minutes/hours/days), advanced options (model, thinking, delivery, failure alerts)agent:main:clawwork:<deviceId>:task:<uuid>) and register a local task on creation, so cron-created conversations appear in the task list and events route correctlyfalseto prevent server defaulting one-shot jobs to auto-deletefixed z-50overlay from App.tsx; each panel header owns its own drag region viatitlebar-dragclass, eliminating recurring z-index bugsbuildSessionRequestKey, request-key regexes, and related code removed from shared/constants since store-key format is now used consistentlyenabled: 'all'explicitly to server instead ofundefined(server defaults to enabled-only)Architecture impact
docs/architecture-invariants.md: session key format (store-key used for cron session identity)buildSessionKey()— the same function normal tasks use — ensuring consistent session identityValidation
pnpm lintpnpm testScreenshots or recordings
Schedule presets with human-readable cron description, interval unit selector (minutes/hours/days), inline run history below job cards.
Release note
Checklist
[Feat]