element-portable/src/settings
James Salter 5219b6be80
Analytics opt in for posthog (#6936)
* Add a new flag pseudonymousAnalyticsOptIn replacing analyticsOptIn, stored at account level, so people only need to opt in once.

* Show a toast in login to users that have analyticsOptIn set but not yet pseudonymousAnalyticsOptIn prompting them confirm the new method is okay. Update the copy of the existing opt-in toast. Don't notify users that previously opted out.

* Update the copy in settings

* Add a new learn more dialog

* Support a new config flag analyticsOwner which is used in these toasts when explaining which entity the data is sent to ("Help improve %(analyticsOwner)"). If unset, display brand. This allows deployments whose brand differs from the receiver of the analytics to explain the situation to their users (e.g. AcmeCorp badges their app, but explains the data is sent to Element, not them)

* The new opt-in and flags are only used when posthog is configured; prior to that there are no changes to UX or tracking behaviour.
2021-12-06 09:39:33 +11:00
..
controllers Analytics opt in for posthog (#6936) 2021-12-06 09:39:33 +11:00
enums Fix size of portrait images with the SIZE_NORMAL setting. (#7188) 2021-11-29 15:01:54 +01:00
handlers Analytics opt in for posthog (#6936) 2021-12-06 09:39:33 +11:00
watchers Respect the system high contrast setting when using system theme (#7043) 2021-10-28 13:01:50 +01:00
SettingLevel.ts Move SettingLevel to its own file 2020-07-28 11:37:59 -06:00
Settings.tsx Analytics opt in for posthog (#6936) 2021-12-06 09:39:33 +11:00
SettingsStore.ts Group Labs flags (#7190) 2021-11-25 16:21:10 +00:00
UIFeature.ts Add customisation point for visibility of invites and room creation 2021-10-12 14:33:29 -06:00
WatchManager.ts Fix watching settings 2021-06-05 01:16:52 -04:00