Search inside the origin releases with name
This change enables the possibility to search with release names inside the browse origin releases page.A search textbox is added, which is connected to a JS function and that reloads the page with the release_name_include query param. Filtering with the name is happening at the storage level.
Related to #3404 (closed)
Test Plan
Go to an archived origin and to its Releases tab. eg: https://archive.softwareheritage.org/browse/origin/releases/?origin_url=https://github.com/SoftwareHeritage/swh-model
- search for a releases, eg: v2
- page will reload with only matching releases
- url will have search string as query param
- the search text will be pre-populated with the search term
- Search for a non existing release name
- "No release names containing 'search term' have been found!" message will appear
- Search with empty release name (or delete the text in search box and enter)
- Page with all the release will appear
Migrated from D5939 (view on Phabricator)