Travis Ralston
079e75aae9
Handle upload errors in voice messages
...
Fixes https://github.com/vector-im/element-web/issues/17148
Mostly adding some try/catch blocks, and a generic dialog.
2021-07-21 16:11:10 -06:00
Travis Ralston
3d72b9e227
Render error state for audio components
...
Fixes https://github.com/vector-im/element-web/issues/17148
Both `AudioPlayer` and `RecordingPlayback` got a fragment added to their DOM structure, to incorporate the rarely seen error message below it. Additionally, a missing try/catch was added to the `Playback` class to handle uncaught decoding issues.
The similarity of the components is tracked in https://github.com/vector-im/element-web/issues/18161
2021-07-21 15:47:52 -06:00
Travis Ralston
ca1a1e488a
Take out the jump when recording a voice message
2021-07-21 14:47:42 -06:00
Travis Ralston
56290f3d01
Force padding overrides to take precedence over MediaBody styles
2021-07-21 14:47:27 -06:00
Travis Ralston
87ac2d7cc5
Move padding and width to MediaBody styles
2021-07-21 14:47:02 -06:00
Travis Ralston
3023fda497
Make MFileBody inherit the MediaBody styles
2021-07-21 14:46:25 -06:00
Travis Ralston
5386d23008
Fix voice message tile taking up a couple extra px at the bottom
...
... by returning it to the default block shape.
2021-07-21 14:43:26 -06:00
Šimon Brandner
c2aada6aa7
Clearer avatar sizing
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-21 21:27:07 +02:00
Travis Ralston
e430381abc
Update colour scheme for message panels
...
Fixes https://github.com/vector-im/element-web/issues/18113
2021-07-21 13:11:11 -06:00
Weblate
ddea1461a7
Merge branch 'origin/develop' into Weblate.
2021-07-21 19:07:28 +00:00
Travis Ralston
b590b1d263
Merge pull request #6431 from matrix-org/travis/notifs/restore-name
...
Restore 'use default' naming on room notifications
2021-07-21 13:07:24 -06:00
Travis Ralston
36d4eb85e1
Restore 'use default' naming on room notifications
...
Fixes https://github.com/vector-im/element-web/issues/18139
Following https://github.com/matrix-org/matrix-react-sdk/pull/6352
2021-07-21 13:01:19 -06:00
Šimon Brandner
34f3e62f72
Types!
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-21 20:48:50 +02: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
Šimon Brandner
d243f7bad8
Move some CSS to a more correct place
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-21 18:30:25 +02:00
Šimon Brandner
9891eddcbd
Rename to toast
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-21 18:28:44 +02:00
Šimon Brandner
ddd4b4bc12
Show a "Your camera is turned off" toast
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-21 18:22:47 +02:00
Weblate
36c66fe279
Merge branch 'origin/develop' into Weblate.
2021-07-21 16:17:55 +00:00
Germain
0d8309c8fc
Merge pull request #6429 from matrix-org/gsouquet/fix-18146
2021-07-21 17:17:51 +01:00
Šimon Brandner
3fac4adfc7
Fix feed sizing issues
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-21 18:14:21 +02: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
Weblate
20edfc9c25
Merge branch 'origin/develop' into Weblate.
2021-07-21 15:59:28 +00:00
David Baker
6afa3fa3ab
Merge pull request #6430 from matrix-org/dbkr/yarn_upgrade_210721
...
yarn upgrade
2021-07-21 16:59:24 +01:00
James Salter
f358deb6c4
Manually track page views
2021-07-21 16:52:57 +01:00
Šimon Brandner
dc7f6d8286
Show sidebar in PiP mode
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-21 17:45:21 +02:00
David Baker
a6c432d66f
fix types
...
in varyingly hacky ways
2021-07-21 16:39:41 +01:00
James Salter
93962c0aca
Update reasoning around disabling capture_pageview
2021-07-21 16:29:11 +01:00
Germain Souquet
26ca41f699
Cache room member count on the messagePanel
2021-07-21 17:26:41 +02:00
James Salter
34f8c60b34
Hook analytics into the SDK
2021-07-21 16:15:18 +01:00
Šimon Brandner
0a8067506f
Adjust hiding local feeds
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-21 17:12:27 +02: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
Germain Souquet
43d62aa8c1
Use more performant getMembersCount to decide to hide or show sender
2021-07-21 16:43:57 +02:00
David Baker
35e74db25e
yarn upgrade
2021-07-21 15:41:16 +01:00
Šimon Brandner
337664a1b4
Update sidebar behaviour
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-21 16:34:21 +02:00
Šimon Brandner
74649f1f92
Correct feed ordering
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-21 16:21:52 +02:00
Šimon Brandner
2014517173
Always show screensharing feed as primary
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-21 16:20:09 +02:00
Weblate
0a064b89e5
Merge branch 'origin/develop' into Weblate.
2021-07-21 14:12:02 +00:00
Germain
80e64601a9
Merge pull request #6427 from matrix-org/gsouquet/fix-18120
...
Improve new layout switcher UI
2021-07-21 15:11:58 +01:00
Germain
22375e2108
Update res/css/views/rooms/_EventBubbleTile.scss
2021-07-21 15:11:49 +01:00
Germain Souquet
e5bc5a933e
Use cached value to read member count
2021-07-21 16:10:18 +02:00
Šimon Brandner
51cf426179
Update the toast
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-21 16:08:18 +02:00
Weblate
0ccde3dfbb
Merge branch 'origin/develop' into Weblate.
2021-07-21 13:58:52 +00:00
Travis Ralston
34b8870a95
Merge pull request #6417 from matrix-org/travis/voice-messages/play-1
...
Play only one audio file at a time
2021-07-21 07:58:46 -06: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