Germain Souquet
edae9a4844
Merge branch 'develop' into gsouquet/fix-backdrop-filter
2021-07-06 10:19:25 +02:00
Germain Souquet
e7743e2a57
Migrate RoomScrollStateStore to TypeScript
2021-07-03 12:21:00 +01:00
Šimon Brandner
b7ef7d2a47
Fifth batch of burning
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-03 10:06:42 +02:00
Michael Telatynski
89949bd884
Add new in the spaces beta toast & explanatory modal
2021-07-02 16:07:17 +01:00
David Baker
80f5232217
Comply with new member-delimiter-style rule
...
Just `eslint --fix` with rule from
https://github.com/matrix-org/eslint-plugin-matrix-org/pull/9 in place
2021-07-01 23:23:03 +01:00
David Baker
8bbb768825
Convert RoomHeader to TS
...
Also add a type of OOBData... possibly this should be in the js-sdk,
but threepid invites themselves have a type in react-sdk so it can
live alongside it I guess (also I'm not entirely sure we actually
use it anymore...)
2021-07-01 19:54:05 +01:00
Jaiwanth
f50604db78
missing semicolon
2021-06-30 12:13:39 +05:30
Jaiwanth
a99b24ef83
Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into spaces-jump-to-room
2021-06-30 11:20:01 +05:30
Jaiwanth
1b21c8f732
Remove unreadRoomId from summarized notification state
2021-06-30 10:53:46 +05:30
Michael Telatynski
6250d9ba61
Merge branch 'develop' into t3chguy/ts/4
2021-06-29 22:24:47 +01:00
J. Ryan Stinnett
9d6d8fc666
Merge pull request #6285 from matrix-org/jryans/rework-linting-2
...
Migrate to `eslint-plugin-matrix-org`
2021-06-29 17:45:10 +01:00
Germain Souquet
d035151116
Avoid cyclic dependencies by moving watchers out of constructor
2021-06-29 17:04:51 +01:00
J. Ryan Stinnett
ae0a8b8da4
Auto-fix lint errors
2021-06-29 13:11:58 +01:00
Jaiwanth
746b11b24d
Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into spaces-jump-to-room
2021-06-29 14:31:08 +05:30
Michael Telatynski
208c62048f
Fix right panel store cleaning some state when permalink within room is clicked
2021-06-28 15:48:13 +01:00
Germain Souquet
652ad3617d
Backdrop filter compatibility for Firefox and Safari
2021-06-25 09:20:03 +01:00
Michael Telatynski
231b40473b
fix the upset CI
2021-06-24 21:22:56 +01:00
Germain Souquet
27ee7c5836
Move backdrop filter to a canvas based solution
2021-06-24 17:51:11 +01:00
Šimon Brandner
ebe19168c2
Add allowClose to payload
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-06-24 10:39:45 +02:00
Michael Telatynski
49d20d2530
consolidate the two onRoomAccountData listeners
2021-06-22 21:22:30 +01:00
Michael Telatynski
6e3c647109
Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/fix/17282
...
Conflicts:
package.json
src/components/views/spaces/SpacePanel.tsx
src/i18n/strings/en_EN.json
src/stores/SpaceStore.tsx
yarn.lock
2021-06-22 21:15:53 +01:00
Michael Telatynski
cd04fb76dc
Fix type error
2021-06-22 18:01:29 +01:00
Michael Telatynski
59052b1eb7
Merge pull request #6199 from matrix-org/t3chguy/fix/17665
2021-06-22 17:46:57 +01:00
Michael Telatynski
e3e6b74272
Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/fix/17665
...
Conflicts:
src/stores/SpaceStore.tsx
2021-06-22 17:38:05 +01:00
Michael Telatynski
59258585b3
Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/ts/5
2021-06-22 17:28:19 +01:00
Michael Telatynski
847e3dcbce
Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/fix/17128-1
...
Conflicts:
src/dispatcher/actions.ts
2021-06-22 14:11:37 +01:00
Michael Telatynski
845bb95887
Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/ts/5
2021-06-21 20:46:28 +01:00
Michael Telatynski
233e2aa425
Fix bugs identified by the typescripting
2021-06-18 16:22:31 +01:00
Michael Telatynski
0ae4e7b11d
Fix typescript types
2021-06-18 16:21:46 +01:00
Germain Souquet
d22617c422
More specific type definition and adhering to code style better
2021-06-18 12:44:15 +01:00
Germain Souquet
3f1ca970d6
Merge branch 'develop' into gsouquet/dialogs-ts-migration
2021-06-18 12:27:00 +01:00
Michael Telatynski
3e38d92fa4
Fix up some more type defs
2021-06-17 14:49:27 +01:00
Michael Telatynski
02e72d8b04
Fix more type definitions
2021-06-17 14:24:53 +01:00
Michael Telatynski
cee294f5a7
iterate PR
2021-06-16 09:23:06 +01:00
Michael Telatynski
a75fb98fbc
Fix some NPEs
2021-06-16 09:07:55 +01:00
Michael Telatynski
b4fbc791bb
Add experimental options to the Spaces beta
2021-06-16 09:01:13 +01:00
Michael Telatynski
89221bde0f
Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/fix/17128-1
...
Conflicts:
src/dispatcher/actions.ts
2021-06-15 13:58:13 +01:00
Michael Telatynski
a63d9220d2
Clear outstanding TODOs
2021-06-15 08:26:46 +01:00
Michael Telatynski
66fce64ee0
Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/fix/17282
...
Conflicts:
package.json
yarn.lock
2021-06-14 21:39:06 +01:00
Germain Souquet
5f2ab50a90
migrate SetupEncryptionStore to TypeScript
2021-06-14 20:58:20 +01:00
Michael Telatynski
a4fa2779d4
Iterate lexicographic ordering implementation
2021-06-11 10:33:00 +01:00
Michael Telatynski
21fc386317
Move over to new lexicographic string sorting
2021-06-10 11:40:10 +01:00
Germain Souquet
7f3173f170
Implement unencrypted warning slate in rooms
2021-06-10 11:14:43 +01:00
Robin Townsend
b97867271b
Merge branch 'develop' into improved-forwarding-ui
2021-06-07 19:09:36 -04:00
Michael Telatynski
ced6c43147
Merge pull request #6152 from matrix-org/t3chguy/fix/17571
...
Fix Stickerpicker context menu
2021-06-07 22:21:19 +01:00
Michael Telatynski
b2d9dd7214
Convert LifecycleStore to Typescript
2021-06-07 10:57:39 +01:00
Michael Telatynski
31d308a1fb
Fix Stickerpicker context menu
2021-06-07 09:22:47 +01:00
Michael Telatynski
271f544637
Stash
2021-06-07 08:59:57 +01:00
Robin Townsend
a06306d560
Merge branch 'develop' into improved-forwarding-ui
2021-06-05 11:04:17 -04:00
Travis Ralston
12e013508d
Merge pull request #6132 from matrix-org/travis/ts-mtxcli
...
Adapt for js-sdk MatrixClient conversion to TS
2021-06-04 00:07:22 -06:00
Michael Telatynski
93010d34fd
Merge branch 'develop' into t3chguy/fix/6606
2021-06-03 19:33:09 +01:00
Germain
7f83590846
Merge pull request #6079 from matrix-org/gsouquet/switch-rooms
2021-06-03 08:44:01 +01:00
Michael Telatynski
4f50727010
Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/fix/6606
...
Conflicts:
src/components/structures/RoomView.tsx
src/components/views/right_panel/UserInfo.tsx
2021-06-03 08:42:05 +01:00
Michael Telatynski
e334ce8192
First cut of space panel drag-and-drop ordering
2021-06-03 08:32:36 +01:00
Michael Telatynski
079a5c10ad
Respect space ordering field in m.tag for top level spaces
2021-06-02 16:43:38 +01:00
Germain
96f5d3af05
Merge pull request #6130 from matrix-org/gsouquet/member-list-sort
2021-06-02 11:40:52 +01:00
Germain Souquet
d7a5547d80
use Intl.Collator over String.prototype.localeCompare for better performance
2021-06-02 10:42:17 +01:00
Travis Ralston
5b2dacd99e
Adapt for js-sdk MatrixClient conversion to TS
...
For https://github.com/matrix-org/matrix-js-sdk/pull/1718
2021-06-01 21:36:28 -06:00
Robin Townsend
56714525f2
Merge branch 'develop' into improved-forwarding-ui
2021-06-01 17:28:55 -04:00
Michael Telatynski
1ea73ae9ae
Fix all DMs wrongly appearing in room list when m.direct
is changed
2021-06-01 10:18:57 +01:00
Germain Souquet
d894cc6f7a
Merge branch 'develop' into gsouquet/switch-rooms
2021-06-01 09:02:28 +01:00
Germain Souquet
fcae19f831
Track left panel width using ResizeObserver
2021-05-27 12:36:16 +01:00
Germain Souquet
51d88062f9
Merge branch 'develop' into gsouquet/switch-rooms
2021-05-27 10:22:16 +01:00
Michael Telatynski
27ad90760d
Iterate pinned messages
2021-05-26 13:51:17 +01:00
Germain Souquet
934af23b1f
Fix preview generate check
2021-05-26 10:15:31 +01:00
Germain Souquet
c7c6a818f0
Merge branch 'develop' into gsouquet/switch-rooms
2021-05-26 09:51:27 +01:00
Germain Souquet
e934f81521
Skip generatePreview if event is not part of the live timeline
2021-05-25 16:34:52 +01:00
Michael Telatynski
59f4c728c9
Initial cut of Pinned event card in the right panel
2021-05-25 16:10:44 +01:00
Germain
1751b4ba43
Merge pull request #6092 from matrix-org/gsouquet/window-dimensions-reflow
2021-05-25 12:00:08 +01:00
Germain Souquet
85a73f2504
Fix copyright header in UIStore file
2021-05-25 11:48:45 +01:00
Germain Souquet
f156c2db15
prevent reflow in app when accessing window dimensions
2021-05-25 10:28:43 +01:00
Germain Souquet
2710062df7
Create a UIStore to track important data
...
This helper should hold data related to the UI and access save in a smart to avoid performance pitfalls in other parts of the application
2021-05-25 10:28:09 +01:00
Michael Telatynski
63ae84a72e
Wire space switch shortcut via dispatcher to prevent app load explosion due to skinning
2021-05-24 18:23:04 +01:00
Germain Souquet
b5295b03ce
Trigger join room actions properly
2021-05-24 14:34:06 +01:00
Robin Townsend
f34d61cf5d
Merge branch 'develop' into improved-forwarding-ui
2021-05-21 08:15:09 -04:00
Michael Telatynski
e984a4f0cd
rejig the code to make types happy
2021-05-20 20:12:28 +01:00
Michael Telatynski
073127aa3c
Fix handling of via servers for suggested rooms
2021-05-20 18:47:12 +01:00
Germain Souquet
229c4b98b4
use userGroups cached value to avoid re-render
2021-05-20 18:02:03 +01:00
Germain Souquet
83e2461155
call matches with normalized name
2021-05-20 10:57:20 +01:00
Germain Souquet
66ffaf945f
Cache normalized room name
2021-05-20 10:43:57 +01:00
Jaiwanth
bf2d26ef21
Modify to navigate only on notification dots click
2021-05-20 11:23:00 +05:30
Robin Townsend
678b298bab
Merge branch 'develop' into improved-forwarding-ui
2021-05-19 12:39:48 -04:00
Germain
6170403c10
Depile encrypted events to find the most suitable one for preview ( #6056 )
2021-05-19 13:25:52 +01:00
Michael Telatynski
a9d0699488
Merge pull request #6062 from matrix-org/t3chguy/fix/17280
...
Show DMs in space for invited members too, to match Android impl
2021-05-19 12:41:46 +01:00
Michael Telatynski
e18120f412
Show DMs in space for invited members too, to match Android impl
2021-05-19 08:55:56 +01:00
Travis Ralston
ec7c1ab9f0
Revert "Try putting room list handling behind a lock"
2021-05-18 15:40:09 -06:00
Germain Souquet
0e221ae548
Start decryption process if needed
2021-05-18 16:24:38 +01:00
Travis Ralston
6ccb0d487a
Merge branch 'develop' into travis/msc2873
2021-05-17 16:27:20 -06:00
Travis Ralston
3308368ac6
Merge pull request #5960 from matrix-org/travis/msc2876
...
Support UI for MSC2762: Widgets reading events from rooms
2021-05-17 16:26:53 -06:00
Robin Townsend
64e828d069
Merge branch 'develop' into improved-forwarding-ui
2021-05-16 08:13:59 -04:00
Michael Telatynski
1b8402f39c
Merge pull request #6042 from matrix-org/t3chguy/fix/17304
...
Update space order field validity requirements to match msc update
2021-05-14 23:19:52 +01:00
Michael Telatynski
a48d786547
Update space order field validity requirements to match msc update
2021-05-14 22:59:03 +01:00
Travis Ralston
89933d779c
Merge branch 'develop' into travis/msc2873
2021-05-14 14:22:53 -06:00
Travis Ralston
98b2e120a7
Merge branch 'develop' into travis/msc2876
2021-05-14 14:09:57 -06:00
Travis Ralston
01491f4cba
Merge pull request #6024 from matrix-org/travis/roomlist-corruption
...
Try putting room list handling behind a lock
2021-05-14 11:06:19 -06:00
Travis Ralston
336904cef8
Apply suggestions from code review
...
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2021-05-14 11:05:49 -06:00
Germain Souquet
a37f415a21
Do not eagerly decrypt breadcrumb rooms
2021-05-13 14:26:22 +01:00
Travis Ralston
deab424c93
Appease the linter
2021-05-12 21:19:31 -06:00
Travis Ralston
9beb2b8d78
Try putting room list handling behind a lock
...
Some of the logs relating to room list corruption appear to be badly timed race conditions so we'll try to linearize them here.
2021-05-12 21:15:17 -06:00
Travis Ralston
f98eee318e
Fill out fields for MSC2873 values
...
As required by https://github.com/matrix-org/matrix-widget-api/pull/36
2021-05-12 14:10:02 -06:00
Germain
91133ed35b
Prioritise and reduce the amount of events decrypted on application startup ( #5980 )
2021-05-12 12:19:53 +01:00
Germain Souquet
da1df70557
Improve comments and explainer for new decryption approach
2021-05-11 10:18:53 +01:00
Šimon Brandner
1b877f2b7c
Make SpaceTreeLevelLayoutStore into a singleton
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-05-11 11:16:14 +02:00
Šimon Brandner
4115fd8695
Rewrite SpaceTreeLevelLayoutStore to save paths
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-05-11 11:13:13 +02:00
Jaiwanth
3e8863fc9a
Adjust behaviour for the home space
2021-05-11 13:03:45 +05:30
Šimon Brandner
965af1a642
Initial SpaceTreeLevelLayoutStore implementation
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-05-11 08:08:02 +02:00
Jaiwanth
1974d47e4e
Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into spaces-jump-to-room
2021-05-11 11:24:35 +05:30
Jaiwanth
07a952a1bb
Update src/stores/SpaceStore.tsx
...
Co-authored-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-05-11 11:01:28 +05:30
Jaiwanth
14f94c3883
Remove excessive null check
...
Co-authored-by: Travis Ralston <travpc@gmail.com>
2021-05-11 10:41:31 +05:30
Robin Townsend
c39d9649ba
Merge branch 'develop' into improved-forwarding-ui
2021-05-10 13:38:02 -04:00
Germain Souquet
17f4945323
Merge branch 'develop' into gsouquet/cache-decrypt
2021-05-10 17:34:44 +01:00
Germain Souquet
f1a6f6fd7f
make breadcrumb room events decryption more idiomatic
2021-05-10 15:48:39 +01:00
Robin Townsend
7fa81766db
Remove old forwarding code
...
This has been replaced by ForwardDialog.
Signed-off-by: Robin Townsend <robin@robin.town>
2021-05-08 21:11:06 -04:00
Germain Souquet
5bd4120920
Decrypt breadcrumb events for better UX
2021-05-07 12:58:37 +01:00
Michael Telatynski
f0e61e6286
short circuit automatic switch to related space behaviour and fix tests
2021-05-07 11:08:18 +01:00
Michael Telatynski
6137162786
Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/fix/17044.1
...
Conflicts:
src/stores/room-list/RoomListStore.ts
2021-05-07 10:40:07 +01:00
Michael Telatynski
4079b03ae0
Bring back filter all spaces behaviour
2021-05-07 10:39:35 +01:00
Michael Telatynski
9518e4d415
Guard all isSpaceRoom calls behind the labs flag
2021-05-05 23:59:07 +01:00
Michael Telatynski
68210b1415
Merge pull request #5963 from matrix-org/t3chguy/fix/17119
...
Update space ordering behaviour to match updates in MSC
2021-05-05 22:26:45 +01:00
Michael Telatynski
202dfd4521
Merge pull request #5976 from matrix-org/t3chguy/fix/17153
...
Improve performance of search all spaces and space switching
2021-05-05 22:13:05 +01:00
Michael Telatynski
2b703e8574
tweak code style
2021-05-05 17:30:14 +01:00
Michael Telatynski
01fa25f3fa
Merge pull request #5968 from matrix-org/t3chguy/fix/17044
...
Only aggregate DM notifications on the Space Panel in the Home Space
2021-05-05 16:35:07 +01:00
Michael Telatynski
7f396bedd0
add comment
2021-05-05 15:59:02 +01:00
Michael Telatynski
4279e99e4c
Improve performance of search all spaces and space switching
2021-05-05 15:29:04 +01:00
Jaiwanth
49b61d512f
Replicate same behaviour for the home space
2021-05-05 13:46:40 +05:30
Jaiwanth
d3fc047b58
Handle home space
2021-05-05 13:24:06 +05:30
Jaiwanth
bcd1005e3c
Check truthiness of space
2021-05-05 13:01:14 +05:30
Jaiwanth
73b9ad41da
Navigate to room with maximum notifications when clicked on already selected space
2021-05-05 12:38:44 +05:30
Michael Telatynski
2bf931b9d3
Merge pull request #5945 from matrix-org/t3chguy/fix/17085
...
Fix newly joined room appearing under the wrong space
2021-05-04 21:57:43 +01:00
Michael Telatynski
69604480fd
Add comment
2021-05-04 21:17:15 +01:00
Michael Telatynski
a70be45b6e
Experiment switching the Home Space out for an All rooms space
2021-05-04 18:26:49 +01:00
Michael Telatynski
48237949ad
Only aggregate DM notifications on the Space Panel in the Home Space
2021-05-04 16:44:29 +01:00
Michael Telatynski
ac61c8eca8
Adhere to updated sort order for space children
2021-05-04 12:27:27 +01:00
Michael Telatynski
e9f59ed093
Merge pull request #5943 from matrix-org/t3chguy/fix/17082
...
Sort rooms in the add existing to space dialog based on recency
2021-05-04 10:57:23 +01:00
Travis Ralston
903cc77f39
Appease the linter
2021-05-03 21:53:23 -06:00
Travis Ralston
e04490284d
Support UI for MSC2876: Widgets reading events from rooms
...
MSC: https://github.com/matrix-org/matrix-doc/pull/2876
Fixes https://github.com/vector-im/element-web/issues/15747
Requires https://github.com/matrix-org/matrix-widget-api/pull/34
2021-05-03 21:50:25 -06:00
Michael Telatynski
8dbcc85249
Merge pull request #5944 from matrix-org/t3chguy/fix/17043
...
Inhibit sending RR when context switching to a room
2021-04-30 15:13:18 +01:00
Michael Telatynski
0008ef7ab1
Merge pull request #5942 from matrix-org/t3chguy/fix/16998
...
Make the text filter search all spaces instead of just the selected one
2021-04-30 12:53:38 +01:00
Šimon Brandner
5913203dc6
Merge branch 'develop' into fix-indent
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-29 20:08:14 +02:00
Šimon Brandner
232b87a3b4
Improve formatting
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-29 19:57:02 +02:00
Michael Telatynski
286463606c
Spaces fix edge cases around automatic space switching around room navigation
2021-04-29 13:52:48 +01:00
Michael Telatynski
7552801103
Room List respect the prefilter for new rooms
2021-04-29 09:48:23 +01:00
Michael Telatynski
e390c3c732
Inhibit sending RR when context switching to a room
2021-04-29 09:37:21 +01:00
Michael Telatynski
bed52319bc
Sort rooms in the add existing to space dialog based on recency
2021-04-28 23:39:24 +01:00
Michael Telatynski
efb9b71900
Make the text filter search all spaces instead of just the selected one
2021-04-28 23:18:42 +01:00
Michael Telatynski
08e0f15006
Merge pull request #5936 from matrix-org/t3chguy/fix/17084
...
Fix joining room using via servers regression
2021-04-28 17:09:22 +01:00
Michael Telatynski
27731ac25b
tidy
2021-04-28 09:07:02 +01:00
Michael Telatynski
5966fade0b
Fix joining room using via servers regression
2021-04-28 09:04:02 +01:00
Travis Ralston
c2bcdae8a9
Switch global var to the store for easier debugging
2021-04-27 23:04:49 -06:00
Šimon Brandner
46bfbbadf9
Enable indent rule and fix indent
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-27 17:23:27 +02:00