Closed dave-mills closed 1 year ago
Additional Notes
In testing myself and when supporting others, a big question I've had is "I was just looking at Initiative XYZ. But now I've gone back to the list I cannot find it". This is because the user has added 1 or more filters, set the sort and/or entered a search term, then clicked "assess principles", and then clicked back to the initaitives page. Now, because the page is reset, Initiative XYZ is buried somewhere down in the list. E.g:
https://github.com/stats4sd/aec_portfolio/assets/5711101/3292afbc-6717-42ca-ae0d-b6db6a74349e
This is feedback I've had from a few different people now.
As part of this, we should add a section above the list where we list the filters being used, and highlight the option to remove them.
I think PR #143 fixed this issue.
Is your feature request related to a problem? Please describe. Whenever a user goes back to the initiatives list page, the sorting and filtering is reset. This is not helpful, e.g. when you searched for an initiative to assess and completed the red flags - when you return you need to search for that initiative again.
Describe the solution you'd like The search, filter and sort options should be stored as part of the user's session, so they can be retained when the page reloads.