Skip to content

Global Search - SearchableDropdownItem Component

Zack Cuddy requested to merge 239384_01-refactor-searchable-dropdown into master

What does this MR do?

In preparation for #239384 (closed)

This backstage change pulls out some of the logic from SearchableDropdown into a new component SearchableDropdownItem. We had methods that were better suited as computeds which was a good sign that this component could be extracted.

More importantly though, we are going to be adding additional logic to the SearchableDropdown in the above linked issue. Moving some bloat from this component will better position us for that change.

Screenshots (strongly suggested)

Functionality is the same

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

Does this MR contain changes to processing or storing of credentials or tokens, authorization and authentication methods or other items described in the security review guidelines? If not, then delete this Security section.

  • [-] Label as security and @ mention @gitlab-com/gl-security/appsec
  • [-] The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • [-] Security reports checked/validated by a reviewer from the AppSec team

Merge request reports