Skip to content

Add frontend and controllers for scheduled merge

  • Please check this box if this contribution uses AI-generated content (including content generated by GitLab Duo features) as outlined in the GitLab DCO & CLA

What does this MR do and why?

Related to #14380 (closed)

This MR is part of a multi-MR feature:

Changes MR
New attribute on MRs !165092 (merged)
Mergeability check !165099 (merged)
Sidekiq worker !165100 (merged)
Frontend & Controller changes 👈

MR acceptance checklist

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

Screenshots or screen recordings

Input field

3000-gitlabcommunity-gitlab-amrbleq3jmz.ws-eu116.gitpod.io_flightjs_Flight_-_merge_requests_13_edit

Merge Widget

image

How to set up and validate locally

  1. Open any MR
  2. Go to the edit page
  3. See a new input for "Merge after"
  4. Set a time in the input
  5. Save
  6. See that the merge is now blocked (if the time is in the future) and will show the configured date in the MR widget
Edited by Niklas van Schrick

Merge request reports

Loading