Skip to content

Remove dropdown when one option in mobile view

What does this MR do and why?

This MRs only shows the button and removes the triple dot menu from status check widget when there is only one option. THis is because in mobile viewport the triple dot menu is cut off and requires an extra click for users.

Screenshots or screen recordings

Update-README-md-1--Merge-requests--Gitlab-Org-Missing-yaml-_-GitLab

How to set up and validate locally

  1. Create external status check https://docs.gitlab.com/ee/user/project/merge_requests/status_checks.html#view-the-status-checks-on-a-project (you can use example.com for url to ensure the status check is always failed)
  2. Create MR for a project
  3. Expand the collapsed Status Checks MR widget
  4. Change the view port and see that the Retry button is still viible.=

MR acceptance checklist

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

Related to #388895 (closed)

Edited by Nate Rosandich

Merge request reports