Commit Graph

32697 Commits (5e646f861cf592e72ae7eb18e64bd65f15de3245)

Author SHA1 Message Date
Michael Telatynski 86a30a2ad5 Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/fix/17022 2021-04-23 10:05:45 +01:00
Michael Telatynski 1075756929 add more tests 2021-04-23 09:55:30 +01:00
Travis Ralston 2c459c4828 Move utility tests to the right place 2021-04-22 20:37:19 -06:00
Travis Ralston 374f51452e Add set utility tests 2021-04-22 20:37:19 -06:00
Travis Ralston 27af3291ed Add number utility tests 2021-04-22 20:37:19 -06:00
Travis Ralston 6124a8319b Add iterable utility tests
Unsurprisingly, it's a copy/paste of the array tests
2021-04-22 20:37:19 -06:00
Travis Ralston 0d4218ee35 Add enum utility tests 2021-04-22 20:37:19 -06:00
Travis Ralston 21cae1502a Add map utility tests 2021-04-22 20:37:19 -06:00
Travis Ralston 772ff4e257 Add object utility tests 2021-04-22 20:37:19 -06:00
Travis Ralston a3e846685d Add array utility tests (and support upsampling in resample)
See contained diff. 

The upsampling is important for Voice Messages, but is being done here because it's easier to add all the tests at once.

This also introduces a new Object utility - that will be tested on its own commit.
2021-04-22 20:08:45 -06:00
Travis Ralston 06726d38fe
Merge pull request #5888 from matrix-org/travis/voice/event_type
Expand upon voice message event & include overall waveform
2021-04-22 14:41:59 -06:00
Robin Townsend cc5a7671a7 Keep invite button separate from space info
60828913d2 caused the space info and
invite buttons to have no separation when you are the only person in a
space, since the margin was set on the face pile, which may be absent.

Signed-off-by: Robin Townsend <robin@robin.town>
2021-04-22 11:39:58 -04:00
Germain Souquet 2b6551d06a Remove reliance on DOM API to generated message preview 2021-04-22 16:17:53 +01:00
J. Ryan Stinnett 3ef5655db3
Merge pull request #5907 from matrix-org/jryans/image-bg-opacity-release
[Release] Use floats for image background opacity
2021-04-22 16:00:00 +01:00
Travis Ralston 14809dfda7 Misc cleanup 2021-04-22 08:22:31 -06:00
J. Ryan Stinnett d15e846025 Use floats for image background opacity
It seems percentages for opacity are still newish, and they seem to confuse
something which is clamping them to the 0 - 1 range (which makes sense for
floats, not percentages).

Anyway, for now we can get what we want here by using float values.

Fixes https://github.com/vector-im/element-web/issues/17036
2021-04-22 15:05:31 +01:00
J. Ryan Stinnett 21e7847686
Merge pull request #5905 from matrix-org/jryans/image-bg-opacity
Use floats for image background opacity
2021-04-22 15:01:48 +01:00
Michael Telatynski fba7465ad4 Initial SpaceStore tests work 2021-04-22 14:45:13 +01:00
Michael Telatynski ba9cfa0942
Merge pull request #5902 from matrix-org/t3chguy/fix/17020
Show invites to spaces at the top of the space panel
2021-04-22 14:32:48 +01:00
Michael Telatynski 3fb4b6258a
Merge pull request #5899 from matrix-org/t3chguy/spaces-stability
Improve edge cases with spaces context switching
2021-04-22 14:30:35 +01:00
Michael Telatynski 5c93b99ec6
Merge pull request #5900 from matrix-org/t3chguy/fix/17024
Fix spaces notification dots wrongly including upgraded (hidden) rooms
2021-04-22 14:30:20 +01:00
J. Ryan Stinnett b332f6b1ae Use floats for image background opacity
It seems percentages for opacity are still newish, and they seem to confuse
something which is clamping them to the 0 - 1 range (which makes sense for
floats, not percentages).

