Create duration input and dropdown

What does this MR do and why?

Create duration input and dropdown

  • allow for input of time
  • allow dropdown for changing units

EE: true

References

Screenshots or screen recordings

Before After
image image

How to set up and validate locally

  1. Upload a GitLab Ultimate license
  2. Enable the feature flag via terminal or http://gdk.test:3443/rails/features
echo "Feature.enable(:scheduled_pipeline_execution_policies)" | rails c
  1. Navigate to a project => Secure => Policies => New policy => Pipeline execution policy => Select "schedule a new"
  2. Verify updating the duration updates the yaml

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #505173 (closed)

Edited by Alexander Turinske

Merge request reports

Loading