This repository has been archived by the owner on Sep 11, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 828
Analytics opt in for posthog #6936
Merged
Merged
Changes from 9 commits
Commits
Show all changes
83 commits
Select commit
Hold shift + click to select a range
fdd8215
Make pseudonymousAnalyticsOptIn the new analytics opt in flag
novocaine b136599
Note that we send an Analytics ID
novocaine a90e49e
Remove "anonymous" term.
novocaine 0178bcc
Toast shows explanation about re-opt-in if necessary
novocaine 1942963
Merge remote-tracking branch 'origin' into analytics-pseudo-opt-in
novocaine e9f0741
stash wip
novocaine 7def9c2
Merge remote-tracking branch 'origin' into analytics-pseudo-opt-in
novocaine ff0726d
fix lint
novocaine 3547e91
Fix settings controller/level
novocaine c3b200b
Listen only to events from account data sync
novocaine d9ce993
fix toast on startup
novocaine 6bd3c57
Toast display relies on sync events
novocaine d9baaca
Merge remote-tracking branch 'origin' into analytics-pseudo-opt-in
novocaine 79c26bd
Fix toast behaviour
novocaine 9e0f4a7
Pass flag into showToast so its up to date
novocaine fa19b8a
Explicitly check if showPrompt is true as well as waiting for events
novocaine a9fe002
slightly clarify comment
novocaine b85a44e
Revert to enabling old analytics off old flag
novocaine 76978a4
Add comment
novocaine cd287fa
Fix lint
novocaine 4216807
Preserve existing analytics libraries
novocaine 5612223
Add ability to customise the analytics owner
novocaine 3cea363
Don't stop listening - flag can flip true/false during init
novocaine 4e0a973
fix type lint
novocaine 5caf52b
fix imports
novocaine 3021333
Make analyticsOwner orthogonal from posthog
novocaine f42d8b2
Update src/Analytics.tsx
fbc38b3
Explicitly state private readonly
novocaine 17b86d6
Use SettingsStore.watchSetting rather than on acountData
novocaine 5464742
camelcase
novocaine 38044a8
Add noreferrer noopener
novocaine ec76c88
Use watchSetting to handle race condition
novocaine f620f89
Preserve old toast unless posthog is enabled
novocaine d2ea642
Prefences doesn't switch to using posthog config unless posthog is sw…
novocaine 7e1630f
Link to cookie policy from analytis page
novocaine c6a627b
Merge remote-tracking branch 'origin' into analytics-pseudo-opt-in
novocaine 2f5ab38
Reformat translated strings using concat
novocaine fd8d79c
Translate cookie policy link
novocaine b93c2a1
Reinstate listed data sent as part of analytics
novocaine eba44d9
denote XXX
novocaine 571f986
convert accountData watcher to use SettingsStore
novocaine 67fd6c5
fix camelCase
novocaine ec6d829
Update wording according to review
novocaine 26b537e
Update wording in preferences to be consistent with toast
novocaine f35dfb4
Explicitly link to more information
novocaine 40b1179
Make labels in analytics table wider so the modal isn't so high
novocaine 0070fd1
Disable analytics on logout
novocaine 9667d0e
don't wrap line unnecessarily
novocaine f155482
remove *typographic* quotation marks
novocaine 0a1cb02
i18n
novocaine c950db5
Move analytics settings to im.vector.analytics
novocaine af11ff7
remove showPseudonymousAnalyticsPrompt
novocaine e75ccaa
Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into…
novocaine becb105
Cleanup
novocaine dbeaadd
Update copy
novocaine 7c68aaa
Create new analytics Learn More dialog, hook it up to the toast
novocaine 3cb2c23
Fix all copy, style the dialog
novocaine 14f5523
Merge remote-tracking branch 'origin' into analytics-pseudo-opt-in
novocaine 3c40684
fix whitespace
novocaine d9fedf6
$accent-color -> $accent
novocaine a550b66
Fix another $accent, and don't mark privacyPolicyUrl as optional
novocaine c256f72
_tBold breaks i18n static parsing
novocaine 72ad384
Update e2e tests
novocaine 432c980
Show new learn more from analytics
novocaine ec9c6ba
Remove analytics ID from old analytics details, which is shown for no…
novocaine 18a0654
Remove period from link title
novocaine 269e786
Fix analytics toast not working for non-posthog
novocaine 98d156f
Fix privacyPolicyUrl variable name
novocaine dfd360c
Tweak padding and margin per design's request
novocaine 806545b
Add copyright
novocaine ed1c2b5
Change indent
novocaine 73db237
use Action enums
novocaine 6628dbf
Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into…
novocaine 196d0d2
Update styling for toast buttons to be identical
novocaine 01c9574
Update copy
novocaine 0adedfc
i18n
novocaine 560494f
Put cookie link back in old toast
novocaine dab34a7
Update src/PosthogAnalytics.ts
1264c57
Update src/PosthogAnalytics.ts
9eb010d
Add comments indicating no payload
novocaine 5bfafa7
Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into…
novocaine 1017e71
fix botched merge commit
novocaine 2a34286
use $font-weight-semi-bold
novocaine File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
we have $font-semi-bold for this