Skip to content

Replace deprecated property on GlFormSelect component

Sarah German requested to merge gps-gl-select-width into main

What does this MR do and why?

Sets a width on the Versions selector on the search result page.

The size property we used for this previously was removed in GitLab UI v71: https://gitlab.com/gitlab-org/gitlab-ui/-/releases/v71.0.0

Regression introduced here: !4422 (merged)

Screenshots, screen recordings, or links to review app

Before After
image image

Review app: https://gps-gl-select-width.docs.gitlab-review.app/search/?q=computers&page=1

How to set up and validate locally

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

  1. Configure a local GitLab Docs environment: https://gitlab.com/gitlab-org/gitlab-docs/-/blob/main/doc/setup.md.
  2. Configure for Google search: https://gitlab.com/gitlab-org/gitlab-docs/-/blob/main/doc/search.md?ref_type=heads#local-build-with-google-programmable-search
  3. View the search results page. There should be a little more space between the Version dropdown and the result list.

Merge request 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 Sarah German

Merge request reports