element-web/test
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
..
accessibility Allow filtering room list during treeview navigation (#7219) 2021-11-29 17:18:35 +00:00
autocomplete Auto-fix lint errors 2021-06-29 13:11:58 +01:00
components Hide votes in a poll until you voted (#7269) 2021-12-03 10:26:28 +00:00
editor Fix links being parsed as markdown links improperly (#7200) 2021-11-30 18:09:05 +00:00
end-to-end-tests Analytics opt in for posthog (#6936) 2021-12-06 09:39:33 +11:00
i18n Fix languages.json 2017-06-01 21:10:32 +02:00
i18n-test Attempt to fix tests some more 2020-09-15 13:19:47 +01:00
img Fix a load of warnings in the tests 2016-10-11 14:20:40 +01:00
notifications Update eslint plugin & fix silly indenting 2021-08-03 17:07:37 +01:00
settings/watchers Unit tests for getEffectiveTheme (#7051) 2021-10-29 09:11:55 +01:00
stores When accepting DM from People metaspace don't switch to Home (#7272) 2021-12-03 11:17:51 +00:00
utils Fix a couple relative date tests (#7184) 2021-11-23 11:29:23 -07:00
.eslintrc.js Migrate to eslint-plugin-matrix-org 2021-06-29 12:51:13 +01:00
CallHandler-test.ts Make CallHandler more EventEmittery (#6704) 2021-11-30 18:09:13 +00:00
createRoom-test.js Conform to new react and typescript eslint rules 2021-07-19 22:43:11 +01:00
DecryptionFailureTracker-test.js fix more private field accesses in tests 2021-06-17 15:23:29 +01:00
globalSetup.js Fix TimeZone to be UTC in Jest tests (#7082) 2021-11-04 10:39:49 +00:00
KeyBindingsManager-test.ts Comply with new member-delimiter-style rule 2021-07-01 23:23:03 +01:00
linkify-matrix-test.ts Refactor matrix-linkify module (#7279) 2021-12-03 14:00:56 +00:00
Markdown-test.ts Refactor matrix-linkify module (#7279) 2021-12-03 14:00:56 +00:00
PosthogAnalytics-test.ts fix tests 2021-09-15 13:55:34 +01:00
ScalarAuthClient-test.js Auto-fix lint errors 2021-06-29 13:11:58 +01:00
setupTests.js Fix missing snapshot serializer&enzyme init (#6932) 2021-10-13 11:09:43 +01:00
skinned-sdk.js Auto-fix lint errors 2021-06-29 13:11:58 +01:00
Terms-test.js Auto-fix lint errors 2021-06-29 13:11:58 +01:00
test-utils.js Mock usage of getRoomUpgradeHistory in SpaceStore tests 2021-10-08 10:30:46 +01:00
TextForEvent-test.ts Handle case where one message is pinned, and another unpinned 2021-08-11 14:56:59 +01:00
UserActivity-test.js lolex renamed to @sinonjs/fake-timers 2021-01-27 12:31:37 +00:00