Commit graph

30576 commits

Author SHA1 Message Date
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
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
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
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
Michael Telatynski
5dfe53920c Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/fix/19246 2021-10-07 13:20:06 +01:00
Michael Telatynski
e470d7d030 Make use of MatrixClient::getRoomUpgradeHistory 2021-10-07 13:19:51 +01:00
Michael Telatynski
ad1eb54b4e
Merge pull request #6907 from matrix-org/t3chguy/fix/19304 2021-10-07 11:24:59 +01:00
Michael Telatynski
675c587e03
Merge pull request #6911 from matrix-org/t3chguy/fix/19066 2021-10-07 11:22:01 +01:00
Michael Telatynski
8ee6a08639 Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/fix/19304 2021-10-07 11:19:12 +01:00
Michael Telatynski
1c8bcce0ed comment 2021-10-07 11:13:13 +01:00
Michael Telatynski
047f182cd8 focusLock only specific context menus 2021-10-07 11:04:10 +01:00
Travis Ralston
0f212b2607
Merge pull request #6912 from matrix-org/hs/ignore-greater-pl-scalar
Scalar messaging: No-op setBotPower if the current PL is greater than the requested PL.
2021-10-06 10:19:14 -06:00
Michael Telatynski
ab98549fff move the logic to the parent so that the section hiding works 2021-10-06 17:08:32 +01:00
Will Hunt
88410a1b29 Make function async 2021-10-06 17:00:54 +01:00
Michael Telatynski
4ac29a431c Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/fix/19276 2021-10-06 16:53:39 +01:00
Michael Telatynski
b373b98d48 Simplify aria menu item roles/selectors 2021-10-06 16:49:53 +01:00
Will Hunt
3f6f2bcbb3 no-op a setBotPower request from the integration manager when the PL is equal to or greater to the requested PL
When configured
2021-10-06 16:48:17 +01:00
Michael Telatynski
a6c780674a Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/a11y/focus-lock-ctx-menu
 Conflicts:
	src/components/views/spaces/SpaceCreateMenu.tsx
2021-10-06 16:39:52 +01:00
Michael Telatynski
52d0b0133c Hide kick & ban options in UserInfo when looking at own profile 2021-10-06 14:46:39 +01:00
Michael Telatynski
d8bc868e79 Fix spaces keyboard shortcuts not working for last space 2021-10-06 10:56:11 +01:00
Michael Telatynski
79f3348986 Simplify and improve useRoomHierarchy hook 2021-10-06 10:27:16 +01:00