Skip to content

Use GlListbox in `gl_redirect_listbox_tag`

Olena Horal-Koretska requested to merge 364715-listbox-for-sort-dropdowns into master

What does this MR do and why?

This MR introduces the feature flag gl_listbox_for_sort_dropdowns behind which gl_redirect_listbox_taghelper will render GlListbox instead of the GlDropdown. The gl_redirect_listbox_tag is used to render mainly sort dropdowns that reload the page. There are about 10 occurrences in the codebase. When we'll check that each instance behind the FF works correctly the implementation will be switched to use GlListbox.

To check, enable the FF gl_listbox_for_sort_dropdowns and go to the project's MRs page - http://localhost:3000/flightjs/Flight/-/merge_requests. Check that the sort dropdown works the same both with the FF enabled and disabled.

Screenshots or screen recordings

Screenshot_2022-09-19_at_20.37.59

How to set up and validate locally

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

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 #364715 (closed)

Merge request reports