Prefill iteration date with sensible value
What does this MR do and why?
When creating new iterations in manual cadences:
- If cadence has iterations, use day after the last cadence
- Otherwise use the date from the cadence
Screenshots or screen recordings
How to set up and validate locally
- Enable the feature flag
Feature.enable(:iteration_cadences) - Visit any group and create a manual iteration cadence (uncheck 'Automatic' checkbox)
- Click the ellipsis > Add iteration
- Date field should be pre-filled with cadence start date
- Save iteration, add a second one
- Date field should be pre-filled with day after the first iteration's due date
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Simon Knox
