-
-
Notifications
You must be signed in to change notification settings - Fork 935
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add no telemetry option and improve analytics code clarity (#2740)
* Refactor analytics configuration to use `configureAnalyticsProperties` instead of `initPlausible` for improved clarity * format & add comment explaining analytics ping code if any people reviewing source for their own verification of its purpose, this should make it much clearer what this does * refactor Setting to use named function so its references can be source-peeked * add basic support for 'none' telemetry option changing the option in the Select dropdown breaks things right now, gotta figure out why * fix usePlausibleEvent sending old telemetry level preference property to submitPlausibleEvent * Fall back fo 'unknown' instead of '0.1.0' for app version stats * Better explain the purpose of more things in submitPlausibleEvent * organize and clean up internationalization file keys * fix lowercase connect/connecting key names in code * add no-telemetry option to onboarding * Only display error report button if telemetry is enabled * Add explainer to Sentry plugin for Vite * Fix onboarding selection in both interface and mobile * Add more explanation and checks to usePlausible to never send data unless allowed * add support for onLoad to transform data from persisted mutable stores * update some analytics explainers on mobile * add telemetry state migration * add migration for telemetry state from explorer layout key in persisted store * fix cypress test for onboarding privacy page * remove some accidentally included console.log statements * Add localized analytics preference names * Use localized telemetry preference names in Settings * use cleaner text wrapping in settings * Update the telemetry setting title * fix telemetry typo * update mobile no-analytics text * remove telemetry override option
- Loading branch information
Showing
29 changed files
with
419 additions
and
195 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
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.