FAQ | This is a LIVE service | Changelog

Skip to content

DO NOT MERGE: add sorting to the asset list

IMPORTANT: This PR depends on #36 and includes d69e6a55 from that PR.

Add sorting to the asset list. Filtering would also be possible but there is no UI design for it yet so I've left it for another story. This is done with two commits:

e32351bc adds a new action, getAssets, which fetches a new list of assets from the API with a query specifying search, sorting and filtering. When the request succeeds, the redux state is updated to record the query so that UI components can react.

afa34a7d adds some UI components which react to this change by re-factoring the AssetTable body and header into two components and making use of the new TableSortLabel component from MUI v1 to render a nice header.

Merge request reports