James Salter
cd2bc79b6b
Remove comment
2021-07-29 14:43:19 +01:00
James Salter
a1ffd240e1
Use .instance pattern
2021-07-29 14:40:18 +01:00
Šimon Brandner
871f1b7a5c
Handle all possible playMedia() in componentDidUpdate()
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-29 15:31:25 +02:00
Šimon Brandner
38a1b922bd
Add missing await
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-29 15:26:04 +02:00
Šimon Brandner
cb89dd408c
Use mic mute icons
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-29 15:05:26 +02:00
Michael Telatynski
ab56a16907
Merge pull request #6458 from matrix-org/t3chguy/fix/18091
2021-07-29 13:20:19 +01:00
Michael Telatynski
08c883ed07
Update all copy of subspace
to space
2021-07-29 13:02:07 +01:00
Dariusz Niemczyk
7f6cf29766
Fix grecaptcha regression
2021-07-29 12:45:29 +02:00
Dariusz Niemczyk
7baa3284e3
Fix grecaptcha regression
2021-07-29 12:39:32 +02:00
Germain Souquet
e140dd6ba1
Merge branch 'develop' into gsouquet/fix-18132
2021-07-29 10:27:00 +02:00
Šimon Brandner
cf973cdb95
Merge remote-tracking branch 'upstream/develop' into feature/muting
2021-07-29 09:06:24 +02:00
Šimon Brandner
ae64765870
playMedia only if necessary
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-29 08:45:32 +02:00
Michael Telatynski
67b8c0a811
remove unused import
2021-07-28 19:33:54 +01:00
Michael Telatynski
9fb1c8e4cd
Iterate PR
2021-07-28 19:33:07 +01:00
Michael Telatynski
ac800ad94d
Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/fix/18093
2021-07-28 19:24:26 +01:00
Michael Telatynski
40493634ae
Iterate PR
2021-07-28 19:23:33 +01:00
Michael Telatynski
ed950875e7
Fix space hierarchy not updating when user mutates it
2021-07-28 19:08:59 +01:00
Michael Telatynski
5d9e421de0
Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/fix/18091
2021-07-28 17:58:34 +01:00
Michael Telatynski
a5606c72de
Update feedback prompt to match designs
2021-07-28 17:56:57 +01:00
James Salter
07eaee25d2
Default properties to {} to avoid passing it superfluously for events with no properties
2021-07-28 17:54:35 +01:00
Michael Telatynski
6123ccb2eb
Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/fix/18096
2021-07-28 17:45:15 +01:00
Michael Telatynski
67ef263940
Refactor SpaceButton to be more reusable and add context menu to Home button
2021-07-28 17:40:33 +01:00
Michael Telatynski
b3a28bde89
Factor out useEventEmitterState hook
2021-07-28 17:39:56 +01:00
Michael Telatynski
cdf0d98c3f
Fix IconizedContextMenuCheckbox layout
2021-07-28 17:39:02 +01:00
James Salter
d401789f9e
Ignore eslint conventions in disastrous posthog type definitions
2021-07-28 17:26:24 +01:00
James Salter
7b4a7711b2
Declare return types for all public methods, even void ones
2021-07-28 17:20:22 +01:00
James Salter
e4722ee457
Override posthog type definitions to point to a locally fixed type definition file
...
Posthog's type definitions refer to types in transitive dependencies we don't want to include.
Clone posthog.d.ts locally, remove the offending types from it, and provide an overriding mapping in tsconfig.
If this proves annoying to maintain, posthog.d.ts could just be an empty file.
2021-07-28 17:14:36 +01:00
James Salter
0a951501b2
lint
2021-07-28 17:04:18 +01:00
James Salter
e5d36e9a81
Use arrow function instead of bind
2021-07-28 17:02:26 +01:00
James Salter
b1bd5f57a4
Document IEvent.properties, fix IWelcomeScreenLoad
...
IEvent.properties is a placeholder that needs to be overriden by extenders for type validation to take place.
IWelcomeScreenLoad should have had properties declared for it. Because it didn't, a faulty call using it was possible.
2021-07-28 16:43:13 +01:00
James Salter
13ef819ba6
isEnabled returns a boolean
2021-07-28 16:42:56 +01:00
Šimon Brandner
537ce40f42
Add a TODO
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-28 16:32:55 +02:00
James Salter
ce80e5a463
Remove superfluous unused argument
2021-07-28 14:44:28 +01:00
James Salter
279871ce01
Add types
2021-07-28 14:44:16 +01:00
Michael Telatynski
07b9d6b30b
Fix styling of setting flag descriptions in preferences
...
and add description to spaces all/home setting
and make it an account setting rather than device one
and hide it from the Beta card
2021-07-28 14:39:19 +01:00
James Salter
a687bab52f
Use readonly shorthand for posthog param
2021-07-28 14:38:41 +01:00
James Salter
60bc283455
Add return type to getRedactedCurrentLocation
2021-07-28 14:22:57 +01:00
James Salter
9420b81eeb
Rename mysterious _ to beforeFirstSlash
2021-07-28 14:22:32 +01:00
Travis Ralston
b8781b7552
Merge pull request #6455 from matrix-org/travis/widget-customisation
...
Add customisation point for declaring widget variables
2021-07-28 07:15:45 -06:00
James Salter
da3bf5a097
rename knownScreens -> whitelistedScreens
2021-07-28 14:15:40 +01:00
Šimon Brandner
7c4e3efbff
Extend PureComponent to avoid unnecessary renders
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-28 15:11:31 +02:00
Šimon Brandner
91e65534fa
await setState to avoid races where we would try to play media without an HTMLVideoElement
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-28 15:04:33 +02:00
James Salter
d5bef53f8b
Use snake case for feature name
2021-07-28 14:03:17 +01:00
James Salter
868d92781d
Add copyright header
2021-07-28 14:01:21 +01:00
Michael Telatynski
f91a20cb02
Merge pull request #6484 from matrix-org/t3chguy/fix/18095
2021-07-28 13:51:45 +01:00
James Salter
7c62386915
lint
2021-07-28 11:28:19 +01:00
James Salter
bd7e2dee3d
Merge remote-tracking branch 'origin' into posthog-analytics
2021-07-28 11:13:22 +01:00
Germain
771dda0341
Merge pull request #6472 from SimonBrandner/fix/call-view/18221
2021-07-28 11:10:37 +01:00
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
Michael Telatynski
98f3a5120c
Merge pull request #6492 from matrix-org/t3chguy/fix/18275.1
2021-07-28 09:10:00 +01:00
Michael Telatynski
f8106ef39b
Fix CreateRoomDialog exploding when making public room outside of a space
2021-07-28 08:42:09 +01:00
Michael Telatynski
52e50863f8
Fix CreateRoomDialog exploding when making public room outside of a space
2021-07-28 08:39:59 +01:00
Michael Telatynski
776435f620
Switch all-rooms toggle for spaces to non-feature settings key
2021-07-27 21:17:24 +01:00
Michael Telatynski
0a9d3302ba
Fix home vs all rooms requiring app reload and change default to home
...
Consolidate ALL_ROOMS and HOME_SPACE storage
Fix behaviour when recalled room is no longer part of the target space
Improve tests
2021-07-27 21:11:47 +01:00
Michael Telatynski
ec173e74e6
Test & Refactor SpaceWatcher to allow all rooms/home change without needing reload
2021-07-27 20:15:40 +01:00
Michael Telatynski
8c073a6439
RoomListStore removeFilter skip triggering update if nothing changed
2021-07-27 17:53:03 +01:00
Germain
f82744db97
Merge pull request #6487 from matrix-org/gsouquet/fix-18265
2021-07-27 17:20:02 +01:00
Michael Telatynski
12461a79e1
Move SettingsStore setting_updated
dispatch to action enum
2021-07-27 17:19:45 +01:00
Germain
7e453d7745
Typo
...
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2021-07-27 17:14:39 +01:00
Šimon Brandner
bc11e215b8
Merge remote-tracking branch 'upstream/develop' into feature/muting
2021-07-27 18:14:23 +02:00
Šimon Brandner
36607fa8a2
Fix call crashing because element was undefined
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-27 18:05:50 +02:00
Germain Souquet
30ce7b5eab
Make link within replies clickable
2021-07-27 17:57:46 +02:00
Šimon Brandner
6f77d3bbab
Correctly hide the dialpad
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-27 17:52:13 +02:00
Šimon Brandner
8294d324e3
Merge remote-tracking branch 'upstream/develop' into fix/call-view/18221
2021-07-27 16:55:59 +02:00
Šimon Brandner
371de23b00
Merge remote-tracking branch 'upstream/develop' into feature/muting
2021-07-27 16:40:47 +02:00
David Baker
3e7aee3a87
Merge pull request #5992 from SimonBrandner/fix/12652/screen-share
...
Add support for screen sharing in 1:1 calls
2021-07-27 15:34:27 +01:00
Šimon Brandner
b9e305daae
Delete mistake line
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-27 16:26:46 +02:00
Šimon Brandner
24f0c760ce
Merge remote-tracking branch 'upstream/develop' into fix/12652/screen-share
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-27 16:25:38 +02:00
Travis Ralston
93f42182c0
Merge pull request #6479 from matrix-org/travis/voice-messages/fix-placeholder-ui
...
Fix timing of voice message recording UI appearing
2021-07-27 08:05:28 -06:00
Michael Telatynski
39d9ec3ced
Merge branch 'develop' into t3chguy/fix/18071
2021-07-27 15:02:59 +01:00
Michael Telatynski
353c70ad75
i18n
2021-07-27 14:45:36 +01:00
David Baker
5ead53b36a
Merge pull request #6483 from SimonBrandner/fix/dont-anim-resize/18261
...
Fix PiP resize issues
2021-07-27 14:42:04 +01:00
Michael Telatynski
755007cbee
Conclude labs flags and write more tests
2021-07-27 14:39:14 +01:00
Šimon Brandner
f532c302b6
Don't animate when resizing and move when the PiP changes size
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-27 15:31:54 +02:00
Šimon Brandner
001490f70d
Fix unused resize listener
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-27 15:30:44 +02:00
David Baker
f7d0419cee
Merge pull request #6482 from RiotTranslateBot/weblate-element-web-matrix-react-sdk
...
Translations update from Weblate
2021-07-27 14:10:50 +01:00
David Baker
7733ee2578
Merge pull request #6478 from matrix-org/dbkr/scrollpanel_loop_breaker
...
Fix infinite pagination loop when offline
2021-07-27 13:54:30 +01:00
waclaw66
f2ed147cae
Translated using Weblate (Czech)
...
Currently translated at 100.0% (3080 of 3080 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/cs/
2021-07-27 12:40:31 +00:00
jelv
1f7e668bb2
Translated using Weblate (Dutch)
...
Currently translated at 100.0% (3080 of 3080 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/nl/
2021-07-27 12:40:28 +00:00
James Salter
474561600e
Fix hash == ""
2021-07-27 13:31:56 +01:00
Šimon Brandner
5dd34de5fe
Handle mute state changes
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-27 14:31:42 +02:00
jelv
d01a30b06b
Translated using Weblate (Dutch)
...
Currently translated at 99.6% (3069 of 3080 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/nl/
2021-07-27 12:19:12 +00:00
Weblate
95ccf0cd1d
Merge branch 'origin/develop' into Weblate.
2021-07-27 12:15:15 +00:00
random
c111b027a9
Translated using Weblate (Italian)
...
Currently translated at 99.9% (3079 of 3080 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/it/
2021-07-27 12:15:15 +00:00
jelv
9244090de8
Translated using Weblate (Dutch)
...
Currently translated at 99.4% (3062 of 3080 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/nl/
2021-07-27 12:15:12 +00:00
Germain Souquet
8104ba936c
Add data-layout to MELS for better CSS structure
2021-07-27 11:30:25 +02:00
David Baker
e5d538412b
Typo
...
Co-authored-by: Germain <germain@souquet.com>
2021-07-27 09:29:32 +01:00
Weblate
154c72e00a
Merge branch 'origin/develop' into Weblate.
2021-07-27 07:17:51 +00:00
waclaw66
702a8dbff2
Translated using Weblate (Czech)
...
Currently translated at 100.0% (3080 of 3080 strings)
Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/cs/
2021-07-27 07:17:51 +00:00
Germain
788abac74d
Merge pull request #6471 from SimonBrandner/fix/voip-event-tiles/18216
...
Fix VoIP event tile issues
2021-07-27 08:17:31 +01:00
Travis Ralston
7f01e31040
Fix timing of voice message recording UI appearing
...
Fixes https://github.com/vector-im/element-web/issues/18223
We delay the composer's state until a recording is truly ready here, preventing buttons from disappearing while we're still figuring things out.
2021-07-26 23:33:21 -06:00
David Baker
f20da6d3de
Fix infinite pagination loop when offline
...
I'm not really sure how this is meant to work - and I'm not sure
how it was working before, but this is causing fairly bad infinite
loops if I start element with no homeserver connection. This is
a fairly crude fix, only thing I can think that would be better is
some awareness of when network requests were failing and intentionally
backing off.
Fixes https://github.com/vector-im/element-web/issues/18242
2021-07-26 22:05:35 +01:00
Šimon Brandner
29b0d03fe4
Update copy
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-26 21:27:22 +02:00
Germain Souquet
486d576b23
Merge branch 'develop' into gsouquet/fix-18132
2021-07-26 15:49:55 +02:00
Michael Telatynski
737aa1c55d
delint
2021-07-26 12:41:52 +01:00