Commit Graph

30602 Commits

Author SHA1 Message Date
Germain Souquet 3dcf0d0b7e Fix incorrect logic to hide thread relations 2021-10-15 10:25:42 +01:00
Germain Souquet 99ad603d91 Merge branch 'develop' into gsouquet/threads-relations 2021-10-15 08:43:51 +01:00
Germain Souquet d315641056 Make threads use 'm.thread' relation 2021-10-14 17:04:27 +01:00
Dariusz Niemczyk 2dd6dddc67 Fix incorrect liveTimeline reference (#6948)
Fixes https://github.com/vector-im/element-web/issues/19400
2021-10-14 15:37:56 +00:00
Dariusz Niemczyk 562a880c7d Create room threads list view (#6904)
Implement https://github.com/vector-im/element-web/issues/18957 following requirements:
* Create a new right panel view to list all the threads in a given room.
* Change ThreadView previous phase to be ThreadPanel rather than RoomSummary
* Implement local filters for My and All threads

In addition: 
* Create a new TileShape for proper rendering requirements (hiding typing indicator)
* Create new timelineRenderingType for proper rendering requirements
2021-10-14 15:27:35 +02:00
Michael Telatynski 6bb47ec710 Merge pull request #6945 from matrix-org/t3chguy/fix/19390 2021-10-14 13:40:27 +01:00
Michael Telatynski 069a8d05f1 Space Room View should react to join rule changes down /sync 2021-10-14 12:06:24 +01:00
Michael Telatynski 020eca6922 Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/fix/19010
 Conflicts:
	src/components/structures/SpaceRoomView.tsx
	src/components/views/rooms/MemberList.tsx
	src/components/views/rooms/RoomList.tsx
2021-10-14 11:05:29 +01:00
Michael Telatynski 4118d13846 Merge pull request #6829 from matrix-org/t3chguy/fix/18969 2021-10-14 09:59:34 +01:00
Michael Telatynski a37c10b256 Merge pull request #6920 from matrix-org/t3chguy/fix/17410 2021-10-14 09:58:45 +01:00
Michael Telatynski 53d7c9d2e5 Merge pull request #6921 from matrix-org/t3chguy/fix/19003.1 2021-10-14 09:58:28 +01:00
Michael Telatynski 2a3c483f96 Merge pull request #6919 from matrix-org/t3chguy/fix/19146 2021-10-14 09:58:19 +01:00
James Salter 1f7d07ab6c Merge pull request #6942 from SimonBrandner/fix/autoplay-setting
Don't `setValue()` if that would lead to setting a `null`/`undefined`
2021-10-14 09:30:43 +01:00
Šimon Brandner 9533f7b0b9 Don't setValue() if that would lead to setting a null/undefined
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-10-13 19:47:49 +02:00
Travis Ralston ea7257698c Merge pull request #6934 from matrix-org/travis/labs/polls
Add feature flag for polls and placeholder dialog
2021-10-13 11:28:53 -06:00
Travis Ralston 3643359c15 Merge pull request #6922 from matrix-org/travis/hide-buttons-customisation
Add customisation point for visibility of invites and room creation
2021-10-13 11:25:52 -06:00
David Baker ed9d006615 Merge pull request #6939 from matrix-org/dbkr/fix_room_list_on_unsent_message
Fix bug where room list would get stuck showing no rooms
2021-10-13 15:50:31 +01:00
David Baker c2ed27a1b2 Typo 2021-10-13 15:42:57 +01:00
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
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 9f039b5a26 Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into AndrewFerr_develop 2021-10-12 10:25:21 +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 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
Michael Telatynski 11480e8641 Hide Skeleton UI if you have Suggested Rooms 2021-10-11 10:50:49 +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 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
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
Logan Arnett 4759b4fb5d updating for lint issues 2021-10-07 14:58:35 -04:00
Vitor Eller 0b64dfa59a Alter phone verification button disable label 2021-10-07 15:23:54 -03:00
Logan Arnett c56d6ba539 updating from boolean to object in order to track if more than one thing is edited 2021-10-07 13:22:43 -04:00
Paulo Pinto 6aa325ed54 Rename method to onRoomName
Signed-off-by: Paulo Pinto <paulo.pinto@automattic.com>
2021-10-07 17:13:57 +01:00
Paulo Pinto 53f26d2744 Keep room name up-to-date in settings dialog
Signed-off-by: Paulo Pinto <paulo.pinto@automattic.com>
2021-10-07 17:04:30 +01:00
Paulo Pinto ea55b0d45f Add room name to component state
Signed-off-by: Paulo Pinto <paulo.pinto@automattic.com>
2021-10-07 17:01:39 +01:00
Paulo Pinto 1b334e47aa Fix issue that caused the value of certain settings to be inverted (#6896)
When using the SettingsStore.watchSetting() method for settings which have an
invertedSettingName, the newValueAt argument passed to the callback function,
would erroneously contain the inverted value.

This was making it so that such settings appeared to be disabled when they
should in fact be enabled, or vice-versa. This was however only the case for
code which took in account the newValueAt argument. Code using the newValue
argument was not affected.

The settings which have an invertedSettingName, and were thus potentially
impacted are:

- MessageComposerInput.dontSuggestEmoji
- hideRedactions
- hideJoinLeaves
- hideAvatarChanges
- hideDisplaynameChanges
- hideReadReceipts
- Pill.shouldHidePillAvatar
- TextualBody.disableBigEmoji
- dontSendTypingNotifications
- TagPanel.disableTagPanel
- webRtcForceTURN

Signed-off-by: Paulo Pinto <paulo.pinto@automattic.com>
2021-10-07 16:42:23 +02:00
Michael Telatynski 1b5aef4447 Merge pull request #6311 from matrix-org/t3chguy/a11y/focus-lock-ctx-menu 2021-10-07 13:28:32 +01:00