Subsets: Public pages
Add the publicly accessible routes for browsing Subsets and displaying Subset details.
Main menu
Add link to /subsets
to application header menu.
Routes
-
/subsets
showsui/pages/subsets/BrowsePage
-
/subsets/{uuid}
showsui/pages/subsets/DisplayPage
Pages
Pages use the <SidebarLayout
from #6 (closed).
-
ui/pages/subsets/BrowsePage
displays list of Subset cards with<PagedLoader
and the filters -
ui/pages/subsets/DisplayPage
displays dataset details
Components
ui/genesys/subset/Card
ui/pages/subsets/c/Filters
Reducer and actions
This is a top-level component and requires its own reducer named subsets
. The state should contain data necessary to reliably render the browse and display page: filterCode
, filter
, subsets
(results of filtering) and currentSubset
(for display).
Initial list of actions in actions/subsets
: applyFilters
, resetFilters
, displaySubset
call the API and update the state.