Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix #5957 feat(nimbus-ui): sortable directory columns
Because: * We want to make the directory view table sortable by each column * Currently applied sorting should be reflected in the url query parameter. This commit: * Adds support for directory tab selection via query parameter * Adds experiment sorting to DirectoryTable based on location query parameters * Adds SortableColumnTitle component to DirectoryTable to cycle through column sorting modes and update location query parameters * Updates column definitions in DirectoryTable components to support sorting criteria * Adds sorting utilities to lib/experiment.ts * Tweaks mock data to add more sortable variety * Updates tests and stories with router context * Adds useSearchParamsState hook to read and update location query parameters
- Loading branch information
Showing
14 changed files
with
715 additions
and
120 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.