Skip to content

Projects dropdown within create Task form doesn't show selection status correctly

What does this MR do and why?

Fixes 'Frequent projects' options in the project selection dropdown so that they can be automatically selected when opening the form.

Also removes duplicate projects from the list. Frequent projects will not be displayed in the larger 'projects' list group.

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

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After
Screenshot_2024-07-19_at_14.52.09 Screenshot_2024-07-19_at_14.54.51

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

  1. Visit an Issue and open the form to create a new Task
  2. The project the Issue is part of should automatically be selected in the project dropdown
  3. Check the same works if the Project is part of the 'Frequent projects' list
  4. There should be no duplicate projects in the dropdown

Related to #473282 (closed)

Edited by Jack Chapman

Merge request reports

Loading