James Salter
8ef18d0f9a
Add module level comment about anonymity behaviour
2021-07-28 11:03:40 +01:00
James Salter
c3e715c1ca
i18n
2021-07-28 10:45:32 +01:00
James Salter
c206127f68
Track screen name when tracking page view
2021-07-28 10:45:03 +01:00
James Salter
4048cb3c37
Default to Anonymous tracking when no OptIn setting is present
2021-07-28 10:20:16 +01:00
James Salter
a6df687196
Tidy up interface and add some comments
2021-07-28 09:54:37 +01:00
James Salter
1d81bdc6f9
Interface changes and anonymity fixes
2021-07-28 09:37:08 +01:00
James Salter
474561600e
Fix hash == ""
2021-07-27 13:31:56 +01:00
James Salter
5e0a397631
Refactor anonymity derivation
2021-07-23 17:58:31 +01:00
James Salter
95f4275807
Add Disabled anonymity, improve tests
2021-07-23 16:47:02 +01:00
James Salter
c34afdb4bd
Refactor platform properties loading
2021-07-21 18:35:25 +01:00
James Salter
585b702652
Add tip about shasum
2021-07-21 18:25:05 +01:00
James Salter
0c89eb51d4
add registerSuperProperties
2021-07-21 18:24:14 +01:00
James Salter
e9e0e4847f
Move Welcome.js to tsx
2021-07-21 17:02:14 +01:00
James Salter
b380a89ac6
Fix wrong overriden attribute
2021-07-21 17:01:45 +01:00
James Salter
f358deb6c4
Manually track page views
2021-07-21 16:52:57 +01:00
James Salter
93962c0aca
Update reasoning around disabling capture_pageview
2021-07-21 16:29:11 +01:00
James Salter
34f8c60b34
Hook analytics into the SDK
2021-07-21 16:15:18 +01:00
James Salter
6737cfd297
remove superflous dnt clear
2021-07-21 16:10:06 +01:00
James Salter
53b6749f73
Change onboarding_login_begin to welcome_screen_load
2021-07-21 16:09:22 +01:00
James Salter
5697eeaab8
Put back accidentally removed anonymity update
2021-07-21 16:08:00 +01:00
James Salter
726b4497b2
Remove redactedCurrentLocation and rely on posthog for DNT
...
* Redact and pass the redacted url as a property. redactedCurrentLocation might have issues with concurrent events
* Remove DNT code and rely on posthog
2021-07-21 16:06:09 +01:00
James Salter
4c6b0d35ad
Improve analytics interface
...
* Make it an error to call it before its initialised, and separately track whether its been enabled
* Use anonmity enum in the public interface
* Properly await upstream calls
* Fix accidental test fixture cross-reliance
2021-07-21 14:58:43 +01:00
James Salter
6da3cc8ca1
Redact sensitive data
2021-07-21 13:48:10 +01:00
James Salter
7e549f84e7
Don't make getAnalytics the default export, its weird
2021-07-21 11:23:55 +01:00
James Salter
d9594c428a
login event should be IAnonymousEvent
2021-07-21 11:23:42 +01:00
James Salter
678474c0e8
Fix missing underscore
2021-07-21 11:23:18 +01:00
James Salter
b5564a0de0
Add getAnalytics helper
2021-07-21 08:42:29 +01:00
James Salter
4b0cb409a0
Add identifyUser
2021-07-21 08:38:58 +01:00
James Salter
74b0e52f9a
Enforce anon/pseudo-anon via types
2021-07-21 08:23:42 +01:00
James Salter
3135e42586
Add test for silently ignoring messages when not initialised
2021-07-21 07:42:55 +01:00
James Salter
d4550c1a28
Remove console logging
2021-07-21 07:42:44 +01:00
James Salter
2a48d3c9bc
First pass at a PosthogAnalytics class
2021-07-21 07:40:39 +01:00
Michael Telatynski
48817499e4
Merge pull request #6399 from matrix-org/t3chguy/fix/18032
...
Don't throw exception from setStickyRoom as it split-brains the RoomListStore
2021-07-19 12:53:34 +01:00
David Baker
863f4d4f9f
Merge pull request #6394 from matrix-org/dbkr/exorcise_homeserver_checkbox
...
Fix bug where 'other homeserver' would unfocus
2021-07-19 10:09:03 +01:00
Michael Telatynski
e54a7f0997
Don't throw exception from setStickyRoom as it split-brains the RoomListStore
2021-07-19 09:36:25 +01:00
Michael Telatynski
4ef4f49e90
Merge pull request #6392 from SimonBrandner/task/cleanup-replies
2021-07-18 13:37:44 +01:00
Šimon Brandner
21eb299eff
Make roomStoreToken readonly
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-18 14:32:24 +02:00
Šimon Brandner
d7e6856614
More delint
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-17 15:37:52 +02:00
Šimon Brandner
e439d2e911
Delint
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-17 15:29:18 +02:00
Šimon Brandner
7b45efc9e9
Fix EventTile typing
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-17 15:28:02 +02:00
Šimon Brandner
e3eac48d05
Cleanup _ReplyPreview.scss
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-17 15:25:54 +02:00
Šimon Brandner
c9a11af26b
Give singletonRoomViewStore a type
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-17 15:25:53 +02:00
Šimon Brandner
2a7787e12d
Convert ReplyPreview to TS
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-17 15:25:42 +02:00
Michael Telatynski
f7767bf09c
Merge pull request #6393 from robintown/match-avatar-colors
2021-07-17 14:12:29 +01:00
Michael Telatynski
88aa2182b6
Merge pull request #6395 from SimonBrandner/fix/image-view-title/18037
2021-07-17 14:11:43 +01:00
Šimon Brandner
96acd6c9ef
Cleanup _ReplyThread.scss
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-17 15:06:31 +02:00
Šimon Brandner
03ce480066
Convert ReplyThread to TS
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-17 15:06:21 +02:00
Šimon Brandner
75fc1299fb
Merge remote-tracking branch 'upstream/develop' into task/cleanup-replies
2021-07-17 08:26:28 +02:00
Šimon Brandner
6d4ae6481a
Add alt
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-17 08:21:46 +02:00
Šimon Brandner
bb643010a9
Remove title
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-17 08:10:34 +02:00