Commit graph

1322 commits

Author SHA1 Message Date
Michael Telatynski
68768002bb use more generic room type instead of boolean flag 2021-09-17 10:19:30 +01:00
Michael Telatynski
28bc8010a7 Say Joining space instead of Joining room where we know its a space 2021-09-16 11:20:01 +01:00
Michael Telatynski
4bb9eeb7a5 Convert RoomPreviewBar to Typescript 2021-09-16 11:09:58 +01:00
Michael Telatynski
e17318a364 Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/fix/18088 2021-09-16 10:05:20 +01:00
Michael Telatynski
8921e25815
Merge pull request #6804 from matrix-org/t3chguy/fix/18481 2021-09-16 10:02:06 +01:00
Michael Telatynski
c786ef9f69 Fix space keyboard shortcuts conflicting with native zoom shortcuts 2021-09-14 16:02:14 +01:00
Michael Telatynski
9928079b82
Merge pull request #6797 from matrix-org/t3chguy/fix/19025 2021-09-14 15:56:20 +01:00
Michael Telatynski
919270ff0c
Update src/stores/SpaceStore.tsx
Co-authored-by: Travis Ralston <travisr@matrix.org>
2021-09-14 15:50:51 +01:00
Michael Telatynski
87c9551507 Fix edge cases around joining new room which does not belong to active space 2021-09-14 12:49:18 +01:00
Michael Telatynski
9a8a453827 tidy 2021-09-10 11:09:46 +01:00
Michael Telatynski
aff9be6120 Surface unsent messages on the sublist notification badge too 2021-09-10 10:58:13 +01:00
Michael Telatynski
bbe714257e Show unsent message warning on Space panel button 2021-09-10 09:17:31 +01:00
Michael Telatynski
329bc8a89e Move unsent event badge handling into RoomNotificationState 2021-09-09 13:14:05 +01:00
Michael Telatynski
911ca07da4 Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/fix/18088 2021-09-08 15:28:58 +01:00
Michael Telatynski
0d0eea392c
Merge pull request #6746 from matrix-org/t3chguy/fix/10935 2021-09-08 12:55:45 +01:00
Michael Telatynski
0caca49ec0 Fix regressed tab view buttons in space update toast 2021-09-08 10:26:23 +01:00
David Baker
9533f7c04c Fix types in release mode again 2021-09-07 18:49:31 +01:00
Michael Telatynski
f4f4686270 tidy up code 2021-09-07 12:07:18 +01:00
Michael Telatynski
c915288044 Respect m.space.parent relations if they hold valid permissions 2021-09-06 14:34:06 +01:00
Michael Telatynski
a688e5b8b3 Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/fix/18088
 Conflicts:
	src/components/structures/LoggedInView.tsx
	src/stores/SpaceStore.tsx
2021-09-06 11:41:09 +01:00
Michael Telatynski
0b07a70b15
Merge pull request #6730 from matrix-org/t3chguy/fix/17974
Don't context switch room on SpaceStore ready as it can break permalinks
2021-09-03 16:26:19 +01:00
Travis Ralston
6590572124 Improve performance of widget startup slightly
See https://github.com/matrix-org/matrix-react-sdk/pull/6733#pullrequestreview-745513275
2021-09-02 15:24:23 -06:00
Travis Ralston
57aa045195 Don't rely on rooms having timelines to use when checking widgets 2021-09-02 14:27:20 -06:00
Michael Telatynski
44b4561b8b Don't context switch room on SpaceStore ready as it can break permalinks 2021-09-02 13:40:48 +01:00
Travis Ralston
3046f0ed85
Merge pull request #6684 from matrix-org/travis/cross-room
Add support for MSC2762's timeline functionality
2021-09-01 13:28:26 -06:00
Travis Ralston
bf5fe29448
Merge pull request #6695 from matrix-org/travis/keep-old-out
Don't send prehistorical events to widgets during decryption at startup
2021-09-01 13:16:47 -06:00
Travis Ralston
b86a0dcc15 Merge branch 'develop' into travis/cross-room 2021-09-01 11:29:20 -06:00
Travis Ralston
3ed76f5de7
Merge pull request #6719 from matrix-org/travis/widgets/no-limits
Remove arbitrary limits from send/receive events for widgets
2021-09-01 11:26:15 -06:00
Michael Telatynski
6e7a1e2db7
Merge pull request #6715 from matrix-org/t3chguy/fix/18761 2021-09-01 14:30:17 +01:00
Germain
7621a9a0f3
Merge pull request #6658 from matrix-org/gsouquet/threaded-messaging-2349 2021-09-01 08:47:10 +01:00
Travis Ralston
18b7a64910 Remove arbitrary limits from send/receive events for widgets
Fixes https://github.com/vector-im/element-web/issues/17994

