Uh oh!
There was an error while loading. Please reload this page.
Fix observer list losing filtering - #663
Conversation
@imdeaconu is attempting to deploy a commit to the Code for Romania Team on Vercel. A member of the Team first needs to authorize it. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
idormenco
commented
Sep 17, 2024
LGTM |
* fix: make dropdown menus scrollable * fix: truncate overflowing table columns * create reusable filtering containers * add ObserverTags component * fix ObserversTagSelect * remove old filtering system from observers list * feature: remove just one item from a filter array * fix back button not keeping filtering in ObserversList * update active filter badges * add titles to back buttons * rename components and use enums instead of magic strings * misc: various changes
* Add locations feature * Fix observer list losing filtering (#663) * fix: make dropdown menus scrollable * fix: truncate overflowing table columns * create reusable filtering containers * add ObserverTags component * fix ObserversTagSelect * remove old filtering system from observers list * feature: remove just one item from a filter array * fix back button not keeping filtering in ObserversList * update active filter badges * add titles to back buttons * rename components and use enums instead of magic strings * misc: various changes * [NGO Admin] Rewrite the tag selector component (#675) * fix: make dropdown menus scrollable * fix: truncate overflowing table columns * Squashed commit of the following: commit 742f250 Author: imdeaconu <imdeaconu@gmail.com> Date: Wed Sep 11 19:54:55 2024 +0300 add read notification checkmark commit ea11fa0 Author: imdeaconu <imdeaconu@gmail.com> Date: Wed Sep 11 19:54:30 2024 +0300 add read notification column * Squashed commit of the following: commit d8833dc Author: imdeaconu <imdeaconu@gmail.com> Date: Fri Sep 13 13:29:31 2024 +0300 WIP: add selector functionality commit 3608c0e Author: imdeaconu <imdeaconu@gmail.com> Date: Fri Sep 13 10:00:05 2024 +0300 WIP: create new tags input * chore: remove unused import * chore: delete duplicated / unused classes * make public an endpoint ,cleanuo * Implement export data for locations and citizen reports --------- Co-authored-by: Iulian Deaconu <imdeaconu@gmail.com>
* fix: make dropdown menus scrollable * fix: truncate overflowing table columns * create reusable filtering containers * add ObserverTags component * fix ObserversTagSelect * remove old filtering system from observers list * feature: remove just one item from a filter array * fix back button not keeping filtering in ObserversList * update active filter badges * add titles to back buttons * rename components and use enums instead of magic strings * misc: various changes
* Add locations feature * Fix observer list losing filtering (#663) * fix: make dropdown menus scrollable * fix: truncate overflowing table columns * create reusable filtering containers * add ObserverTags component * fix ObserversTagSelect * remove old filtering system from observers list * feature: remove just one item from a filter array * fix back button not keeping filtering in ObserversList * update active filter badges * add titles to back buttons * rename components and use enums instead of magic strings * misc: various changes * [NGO Admin] Rewrite the tag selector component (#675) * fix: make dropdown menus scrollable * fix: truncate overflowing table columns * Squashed commit of the following: commit 742f250 Author: imdeaconu <imdeaconu@gmail.com> Date: Wed Sep 11 19:54:55 2024 +0300 add read notification checkmark commit ea11fa0 Author: imdeaconu <imdeaconu@gmail.com> Date: Wed Sep 11 19:54:30 2024 +0300 add read notification column * Squashed commit of the following: commit d8833dc Author: imdeaconu <imdeaconu@gmail.com> Date: Fri Sep 13 13:29:31 2024 +0300 WIP: add selector functionality commit 3608c0e Author: imdeaconu <imdeaconu@gmail.com> Date: Fri Sep 13 10:00:05 2024 +0300 WIP: create new tags input * chore: remove unused import * chore: delete duplicated / unused classes * make public an endpoint ,cleanuo * Implement export data for locations and citizen reports --------- Co-authored-by: Iulian Deaconu <imdeaconu@gmail.com>
* fix: make dropdown menus scrollable * fix: truncate overflowing table columns * create reusable filtering containers * add ObserverTags component * fix ObserversTagSelect * remove old filtering system from observers list * feature: remove just one item from a filter array * fix back button not keeping filtering in ObserversList * update active filter badges * add titles to back buttons * rename components and use enums instead of magic strings * misc: various changes
* Add locations feature * Fix observer list losing filtering (#663) * fix: make dropdown menus scrollable * fix: truncate overflowing table columns * create reusable filtering containers * add ObserverTags component * fix ObserversTagSelect * remove old filtering system from observers list * feature: remove just one item from a filter array * fix back button not keeping filtering in ObserversList * update active filter badges * add titles to back buttons * rename components and use enums instead of magic strings * misc: various changes * [NGO Admin] Rewrite the tag selector component (#675) * fix: make dropdown menus scrollable * fix: truncate overflowing table columns * Squashed commit of the following: commit 742f250 Author: imdeaconu <imdeaconu@gmail.com> Date: Wed Sep 11 19:54:55 2024 +0300 add read notification checkmark commit ea11fa0 Author: imdeaconu <imdeaconu@gmail.com> Date: Wed Sep 11 19:54:30 2024 +0300 add read notification column * Squashed commit of the following: commit d8833dc Author: imdeaconu <imdeaconu@gmail.com> Date: Fri Sep 13 13:29:31 2024 +0300 WIP: add selector functionality commit 3608c0e Author: imdeaconu <imdeaconu@gmail.com> Date: Fri Sep 13 10:00:05 2024 +0300 WIP: create new tags input * chore: remove unused import * chore: delete duplicated / unused classes * make public an endpoint ,cleanuo * Implement export data for locations and citizen reports --------- Co-authored-by: Iulian Deaconu <imdeaconu@gmail.com>
* fix: make dropdown menus scrollable * fix: truncate overflowing table columns * create reusable filtering containers * add ObserverTags component * fix ObserversTagSelect * remove old filtering system from observers list * feature: remove just one item from a filter array * fix back button not keeping filtering in ObserversList * update active filter badges * add titles to back buttons * rename components and use enums instead of magic strings * misc: various changes
* Add locations feature * Fix observer list losing filtering (#663) * fix: make dropdown menus scrollable * fix: truncate overflowing table columns * create reusable filtering containers * add ObserverTags component * fix ObserversTagSelect * remove old filtering system from observers list * feature: remove just one item from a filter array * fix back button not keeping filtering in ObserversList * update active filter badges * add titles to back buttons * rename components and use enums instead of magic strings * misc: various changes * [NGO Admin] Rewrite the tag selector component (#675) * fix: make dropdown menus scrollable * fix: truncate overflowing table columns * Squashed commit of the following: commit 742f250 Author: imdeaconu <imdeaconu@gmail.com> Date: Wed Sep 11 19:54:55 2024 +0300 add read notification checkmark commit ea11fa0 Author: imdeaconu <imdeaconu@gmail.com> Date: Wed Sep 11 19:54:30 2024 +0300 add read notification column * Squashed commit of the following: commit d8833dc Author: imdeaconu <imdeaconu@gmail.com> Date: Fri Sep 13 13:29:31 2024 +0300 WIP: add selector functionality commit 3608c0e Author: imdeaconu <imdeaconu@gmail.com> Date: Fri Sep 13 10:00:05 2024 +0300 WIP: create new tags input * chore: remove unused import * chore: delete duplicated / unused classes * make public an endpoint ,cleanuo * Implement export data for locations and citizen reports --------- Co-authored-by: Iulian Deaconu <imdeaconu@gmail.com>
Changes
The proposed filtering system
The proposed filtering system uses reusable components that encapsulate their business logic so their behavior should be identical throughout the app. The system uses query params as a single source of truth so the state is saved through navigation and can be bookmarked or shared via an URL.