Travis Ralston
bb0be4ba72
Add customisation point for declaring widget variables
...
Fixes https://github.com/vector-im/element-web/issues/18035 (indirectly; issue is on a non-standard version of Element).
This has an isReady() step because the variable usage code path cannot be made async, so instead we let the async loading state happen in the prepare() stage. This is required for the intended usecase.
2021-07-22 15:43:18 -06:00
Germain
248a758ad6
Merge pull request #6439 from matrix-org/gsouquet/fix-18142
...
Fix avatar obstructing membership and state changes
2021-07-22 16:16:33 +01:00
Germain
6765bb8f4c
Merge pull request #6418 from robintown/zoom-to-cursor
2021-07-22 15:22:04 +01:00
Germain
09186f8ee9
Merge pull request #6446 from matrix-org/gsouquet/fix-18145
...
Always display the Sender in the reply tile
2021-07-22 15:12:09 +01:00
Germain
324037298a
Merge pull request #6447 from matrix-org/gsouquet/fix-18176
...
Use modern layout in file and notification panel
2021-07-22 15:11:27 +01:00
Germain Souquet
02b08888b5
Use modern layout in file and notification panel
2021-07-22 16:00:41 +02:00
Robin Townsend
5d4b293e0a
Add comment about modulo operator
...
Signed-off-by: Robin Townsend <robin@robin.town>
2021-07-22 09:56:26 -04:00
Robin Townsend
9e0720a6c4
Rename zoom anchor variables for clarity
...
Signed-off-by: Robin Townsend <robin@robin.town>
2021-07-22 09:48:56 -04:00
Robin Townsend
875b46bacb
Don't zoom images when the cursor isn't over the image
...
Signed-off-by: Robin Townsend <robin@robin.town>
2021-07-22 09:46:29 -04:00
Robin Townsend
b99a6a8d54
Use typeof to check for presence of parameters
...
Signed-off-by: Robin Townsend <robin@robin.town>
2021-07-22 09:41:39 -04:00
Robin Townsend
3bf742f7aa
Merge branch 'develop' into zoom-to-cursor
2021-07-22 09:39:52 -04:00
Germain
78ae4ebc1e
Merge pull request #6444 from matrix-org/gsouquet/fix-18121
...
Add right padding for event replies
2021-07-22 14:28:13 +01:00
Germain
f9e8e66ac6
Merge pull request #6445 from matrix-org/gsouquet/fix-18127
...
Fix event tile cut off in share preview
2021-07-22 14:28:06 +01:00
Germain
817482700c
Merge pull request #6443 from matrix-org/gsouquet/fix-18178
...
Remove excessive padding after url previews
2021-07-22 14:27:38 +01:00
Germain Souquet
229d139568
Always display the Sender in the reply tile
2021-07-22 15:23:08 +02:00
Germain Souquet
8a9d89ae85
Fix event tile cut off in share preview
2021-07-22 15:05:44 +02:00
Germain Souquet
2e173d7810
Add right padding for event replies
2021-07-22 14:38:57 +02:00
Germain Souquet
552770c15a
Remove excessive padding after url previews
2021-07-22 14:24:49 +02:00
Michael Telatynski
88884bbaad
Merge pull request #6441 from SimonBrandner/feature/smaller-quotes
2021-07-22 12:20:27 +01:00
Germain
951ceb194c
Merge pull request #6438 from matrix-org/gsouquet/fix-18074
...
Prevent action bar to overlap the event content
2021-07-22 12:14:29 +01:00
Šimon Brandner
6ae320831a
Make quotes thinner
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-22 13:10:25 +02:00
Travis Ralston
f4a43cd3d3
Merge pull request #6436 from matrix-org/travis/voice-messages/large
...
Use a MediaElementSourceAudioNode to process large audio files
2021-07-22 04:22:23 -06:00
Travis Ralston
6b54f83b08
Merge branch 'develop' into travis/voice-messages/large
2021-07-22 04:16:53 -06:00
Travis Ralston
c4b08d7eca
Merge pull request #6440 from SimonBrandner/fix/codeblocks
...
Revert 100% on codeblocks
2021-07-22 03:49:11 -06:00
Šimon Brandner
85e08d5074
Revert 100%
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-22 11:43:29 +02:00
Travis Ralston
b3d14de181
Merge pull request #6435 from matrix-org/travis/voice-messages/duration
...
Fix duration placeholder parsing for audio files
2021-07-22 03:40:43 -06:00
Travis Ralston
0bb0c8105d
Merge pull request #6434 from matrix-org/travis/voice-messages/upload-failed
...
Handle upload errors in voice messages
2021-07-22 03:40:26 -06:00
Travis Ralston
98472b4fce
Merge pull request #6433 from matrix-org/travis/voice-messages/errors
...
Render error state for audio components
2021-07-22 03:39:47 -06:00
Travis Ralston
b9b37f59f1
Merge pull request #6432 from matrix-org/travis/voice-messages/colours
...
Clean up visual style of files and voice messages
2021-07-22 03:39:29 -06:00
Germain Souquet
8da2d0fe72
Fix avatar obstructing membership and state changes
2021-07-22 11:31:46 +02:00
Germain Souquet
9180d478eb
Prevent action bar to overlap the event content
2021-07-22 11:00:34 +02:00
Michael Telatynski
e665e38b7b
Merge pull request #6413 from SimonBrandner/ts/address-stuff
2021-07-22 09:35:40 +01:00
Šimon Brandner
adc177b28f
Fix a naming nit
...
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2021-07-22 10:30:12 +02:00
Michael Telatynski
9219661d7c
Merge pull request #5389 from matrix-org/t3chguy/fix/15536
...
Fix onPaste handler to work with copying files from Finder
2021-07-22 09:22:55 +01:00
Germain
51178735c9
Merge pull request #6428 from matrix-org/gsouquet/fix-18129
2021-07-22 08:44:40 +01:00
Travis Ralston
158d4368e0
Merge pull request #5974 from jaiwanth-v/spaces-jump-to-room
...
Navigate to the first room with notifications when clicked on space notification dot
2021-07-21 22:18:54 -06:00
Jaiwanth
517e8951ee
Apply suggestions from review
2021-07-22 08:30:18 +05:30
Jaiwanth
76040c652c
Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into spaces-jump-to-room
2021-07-22 08:25:24 +05:30
Travis Ralston
05353d0fe5
Merge pull request #6388 from aaronraimist/matrix-url-permitted
...
Add matrix: to the list of permitted URL schemes
2021-07-21 20:38:45 -06:00
Travis Ralston
fd9241a854
Merge pull request #6355 from SimonBrandner/fix/diff-colors
...
Make diff colors in codeblocks more pleasant
2021-07-21 20:02:03 -06:00
Travis Ralston
c384575375
Merge pull request #6261 from robintown/watch-show-timestamps
...
Add alwaysShowTimestamps and others to RoomView setting watchers
2021-07-21 19:44:04 -06:00
Travis Ralston
c53ed5be2e
Use a MediaElementSourceAudioNode to process large audio files
...
Fixes https://github.com/vector-im/element-web/issues/18149
See comment block contained within diff.
2021-07-21 17:53:49 -06:00
Travis Ralston
2addca1ca4
Fix duration placeholder parsing for audio files
2021-07-21 17:09:34 -06:00
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