Commit graph

38721 commits

Author SHA1 Message Date
David Baker
0332bc99cb Fix bug where room list would get stuck showing no rooms
If you had an unsent message in a room that was in a sublist with
the 'Show rooms with unread messages first' option enabled, the
room list would show no rooms next time you restarted element and
get stuck that way.

This was because there was a different notification category for
rooms with unsent messages but the algorithm is hard-coded to add
only a fixed set of categories to its list, and it missed 'unsent',
so it NPEed when it encountered a room with an unsent message.

This just adds the category (assuming that we want to show rooms
with unsent messages first). It doesn't make it less hard-coded, or
fix the fact that an exception in the room list code causes everything
to break.

Fixes https://github.com/vector-im/element-web/issues/19373
2021-10-13 14:39:09 +01:00
Andy Balaam
4e9a20db21 Move the required CSS for DevicesPanel into its own scss file
Signed-off-by: Andy Balaam <andyb@element.io>
2021-10-13 13:55:01 +01:00
Dariusz Niemczyk
bc336abf47
Fix missing snapshot serializer&enzyme init (#6932) 2021-10-13 11:09:43 +01:00
Travis Ralston
ad53662704 add comma 2021-10-12 15:26:22 -06:00
Travis Ralston
71c5b02390 Add feature flag for polls and placeholder dialog
We're anticipating development of polls soon, so for efficiency reasons we're getting the labs flag in early. If something goes wrong with the plan, this whole change will be reverted.
2021-10-12 15:13:56 -06:00
Travis Ralston
d99660d420 Add customisation point for visibility of invites and room creation
Fixes https://github.com/vector-im/element-web/issues/19331
2021-10-12 14:33:29 -06:00
Travis Ralston
8873c75567 Fix bad imports to js-sdk 2021-10-12 13:51:24 -06:00
Michael Telatynski
3417c03f41
Merge pull request #6931 from matrix-org/t3chguy/fix/19350 2021-10-12 17:51:55 +01:00
Michael Telatynski
c141c740d8
Merge pull request #6928 from matrix-org/t3chguy/fix/18883 2021-10-12 17:51:45 +01:00
Michael Telatynski
4416212d0b
Merge pull request #6926 from matrix-org/t3chguy/fix/18231 2021-10-12 14:03:12 +01:00
Michael Telatynski
fd6d853bb1 Allow editing of /rainbow and /rainbowme 2021-10-12 14:02:05 +01:00
Michael Telatynski
ddc408690c Fix EditorModel clone to actually be useful 2021-10-12 11:02:06 +01:00
Michael Telatynski
fe70e64a40 Improve typing 2021-10-12 11:01:40 +01:00
Michael Telatynski
34b61ad71c
Merge pull request #6872 from AndrewFerr/develop
If public room creation fails, retry without publishing it
2021-10-12 10:32:43 +01:00
Michael Telatynski
d050c00703 Fix room list skeleton ui for narrow room list 2021-10-12 10:30:36 +01:00
Michael Telatynski
9f039b5a26 Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into AndrewFerr_develop 2021-10-12 10:25:21 +01:00
RiotRobot
193a060ec9 Reset matrix-js-sdk back to develop branch 2021-10-12 09:13:06 +01:00
RiotRobot
9439df9082 Merge branch 'master' into develop 2021-10-12 08:54:58 +01:00
RiotRobot
89365d943b Resetting package fields for development 2021-10-12 08:48:24 +01:00
RiotRobot
3bc1a6613b Merge branch 'release-v3.32.1' 2021-10-12 08:48:16 +01:00
RiotRobot
b1baa3575a v3.32.1 2021-10-12 08:42:35 +01:00
RiotRobot
acce5ea43a Prepare changelog for v3.32.1 2021-10-12 08:42:34 +01:00
RiotRobot
6b4bcbd289 Upgrade matrix-js-sdk to 14.0.1 2021-10-12 08:40:57 +01:00
Germain
52efbc4a61
Merge pull request #6930 from robintown/remove-semicolon 2021-10-12 08:06:47 +01:00
Robin Townsend
c078e89f59 Remove semicolon from notifications panel
Signed-off-by: Robin Townsend <robin@robin.town>
2021-10-11 14:34:03 -04:00
Michael Telatynski
338497636c
Merge pull request #6925 from matrix-org/t3chguy/fix/18772 2021-10-11 15:02:52 +01:00
Michael Telatynski
c28c62d9f1 Inhibit Unable to get validated threepid error during UIA 2021-10-11 14:43:55 +01:00
Michael Telatynski
c4d4229340 hide leave section if you aren't in the room instead of disabling 2021-10-11 13:50:34 +01:00
RiotRobot
79a46782d6 Resetting package fields for development 2021-10-11 12:03:50 +01:00
RiotRobot
c958d4c1c6 Merge branch 'master' into develop 2021-10-11 12:02:51 +01:00
RiotRobot
4ceb2a74cf v3.32.0 2021-10-11 11:57:04 +01:00
RiotRobot
e91d591c90 Prepare changelog for v3.32.0 2021-10-11 11:57:03 +01:00
RiotRobot
93cdda8693 Upgrade matrix-js-sdk to 14.0.0 2021-10-11 11:55:21 +01:00
Michael Telatynski
11480e8641 Hide Skeleton UI if you have Suggested Rooms 2021-10-11 10:50:49 +01:00
Michael Telatynski
e54d803343 Tweak skeleton UI height to be more reasonable 2021-10-11 10:50:33 +01:00
Michael Telatynski
0d524ae70b Iterate invite your teammates to Space view 2021-10-11 10:43:37 +01:00
Dariusz Niemczyk
414b20f17e
Make thread button always visible (#6903)
Fix https://github.com/vector-im/element-web/issues/18956
2021-10-11 10:26:05 +01:00
Michael Telatynski
34c5a4f8e8
Merge pull request #6924 from rom4nik/develop 2021-10-11 08:59:25 +01:00
rom4nik
436996dc30
Prevent backdrop image from being selected 2021-10-11 02:21:09 +02:00
Michael Telatynski
ccba7badff Make public space alias field mandatory again 2021-10-08 14:33:58 +01:00
James Salter
fe79a95731
Merge pull request #6918 from VFermat/fix-19316
Validate that the phone number verification field is filled before allowing user to submit
2021-10-08 14:12:28 +01:00
Michael Telatynski
8cb4454ea3 Disable leave room button if user isn't in the room e.g peeking 2021-10-08 13:43:06 +01:00
Michael Telatynski
111ae75874 Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/fix/18969
 Conflicts:
	src/components/views/right_panel/UserInfo.tsx
2021-10-08 13:00:20 +01:00
James Salter
e1c1d2dc0f
Merge pull request #6840 from wlach/make-placeholder-for-field-grey-no-input
Make placeholder more grey when no input
2021-10-08 12:54:57 +01:00
Michael Telatynski
2483f1dc90 Add progress bar to restricted room upgrade dialog 2021-10-08 12:20:43 +01:00
Michael Telatynski
5264b1db9d
Merge pull request #6906 from matrix-org/t3chguy/fix/19246 2021-10-08 10:36:48 +01:00
Michael Telatynski
82ad85a974 Mock usage of getRoomUpgradeHistory in SpaceStore tests 2021-10-08 10:30:46 +01:00
Michael Telatynski
5af72d8d1d
Merge pull request #6917 from LoganArnett/bug/update-save-enabled-by-field 2021-10-08 10:09:54 +01:00
RiotRobot
2a440e90cb v3.32.0-rc.2 2021-10-08 08:32:27 +01:00
RiotRobot
4c1e2e3f3d Prepare changelog for v3.32.0-rc.2 2021-10-08 08:32:25 +01:00