element-portable/src/settings/controllers
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
..
CustomStatusController.ts Fix copyright in CustomStatusController 2020-07-28 15:23:25 -06:00
FontSizeController.ts Fix various type definitions 2020-07-30 08:49:42 -06:00
IncompatibleController.ts Show disabled spaces section in preferences regardless 2021-08-11 23:33:10 +01:00
NewLayoutSwitcherController.ts Add option to change the size of images/videos in the timeline (#7017) 2021-11-17 15:19:30 +00:00
NotificationControllers.ts Replace console.warn with logger.warn 2021-10-18 14:08:23 +02:00
OrderedMultiController.ts Appease the linter 2020-09-18 11:39:41 -06:00
PushToMatrixClientController.ts Convert PushToMatrixClientController to TS 2020-07-28 15:21:10 -06:00
ReducedMotionController.ts Disable chat effects when reduce motion preferred 2021-02-17 17:43:31 +00:00
ReloadOnChangeController.ts Convert ReloadOnChangeController to TS 2020-07-28 15:21:53 -06:00
SettingController.ts UI Feature Flag: Communities 2020-09-16 12:56:40 +01:00
SystemFontController.ts Fix various type definitions 2020-07-30 08:49:42 -06:00
ThemeController.ts Auto-fix lint errors 2021-06-29 13:11:58 +01:00
UIFeatureController.ts UI Feature Flag: Communities 2020-09-16 12:56:40 +01:00
UseSystemFontController.ts Fix various type definitions 2020-07-30 08:49:42 -06:00