Skip to content

feat(merge request reports): Replace modal with drawer

Gina Doyle requested to merge main-patch-e027 into main

What does this MR do?

This MR updates the merge request reports guidance to use drawers instead of modals if using inline links. When looking at the modal component guidance, we are not supposed to use modals to show additional content When content can be displayed inline. Utilize elements such as popovers, accordions, or drawers to present additional information while allowing the user to maintain focus on the page.

With the new work that Code Quality gitlab-org/gitlab#388258 (closed)Code_quality_-inline_findings-expanded-_cq_detail_drawer.png is working on for enhancing the code quality MR widget, and with the direction that UX is going for future MR reports gitlab-org/gitlab#389441 (closed), we should always use drawers if additional content is necessary from inline elements in an MR widget.

Does this MR meet the acceptance criteria?

Links

Edited by Gina Doyle

Merge request reports