Anyway, for now we can get what we want here by using float values.

Fixes https://github.com/vector-im/element-web/issues/17036
2021-04-22 14:04:15 +01:00
Šimon Brandner 2e6397d8aa
Wire up normalizeWheelEvent()
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-22 14:56:35 +02:00
Šimon Brandner ad53b0e2e2
Add normalizeWheelEvent()
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-22 14:56:12 +02:00
Michael Telatynski e219fe082a Tweak context switching edge case for space invites 2021-04-22 12:08:54 +01:00
Michael Telatynski e05200269f fix comment 2021-04-22 12:07:58 +01:00
Michael Telatynski 108a3088ef Hide explore rooms quick action when active space is an invite 2021-04-22 12:07:58 +01:00
Michael Telatynski a51aeaa04d Disable context menu on space invite tiles as no options sensibly work 2021-04-22 12:07:58 +01:00
Michael Telatynski 7efd4a43a5 Show space invites at the top of the space panel 2021-04-22 12:07:58 +01:00
Michael Telatynski 60ef657f64 Properly hide spaces from the room list 2021-04-22 12:07:58 +01:00
Michael Telatynski d9dac7b261
Merge pull request #5898 from matrix-org/t3chguy/fix/16976
Iterate the spaces face pile design
2021-04-22 09:29:00 +01:00
Michael Telatynski 130565945d Merge branch 't3chguy/fix/16976' of github.com:matrix-org/matrix-react-sdk into t3chguy/fix/16976 2021-04-22 09:08:59 +01:00
Michael Telatynski 23c61752cd Add comment 2021-04-22 09:08:25 +01:00
Michael Telatynski ca07b1ed04
Update res/css/views/elements/_FacePile.scss
Co-authored-by: Germain <germain@souquet.com>
2021-04-22 09:06:53 +01:00
Michael Telatynski 28fa1cb44c Reset space contexts as some users may have loops stuck in their local storage 2021-04-22 09:05:02 +01:00
Michael Telatynski b64b956aa4 when automatically switching space to match room fall back to the home space 2021-04-22 08:39:16 +01:00
Michael Telatynski c0f8098a86
Merge pull request #5890 from matrix-org/t3chguy/fix/17006
Fix alignment issue with nested spaces being cut off wrong
2021-04-22 08:32:54 +01:00
Michael Telatynski ec0612f70d Fix spaces notification dots wrongly including upgraded (hidden) rooms 2021-04-22 08:31:26 +01:00
Michael Telatynski e1ba04716e Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/spaces-stability
 Conflicts:
	src/stores/SpaceStore.tsx
2021-04-22 08:24:19 +01:00
Michael Telatynski ee80c27b2b Improve edge cases with spaces context switching 2021-04-22 08:22:11 +01:00
Michael Telatynski 90cd5d0472 Remove old redundant hover effect 2021-04-22 08:18:28 +01:00
Michael Telatynski 60828913d2 Iterate the spaces face pile design 2021-04-22 08:13:03 +01:00
Travis Ralston a53696ff5e Fix tests 2021-04-21 16:53:29 -06:00
Travis Ralston 4be9c51dad Move all the RED_EXCLAMATION badges to a single definition 2021-04-21 16:43:25 -06:00
Travis Ralston 9227618b42 Show indicator in Room List for unsent events 2021-04-21 16:36:06 -06:00
Travis Ralston cc095c85bf Dark theme support 2021-04-21 16:24:17 -06:00
Travis Ralston c5dd6b4dfb Update action bar to incorporate sending states
This moves most of them out of the context menu.
2021-04-21 16:24:17 -06:00
Travis Ralston 91b3688feb Redesign "failed to send messages" status bar 2021-04-21 16:24:17 -06:00
RiotRobot 037b433519 v3.19.0-rc.1 2021-04-21 16:53:34 +01:00
RiotRobot b6b321f90c Prepare changelog for v3.19.0-rc.1 2021-04-21 16:53:33 +01:00