Summary
Replace the raw schedule input with a timezone-aware trigger schedule editor and next-run preview.
Why
The current schedule field accepts @daily, every N minutes, or simple UTC cron. Users think in local time and need to know exactly when a trigger will run, especially for daily digests and business workflows.
Scope
- Add timezone selection/default based on user/browser timezone.
- Add common schedule presets:
- hourly
- daily at time
- weekly on day/time
- every N minutes/hours
- Show computed next run time in local time and UTC.
- Keep raw cron mode for advanced users.
- Persist timezone/config in trigger config or schedule model.
- Update backend next-run calculation to honor timezone for supported presets.
Acceptance Criteria
- A user can schedule “daily at 8:00 AM Australia/Melbourne” and see the correct next run preview.
- Existing UTC/simple schedules still work.
- Backend computes next run deterministically across DST boundaries for supported presets.
- Console UI does not require users to type cron for common cases.
- Unit tests cover timezone next-run calculations and DST edge cases.
- E2E covers creating a scheduled trigger with a local-time preset.
Summary
Replace the raw schedule input with a timezone-aware trigger schedule editor and next-run preview.
Why
The current schedule field accepts
@daily,every N minutes, or simple UTC cron. Users think in local time and need to know exactly when a trigger will run, especially for daily digests and business workflows.Scope
Acceptance Criteria