-
Notifications
You must be signed in to change notification settings - Fork 530
Set-up and link to available browse pages #259
Description
Use the new BrowseService methods created in #255 to configure the available browse pages in the UI.
a browse page should be available for each browse index available on the REST API
For the entire repository, the routes should be /browse/:index-name for the entire repository, so e.g. /browse/author
For a collection or community the route should be /collection/:id/browse/:index-name or /community/:id/browse/:index-name, so e.g.
/community/9abbd9e5-51d9-45c5-a2ec-dae4c8cfc280/browse/title
Create a component that renders the available browse options as a set of nav-pills, similar to the way it currently looks in xmlui. It's probably best to use the flex layout in order to stack them vertically on xs screens, and horizontally everywhere else.
The component should have an optional scope @Input. If it's left out, it should link to the entire repo's browse pages, if it's there it should limit the pages to that scope.
Put it on the homepage, and on community and collection homepages.