Skip to content

Refactor epic dropdown

Coung Ngo requested to merge cngo-refactor-epic-dropdown into master

What does this MR do and why?

This MR refactors the old epic dropdown to reuse new epic dropdown code

  • sidebar_dropdown_widget.vue is a new generic dropdown component used for milestone/epic/iteration dropdowns
  • This MR extracts the GlDropdown part of sidebar_dropdown_widget.vue to a separate component so we can reuse it
  • We reuse this newly extracted dropdown in the bulk update sidebar and new issue page instead of the old epic dropdown
  • We delete the old epic dropdown code

Screenshots or screen recordings

No visual changes

How to set up and validate locally

Issues list page

  1. Go to the issues list page, e.g. http://127.0.0.1:3000/h5bp/html5-boilerplate/-/issues/
  2. Click Edit issues
  3. Test the epic dropdown

New issue page

  1. Go to the new issue page, e.g. http://127.0.0.1:3000/h5bp/html5-boilerplate/-/issues/new
  2. Test the epic dropdown

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Coung Ngo

Merge request reports