-
-
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.
Implement filtering for imported data (#4118)
* move imported.ex to imported subfolder * move constructing base imported query into a separate module * Implement imported table deciding and filtering + tests for pages, entry_pages, exit_pages and common filter types * add top stats test with country filter * add timeseries test * Drop bounce_rate and time_on_page from imported & page-filtered Top Stats * rename field returned by top stats * turn pages into a fn comp * Move dashboard API results under a results key ...and also return the skip_imported_reason to the frontend to be used for displaying warnings. * extend ListReport component with an optional afterFetchData prop * turn Devices into a fn comp * add not_requested as a skip_imported_reason * display warning icons in the dashboard * Implement filtering suggestions and translate filter fields for imported * WIP * Improve and cover filtering suggestions with tests * Rename imported suggestions query helpers * fix screen size breakdown with screen size filter * support filtering by the same suggestion property * support location filters when fetching location suggestions * support filtering by multiple props from the same table * Implement filtering by goals * Make views per visit metric work for import entry and exit pages * Get rid of circular dependencies between Stats.Imported and Stats.Imported.Base * Clean up Query struct manipulation in Breakdown * Rename helper function for clarity * Automatically refresh query struct state after modifications * Shutup credo * display imported warning bubble in prop breakdown section * Render warning bubble for funnels whenever imported data is in the view * Transform any operator on respective goal filters * Fix percentage and conversion_rate calculation in presence of custom props * add tests for for combining page and pageview goal filters * add skip_refresh option to query tweaking functions * add imported CR support for timeseries * still show url breakdown when special goal + url in filter * rename Query.refresh * use flat_map instead of map and concat * fix darkmode color * Handle invalid imported region codes in suggestions gracefully * Add an entry to CHANGELOG.md --------- Co-authored-by: Adrian Gruntkowski <[email protected]>
- Loading branch information
1 parent
7cd9bea
commit 1d3b068
Showing
54 changed files
with
2,915 additions
and
602 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
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.