Staging instance, all changes can be removed at any time

Skip to content

Search inside the origin branches with name

This code enables the possibility to search for branch names inside the browse origin branches page. A newly added search input is connected to a JS function and that reloads the page on press of return. Filtering with name is happening at the storage level.

Related to #3157 (closed)

Test Plan

  • search for a branch, eg: master
    • page will reload with only matching pages
    • url will have search string as query param
    • the search text will be pre-populated with the search term
  • Search for a non existing branch name
  • "No branch names containing 'search term' have been found!" message will appear
  • Search with empty branch name (or delete the text in searech box and enter)
  • Page with all the branches will appear

Migrated from D5905 (view on Phabricator)

Merge request reports

Loading