-
-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Frontend: Use jsonurl, update filtering (#4117)
* Start refactoring, supporting jsonurl * WIP: Listing of applied filters works * WIP: Remove some unneeded hackery * WIP: Handle country labels better * WIP: Handle multiple filters better * WIP: Serializing filters for API queries * Split modal code into 3 * Merge code paths for prop and other filter modals * Get suggestions working again * Display prop filters properly * Handle re-opening a props modal properly * Better label handling * Better linking to filter modals * Remove unneeded component * Standardize how we update query more * Use updatedQuery to remove more usecases of URLSearchParams * Dont export toFilterQuery * Custom toString for PlausibleSearchParams * Fix props suggestions/filtering * Refactor isFilteringOnFixedValue * Improved encoding - goals now work again * fix a typo * Handle more cases where query.filters[ is used * Fix locations tab changing behavior * Fix for `setQuery` not to double up ? * Handle goal filters properly now * Delete dead code * Update special goals handling * Update <ListReport /> linking * Show labeled values in list of filters * Updae Props component handling of storage keys * re-add special case handling in devices view * Fix modal-related typo * Get updatedQuery callsites working * Update location modals linking * Update props details model linking logic * Switch back tab from props when removing goal filter * Remove query.filters usage from within <Referrers /> component * Private escapeFilterValue * Fix sources/index.js * Legacy redirect logic * Update comment * Disabled options in props modal * Update escaping and is_not operator * Restore `false` search property handling meaning unset * changelog * Fix filtering after clicking on a map * FilterOperatorSelector * replaceFilterByPrefix * Improve naming for filter modals/groups
- Loading branch information
Showing
42 changed files
with
974 additions
and
843 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
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
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.