Skip to content

Update ListboxHelper to adhere to Pajamas style

  • 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?

Fixes: #417800 (closed)

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

See !151151 (comment 1911124165).

How to set up and validate locally

  1. Visit some of the places this helper is used:
  2. Ensure the dropdown looks correct. Ideally, load the page with JavaScript disabled, since the markup this changes is completely replaced by Vue components once JS is executed.
  3. Bonus points: compare DOM structure with a real listbox (just the button and parent element, not the menu).
Edited by Mark Florian

Merge request reports