As per MSC change: aeadae81e2
2021-08-31 13:17:49 -06:00
Michael Telatynski
bbd420096b don't bother awaiting SpaceStore::setActiveSpace as it is no longer async 2021-08-31 17:03:43 +01:00
Michael Telatynski
bf4ffa965c Reload suggested rooms if we see the state change down /sync 2021-08-31 16:56:47 +01:00
Michael Telatynski
b814100b98 Fix membership updates to Spaces not applying in real-time 2021-08-31 16:31:10 +01:00
Travis Ralston
20b6219121 Don't send prehistorical events to widgets during decryption at startup
Fixes https://github.com/vector-im/element-web/issues/18060

Tracking a localized read receipt of sorts appears to be the fastest and least complex approach, though not the greatest.
2021-08-26 13:28:48 -06:00
Travis Ralston
73dd30f919 Merge branch 'develop' into travis/cross-room 2021-08-26 10:48:10 -06:00
Travis Ralston
470bc0ffe7
Merge pull request #6686 from matrix-org/travis/widget-redact
Special case redaction event sending from widgets per MSC2762
2021-08-26 10:47:17 -06:00
Travis Ralston
cafa52c466 Special case redaction event sending from widgets per MSC2762
Fixes https://github.com/vector-im/element-web/issues/18573
See 853bed2157
2021-08-25 22:40:51 -06:00
Travis Ralston
76cc5bfb7d Remember all capabilities given to a widget
Fixes https://github.com/vector-im/element-web/issues/18786

Instead of replacing the remembered set, we now add to it. This should be safe as the user expectation was previously to remember the capabilities, so we can keep appending to that list.

This commit also moves the utility functions closer to the widget driver as they aren't needed in the dialog anymore.
2021-08-25 22:30:57 -06:00
Travis Ralston
f912d9d1b4 Appease the linter 2021-08-25 18:25:20 -06:00
Travis Ralston
289ac34764 Add support for MSC2762's timeline functionality
See https://github.com/matrix-org/matrix-widget-api/pull/41
2021-08-25 18:16:40 -06:00
Travis Ralston
8fd44f0b5e
Merge pull request #6595 from SimonBrandner/fix/rl-resort/110
Don't re-sort the room-list based on profile/status changes
2021-08-25 13:37:53 -06:00
Germain Souquet
77a463e679 Merge branch 'develop' into gsouquet/threaded-messaging-2349 2021-08-25 08:53:16 +01:00
Šimon Brandner
78562685bb
Ignore avatar changes
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-25 08:59:42 +02:00
Šimon Brandner
08402cca9f
Merge remote-tracking branch 'upstream/develop' into fix/rl-resort/110 2021-08-25 08:43:27 +02:00
Šimon Brandner
0465815486
ignoreSelfEvent -> shouldCauseReorder
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-25 08:43:13 +02:00
Šimon Brandner
b7df1127bd
Revert "Use ignoreSelfEvent in the RoomListStore (which doesn't work!)"
This reverts commit 0a4a1506d4.
2021-08-25 08:38:47 +02:00
Travis Ralston
e49dc8c8e2 Remove imports too 2021-08-24 13:23:48 -06:00
Travis Ralston
4790b4fc17 Remove advanced room logging setting
Fixes https://github.com/vector-im/element-web/issues/14602

This has proven to be less useful month over month, so it's time for it to go. The initial goal for keeping it was to track stability in the ~6 months post-release, which means it should have left around the start of 2021. At the time, Spaces was on the horizon with room list corruption issues though, so it was put on hold. These days, it's rock solid and doesn't appear to be causing issues. As such, the logging can leave in favour of more specific/targeted logging when we need it.

This might even speed things up as it's not hitting the SettingsStore every 0.2 seconds.
2021-08-24 13:17:12 -06:00
Travis Ralston
15c731d574
Merge pull request #6507 from matrix-org/t3chguy/fix/18089
Allow pagination of the space hierarchy and use new APIs
2021-08-23 15:51:34 -06:00