Skip to content

Replace Dependency List custom sorting with GlSorting component

What does this MR do?

Replace custom sorting with GlSorting component

A snapshot test was removed, since it provided almost no value.

Using GlSorting has changed the styling slightly, although not in a harmful way: the width of the dropdown is fixed, instead of scaling with the amount of text in the selected item.

The GlSorting component may not be fully Pajamas-compliant, and fixing that may bring this UI back to nearly how it looked previously. This is being addressed in gitlab-ui!2316 (merged).

Addresses part of #335066 (closed).

Draft status

Depends on !66672 (merged).

Screenshots or Screencasts (strongly suggested)

Before After
Medium+ device before_lg after_lg
Small device before_sm after_sm

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Edited by Mark Florian

Merge request reports