Skip to content

Commit 030da80

Browse files
authored
Merge pull request #1494 from CodeForAfrica/fix/trustlab-list-filter-ux
fix(trustlab): list loading progress + restore filter controls from URL
2 parents 04fcf0d + 20f15fe commit 030da80

14 files changed

Lines changed: 447 additions & 346 deletions

File tree

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
"trustlab": patch
3+
---
4+
5+
Improve the filterable list views (opportunities, reports, toolkits, playbooks):
6+
7+
- Keep the current results in place while a filter/search/page change is fetching (no flash back to the unfiltered list), and show a progress indicator for user-driven fetches only — not on first load, tab focus, or reconnect.
8+
- Restore the filter controls (dropdowns/chips, sort, search) from bookmarked/shared URLs, and stop dropping other active filters on the first interaction.
9+
- Centralise list data-fetching in a shared `useListData` hook.

apps/trustlab/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "trustlab",
3-
"version": "0.0.23",
3+
"version": "0.0.24",
44
"private": true,
55
"scripts": {
66
"dev": "next dev",

0 commit comments

Comments
 (0)