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
Travis Ralston
3c06e7f7a0
Add option to change the size of images/videos in the timeline ( #7017 )
...
Co-authored-by: Šimon Brandner <simon.bra.ag@gmail.com>
Co-authored-by: J. Ryan Stinnett <jryans@gmail.com>
Co-authored-by: Timo K <toger5@hotmail.de>
2021-11-17 15:19:30 +00:00
Dariusz Niemczyk
5290afcc4c
Replace console.warn with logger.warn
...
Related https://github.com/vector-im/element-web/issues/18425
2021-10-18 14:08:23 +02:00
Michael Telatynski
a688e5b8b3
Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/fix/18088
...
Conflicts:
src/components/structures/LoggedInView.tsx
src/stores/SpaceStore.tsx
2021-09-06 11:41:09 +01:00
Michael Telatynski
4f47907abf
Show disabled spaces section in preferences regardless
2021-08-11 23:33:10 +01:00
Michael Telatynski
be85dcd1bf
Delabs Spaces, keeping it as a default-on preference for the time being
2021-08-11 14:52:40 +01:00
Michael Telatynski
d90321d813
Iterate PR, merge types with @types/PushRules
2021-08-10 11:03:03 +01:00
Michael Telatynski
cd1b315ed6
Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/ts/12
2021-08-10 10:21:01 +01:00
James Salter
dc7aad1abf
Revert "Revert "Add support for Posthog Analytics under a labs flag""
...
This reverts commit c5ea253181
.
2021-08-03 11:55:02 +01:00
James Salter
c5ea253181
Revert "Add support for Posthog Analytics under a labs flag"
2021-08-03 07:30:02 +01:00
James Salter
a1ffd240e1
Use .instance pattern
2021-07-29 14:40:18 +01:00
James Salter
bd7e2dee3d
Merge remote-tracking branch 'origin' into posthog-analytics
2021-07-28 11:13:22 +01:00
James Salter
1d81bdc6f9
Interface changes and anonymity fixes
2021-07-28 09:37:08 +01:00
Michael Telatynski
22339688cb
Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/ts/12
...
Conflicts:
src/components/structures/InteractiveAuth.js
2021-07-23 23:43:48 +01:00
Michael Telatynski
b88d67bb00
Convert SearchResult, InteractiveAuth, PushProcessor and Scheduler to Typescript
2021-07-07 11:08:53 +01:00
Germain Souquet
d9eec1c03b
Merge branch 'develop' into gsouquet/message-bubbles-4635
2021-06-30 08:58:20 +01:00
J. Ryan Stinnett
ae0a8b8da4
Auto-fix lint errors
2021-06-29 13:11:58 +01:00
Germain Souquet
ae5cd9d7ac
Add new layout switcher UI
...
Co-authored-by: Quirin Götz <codeworks@supercable.onl>
2021-06-17 14:11:44 +01:00
Michael Telatynski
413b37d3dc
Create and use Incompatible Settings Controller
2021-02-19 13:06:45 +00:00
J. Ryan Stinnett
10e25f306f
Disable chat effects when reduce motion preferred
...
Some users prefer reduced motion, so this disables chat effects when such a
preference is set in the browser or OS.
2021-02-17 17:43:31 +00:00
Travis Ralston
a90cf46fef
Appease the linter
2020-09-18 11:39:41 -06:00
Travis Ralston
5630f35715
Add a UI feature to disable advanced encryption options
2020-09-18 11:33:02 -06:00
Michael Telatynski
2bea8457e9
UI Feature Flag: Communities
2020-09-16 12:56:40 +01:00
Travis Ralston
88115b4f46
Merge pull request #5208 from matrix-org/travis/ui-func/base
...
Introduce a concept of UI features, using it for URL previews at first
2020-09-15 08:53:48 -06:00
Travis Ralston
f4f30a3274
Introduce a concept of UI features, using it for URL previews at first
...
Fixes https://github.com/vector-im/element-web/issues/15176
This is effectively the base for all of https://github.com/vector-im/element-web/issues/15185
2020-09-14 22:28:02 -06:00
Michael Telatynski
493d3ae288
Don't show Notifications Prompt Toast if user has master rule enabled
2020-09-14 14:35:08 +01:00
Michael Telatynski
c1e152dba2
Decouple Audible notifications from Desktop notifications
2020-08-05 11:10:12 +01:00
Travis Ralston
648c3c7796
Fix various type definitions
2020-07-30 08:49:42 -06:00
Travis Ralston
8cdb98300b
Ensure methods are public
2020-07-30 08:42:01 -06:00
Travis Ralston
ad7c94917d
Fix calculatedAtLevel definition
2020-07-30 08:41:51 -06:00
Travis Ralston
4969cfe9de
Appease the linter
2020-07-28 16:37:09 -06:00
Travis Ralston
5f5efa1448
Decorate abstract classes as abstract
2020-07-28 16:15:09 -06:00
Travis Ralston
b5be352e88
Fix copyright in CustomStatusController
2020-07-28 15:23:25 -06:00
Travis Ralston
ef062c3511
Convert ThemeController to TS
2020-07-28 15:22:54 -06:00
Travis Ralston
d7e90e045d
Convert ReloadOnChangeController to TS
2020-07-28 15:21:53 -06:00
Travis Ralston
227b611421
Convert PushToMatrixClientController to TS
2020-07-28 15:21:10 -06:00
Travis Ralston
437ccb2421
Convert NotificationControllers to TS
2020-07-28 15:19:11 -06:00
Travis Ralston
d4fd3b3262
Convert CustomStatusController to TS
2020-07-28 15:17:01 -06:00
Travis Ralston
6297004957
Convert SettingController to TS
2020-07-28 15:13:38 -06:00
Bruno Windels
f47268ce74
Revert "Merge branch 'nadonomy/use-element-theme' into 'element'"
...
This reverts merge request !9
2020-07-14 16:23:06 +00:00
Nad Chishtie
5b3c3f53fe
Use element theme by default
2020-07-14 13:56:24 +01:00
Jorik Schellekens
47a825be7c
Merge branch 'develop' into joriks/appearance-advanced
2020-06-18 14:41:28 +01:00
Michael Telatynski
ff98242d14
clean up and fix the isMasterRuleEnabled logic
2020-06-17 16:31:42 +01:00
Michael Telatynski
3472fcdec5
Fix NotificationsEnabledController inverse understanding of master push rule
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-06-17 01:05:24 +01:00
Jorik Schellekens
edb6bbc6c0
Implement font selection
2020-06-15 15:33:52 +01:00
Jorik Schellekens
82b76192ae
Fixes, lints and i18n
2020-05-20 14:44:56 +01:00
Jorik Schellekens
6d9d4ee547
Merge branch 'develop' of https://github.com/matrix-org/matrix-react-sdk into joriks/font-scaling-slider
2020-05-20 13:46:17 +01:00
Travis Ralston
90a898d03f
Move dispatcher into a subdirectory
...
We're expecting to have a whole bunch of types for the dispatched payloads, so pull the thing into a directory we can throw them in.
2020-05-13 21:07:50 -06:00
Jorik Schellekens
f1130ecba1
Linting. Finally set up my linter properly
2020-04-23 10:45:47 +01:00
Jorik Schellekens
61f2e19d95
Basic font settings.
...
Include a default value getter in the store in order to make the
default value easy to work with.
2020-04-23 10:45:47 +01:00