dashboard
dashboard copied to clipboard
Introduce Cron Editor component
Is your feature request related to a problem? Please describe.
Currently, there is no dedicated Cron Editor component for configuring and visualizing cron schedules in the Rancher UI.
Describe the solution you'd like
Add a new Cron Editor component that:
- Provides an accessible interface for creating, editing, and visualizing cron schedules
- Includes validation for cron expressions with error handling
- Ensures full accessibility (a11y) compliance
- Includes Storybook for component usage and documentation
Describe alternatives you've considered
N/A
Additional context
- https://github.com/rancher/ux/issues/220
Coverage of unit tests in the linked PR looks good to validate the component.
Imho it would be worth adding macro support (like @daily) to the editor in accordance with https://kubernetes.io/docs/concepts/workloads/controllers/cron-jobs/#schedule-syntax.