-
Notifications
You must be signed in to change notification settings - Fork 70
Open
Description
Describe the feature
Implement a reusable component that allows users to configure recurring schedules by selecting specific days of the week and defining start/end times. The component should support ranges that cross midnight and emit the configuration as a JSON object
Use Case
- Admins need to define time windows (e.g., Monday–Wednesday, 22:00 → 06:00) for system tasks, restrictions, or automation rules.
- Previously, schedules were stored as cron expressions, which are hard to read and maintain.
- By switching to a JSON-based configuration, the UI becomes more intuitive, and the backend can still store the configuration as a string without schema changes.
Proposed Solution
Angular Component (UtmScheduleConfigComponent)
- Input: initialConfig (ScheduleConfig object).
- Output: scheduleChange event emitting updated configuration.
- UI Elements:
- Day selector: toggle buttons for each day of the week.
- Time inputs: start and end time fields ().
Other Information
No response
Acknowledgements
- I may be able to implement this feature request
- This feature might incur a breaking change
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
👀 In review