-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix the interval selection in the all time view #3110
Fix the interval selection in the all time view #3110
Conversation
Not sure if this will cause issues (again?) like described in #2713 because the daily view of all time can be quite hefty to load. |
1890596
to
27b5ffe
Compare
BundleMonUnchanged files (7)
No change in files bundle size Final result: ✅ View report in BundleMon website ➡️ |
70aa75e
to
2e1dd81
Compare
Previously, the interval was always overwritten with the default value, which is determined based on the age of the site. It should not be overwritten when the interval is explicitly passed by the user
2e1dd81
to
a33c663
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you, @krisbuist! There's still the performance issue with all time + daily interval, but this could happen with custom periods or even the year period. Let's track that in a separate issue and merge your fix. Thanks again! ✨
@@ -40,6 +40,7 @@ All notable changes to this project will be documented in this file. | |||
- Fix bug when using multiple [wildcard goal filters](https://github.com/plausible/analytics/pull/3015) | |||
- Fix a bug where realtime would fail with imported data | |||
- Fix a bug where the country name was not shown when [filtering through the map](https://github.com/plausible/analytics/issues/3086) | |||
- Fix [broken interval selection](https://github.com/plausible/analytics/issues/3086) in the all time view |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should've probably gone under "Unreleased"
Reference: #2982 (comment)
Fix: #3280
Previously, the interval was always overwritten with the default value, which is determined based on the age of the site. It should not be overwritten when the interval is explicitly passed by the user
Fixes issue #2982
Changes
The way the query is build for the given params has been edited so that the default interval for the "all" period is only set when there is no interval in the passed params
Tests
Changelog
Documentation
Dark mode