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
cecf0ce299
Convert MessagePanel, TimelinePanel, ScrollPanel, and more to Typescript
2021-06-22 20:41:26 +01:00
Michael Telatynski
6fd1dc7d18
Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/ts/7
2021-06-22 18:09:24 +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
a839d0f396
More typescript conversion
2021-06-22 17:23:13 +01:00
Germain Souquet
3d3c428455
Fix DesktopBuildsNotice return type
2021-06-22 10:26:49 +01:00
Šimon Brandner
066ef18db2
Replace onClick by onMouseDown
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-06-22 09:24:42 +02:00
Šimon Brandner
a59deeb491
Add onClick handlers
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-06-22 09:16:45 +02:00
Šimon Brandner
de40657194
Don't show room if we don't click on buttons
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-06-22 09:12:41 +02: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
Germain Souquet
7f635c68c5
Migrate SearchBar to TypeScript
2021-06-21 14:50:21 +01:00
Michael Telatynski
e79b7d7adb
Fix View Source accessing renamed private field on MatrixEvent
2021-06-21 09:45:22 +01:00
Michael Telatynski
a2a5158411
Fix View Source accessing renamed private field on MatrixEvent
2021-06-19 15:37:48 +01:00
Michael Telatynski
3b7c92fd9e
Use new js-sdk types properly
2021-06-18 16:18:42 +01:00
Michael Telatynski
9cce5ef10f
Consolidate types with js-sdk changes
2021-06-18 15:31:12 +01:00
J. Ryan Stinnett
538165d515
Fix phase enum usage in JS modules as well
...
https://github.com/matrix-org/matrix-react-sdk/pull/6185 converted
`SetupEncryptionStore` to TS, including moving the phase states to an enum. The
calling JS modules were forgotten, so they got a bit confused.
Fixes https://github.com/vector-im/element-web/issues/17689
Regressed by https://github.com/matrix-org/matrix-react-sdk/pull/6185
2021-06-18 14:05:12 +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
dddc32d870
Merge pull request #6208 from matrix-org/t3chguy/ts/5
2021-06-18 09:49:03 +01:00
Michael Telatynski
f38cd38bd3
Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/fix/12740
...
Conflicts:
src/components/structures/TimelinePanel.js
src/components/views/context_menus/MessageContextMenu.js
src/components/views/right_panel/UserInfo.tsx
src/dispatcher/actions.ts
2021-06-17 15:31:06 +01:00
Michael Telatynski
3e38d92fa4
Fix up some more type defs
2021-06-17 14:49:27 +01:00
Michael Telatynski
ccf30ed94c
Merge pull request #6202 from matrix-org/t3chguy/fix/17669
2021-06-16 12:46:44 +01:00
Michael Telatynski
ab964339d2
Add another setState skip to prevent redundant state updates
2021-06-16 12:11:17 +01:00
Michael Telatynski
d87325ae6a
Small cleanup around the room status bar and auxpanel to prevent redundant state updates
2021-06-16 12:06:41 +01:00
Michael Telatynski
e3a6ce13cd
Fix tight-loop update issue caused by a broken shouldComponentUpdate
2021-06-16 12:04:37 +01:00
Michael Telatynski
deb2e8d679
Remove unused methods
2021-06-16 12:04:01 +01:00
Michael Telatynski
47ddd33d21
Remove explicit .js
imports
2021-06-16 10:24:51 +01:00
Germain Souquet
a5d608f2af
Keep composer reply when scrolling away from a highlighted event
2021-06-16 10:01:23 +01:00
Michael Telatynski
cee294f5a7
iterate PR
2021-06-16 09:23:06 +01:00
Michael Telatynski
660a849cdd
Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into travis/blurhash
...
Conflicts:
package.json
src/ContentMessages.tsx
yarn.lock
2021-06-15 12:58:29 +01:00
Germain Souquet
7310d35d7f
Merge branch 'develop' into gsouquet/benchmark-tracking
2021-06-15 11:45:11 +01:00
Germain Souquet
011a2f2bb6
Remove test data for develop pipeline
2021-06-15 10:59:57 +01:00
Germain Souquet
d5f7f524e1
Slow down registration process
2021-06-15 10:24:07 +01:00
Germain
d3101b5ce4
Merge branch 'develop' into gsouquet/dialogs-ts-migration
2021-06-15 00:02:49 +01:00
Germain Souquet
de414cd0a6
Migrate UserSettingsDialog to TypeScript
2021-06-14 23:42:36 +01:00
Michael Telatynski
430ec8cecd
Clear selected rooms after operation in manage space rooms
2021-06-14 22:18:18 +01:00
Germain Souquet
cf822d4d4c
Migrate DeactivateAccountDialog to TypeScript
2021-06-14 21:53:44 +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
Travis Ralston
2eafe132b8
Move various createRoom types to the js-sdk
2021-06-14 13:31:58 -06:00
Germain
91a88f25a8
Merge pull request #6168 from matrix-org/gsouquet/fix-17586
...
Revert refreshStickyHeaders optimisations
2021-06-09 16:34:11 +01:00
Germain Souquet
927de02a8e
Revert refreshStickyHeaders optimisations
2021-06-09 14:59:55 +01:00
Germain Souquet
ceed6ecbe8
Restore Page Up/Down key bindings when focusing the composer
2021-06-09 14:03:31 +01:00
Germain
8334a2ba60
Merge pull request #6143 from robintown/hide-events-perf
2021-06-09 09:13:56 +01:00
Michael Telatynski
2938bfbadf
Merge pull request #6162 from matrix-org/t3chguy/fix/17596
...
Fix upgrade to element home button in top left menu
2021-06-08 17:48:45 +01:00
Michael Telatynski
90982f9b3f
Fix upgrade to element home button in top left menu
2021-06-08 17:31:08 +01:00
Robin Townsend
b97867271b
Merge branch 'develop' into improved-forwarding-ui
2021-06-07 19:09:36 -04:00
Michael Telatynski
801b5f9c1a
Merge pull request #6155 from matrix-org/t3chguy/spacesteammatewarning
...
Add warning to private space creation flow
2021-06-07 22:21:07 +01:00
Germain Souquet
187a367111
Add prop to alwaysShowTimestamps on TimelinePanel
2021-06-07 17:11:14 +01:00
Michael Telatynski
f3aa505673
Add warning to private space creation flow
2021-06-07 14:14:31 +01:00
Michael Telatynski
bd8fd77d54
Merge pull request #6148 from robintown/fix-timestamps
2021-06-07 13:12:11 +01:00
Germain Souquet
d111f4cbb1
Merge branch 'develop' into gsouquet/fix-files-scroll-token
2021-06-07 12:25:08 +01:00
Germain Souquet
a6ddffe74c
Add scroll token to file and notif event tiles
2021-06-07 09:26:42 +01:00
Robin Townsend
1e574307d0
Cache lowBandwidth setting to speed up BaseAvatar
...
Signed-off-by: Robin Townsend <robin@robin.town>
2021-06-06 23:08:47 -04:00
Robin Townsend
903d4d252a
Add optimized function to determine whether event has text to display
...
Signed-off-by: Robin Townsend <robin@robin.town>
2021-06-06 23:06:56 -04:00
Robin Townsend
ea2120bdfd
Fix timestamps
...
7f83590846
changed timestamps to be hidden
at the DOM level, not the CSS level. We can keep that approach, we just
need to ensure they still get shown at the right times.
Signed-off-by: Robin Townsend <robin@robin.town>
2021-06-06 01:55:01 -04:00
Robin Townsend
b06da16a85
Fix jumping to bottom without a highlighted event
...
Signed-off-by: Robin Townsend <robin@robin.town>
2021-06-05 13:20:27 -04:00
Robin Townsend
a06306d560
Merge branch 'develop' into improved-forwarding-ui
2021-06-05 11:04:17 -04:00
Robin Townsend
3bf8e54d7f
Use cached RoomContext settings values throughout rooms
...
Signed-off-by: Robin Townsend <robin@robin.town>
2021-06-05 01:25:43 -04:00
Robin Townsend
48d3e41351
Cache frequently used settings values in RoomContext
...
Signed-off-by: Robin Townsend <robin@robin.town>
2021-06-05 01:23:51 -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
5d0d81e79a
not sure how I butchered this merge conflict resolution this much.
2021-06-03 19:37:26 +01: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
83d223475b
delint imports
2021-06-03 08:41:22 +01:00
Michael Telatynski
42a3ace82a
Iterate PR based on feedback
2021-06-03 08:35:12 +01:00
Michael Telatynski
3f12b7280d
Make AutoHideScrollbar pass through all unknown props
2021-06-03 08:31:06 +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 Souquet
bc50028f70
Merge branch 'develop' into gsouquet-scroll-to-live-reset-hash
2021-06-02 13:57:33 +01:00
Michael Telatynski
da13ec16f3
Merge branch 't3chguy/fix/17529' of github.com:matrix-org/matrix-react-sdk into t3chguy/fix/17282
2021-06-02 12:42:55 +01:00
Michael Telatynski
35948374e9
remove unused imports
2021-06-02 11:56:49 +01:00
Germain
9d126c51e4
Merge pull request #6113 from matrix-org/gsouquet/improve-layout-rendering
2021-06-02 11:41:59 +01:00
Michael Telatynski
bc3c759feb
Add temporary mechanism for managing communities without dnd
2021-06-02 11:33:25 +01:00
Travis Ralston
c9883f346c
Build pass 1
2021-06-01 22:21:04 -06:00
Robin Townsend
56714525f2
Merge branch 'develop' into improved-forwarding-ui
2021-06-01 17:28:55 -04:00
Michael Telatynski
0b7d3f007a
Remove react-beautiful-dnd
2021-06-01 17:35:31 +01:00
Michael Telatynski
a1ff060138
Merge pull request #6123 from matrix-org/t3chguy/fix/17517
...
Update way of checking for registration disabled
2021-06-01 15:20:21 +01:00
Michael Telatynski
4e6f1e6294
add comment
2021-06-01 15:00:59 +01:00
Germain Souquet
591314141b
Add methods visibility for AutoHideScrollbar
2021-06-01 14:15:42 +01:00
Germain Souquet
308ac505a8
Migrate AutoHideScrollbar to TypeScript
...
Also changed the way the React.RefObject is collected
2021-06-01 14:13:46 +01:00
Michael Telatynski
72fab80bb9
Merge pull request #6125 from matrix-org/t3chguy/fix/17521
...
Switch to stable endpoint/fields for MSC2858
2021-06-01 12:07:41 +01:00
Michael Telatynski
f11a7083ae
Switch to stable endpoint/fields for MSC2858
2021-06-01 11:01:09 +01:00
Michael Telatynski
e525d046c7
remove outdated TODO
2021-06-01 10:49:19 +01:00
Michael Telatynski
b2f01b8438
Respect newlines in space topics
2021-06-01 10:48:53 +01:00
Michael Telatynski
826efeaeaa
Update way of checking for registration disabled
...
Spec says 403 + M_FORBIDDEN
2021-06-01 10:22:24 +01:00
J. Ryan Stinnett
a8b6094482
Merge pull request #5674 from churchtools/default-username
...
Add url param `defaultUsername` to prefill the login username field
2021-06-01 10:12:31 +01:00
Germain Souquet
d894cc6f7a
Merge branch 'develop' into gsouquet/switch-rooms
2021-06-01 09:02:28 +01:00
Germain Souquet
fd69fce1ba
guard event listener from null values
2021-05-28 17:37:29 +01:00
Germain Souquet
f10e95956b
Use passive option for scroll handler
2021-05-28 14:59:14 +01:00
Germain
71b217e4a1
Merge pull request #6110 from matrix-org/gsouquet/sticky-header-sizing
2021-05-28 14:49:49 +01:00
Germain Souquet
650b683761
Reposition sticky headers when layout has changed
2021-05-28 10:31:42 +01:00
Germain Souquet
29c4d9ffd0
Restore toggle LHS logic
2021-05-28 10:03:46 +01:00
Germain Souquet
1a51ed9ffd
Make breadcrumb animation run on the compositing layer
2021-05-28 09:34:08 +01:00
Germain Souquet
aaca71b316
Reintroduce sticky header width
2021-05-27 12:44:53 +01:00
Germain Souquet
fcae19f831
Track left panel width using ResizeObserver
2021-05-27 12:36:16 +01:00
Michael Telatynski
086ce7c621
Merge pull request #6109 from matrix-org/t3chguy/fix/17387
...
Fix misleading child counts in spaces
2021-05-27 12:35:00 +01:00
Germain Souquet
51d88062f9
Merge branch 'develop' into gsouquet/switch-rooms
2021-05-27 10:22:16 +01:00
Michael Telatynski
d6d0922753
Fix misleading child counts in spaces
2021-05-27 10:11:28 +01:00
Germain Souquet
f31ec343f4
Use Set::size instead of Array.from()::length
2021-05-27 09:26:31 +01:00
Germain
b8a7d5d730
Better Set handling
...
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2021-05-27 09:23:56 +01:00
Germain Souquet
fbb6a42d86
fix reading Set length
2021-05-27 09:05:51 +01:00
Germain Souquet
2d15d66df8
Listen to home server sync update to remove pending rooms
2021-05-27 08:58:11 +01:00
Germain Souquet
be22a325f6
Prevent having duplicates in pending room state
2021-05-27 08:57:27 +01:00
Michael Telatynski
1ffbaee560
update style of imports in all modified files
2021-05-26 14:14:55 +01:00
Michael Telatynski
974d62e347
Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/fix/12740
...
Conflicts:
src/components/views/messages/TextualBody.js
src/components/views/right_panel/UserInfo.tsx
src/dispatcher/actions.ts
2021-05-26 14:08:01 +01:00
Germain Souquet
c7c6a818f0
Merge branch 'develop' into gsouquet/switch-rooms
2021-05-26 09:51:27 +01:00
Michael Telatynski
231e39a965
Fix accessing currentState on an invalid joinedRoom
2021-05-25 17:26:43 +01:00
Michael Telatynski
830ad47e87
Merge pull request #6097 from matrix-org/t3chguy/allSettled
...
Remove Promise allSettled polyfill as js-sdk uses it directly
2021-05-25 17:11:06 +01:00
Michael Telatynski
c1f397dcf7
delint
2021-05-25 16:20:23 +01:00
Michael Telatynski
17bbbff479
Remove Promise allSettled polyfill as its widespread enough now and js-sdk uses it directly
2021-05-25 16:12:34 +01:00
Michael Telatynski
59f4c728c9
Initial cut of Pinned event card in the right panel
2021-05-25 16:10:44 +01:00
Germain Souquet
b09dd8f1f8
remove unused values
2021-05-25 14:54:27 +01:00
Germain Souquet
7303166924
fix sticky headers when results num get displayed
2021-05-25 13:53:20 +01:00
Michael Telatynski
152c178ea9
Convert NotificationPanel to Typescript
2021-05-25 12:15:37 +01:00
Michael Telatynski
170b11d130
Convert RightPanel to Typescript
2021-05-25 12:13:16 +01:00
Germain
1751b4ba43
Merge pull request #6092 from matrix-org/gsouquet/window-dimensions-reflow
2021-05-25 12:00:08 +01:00
Michael Telatynski
5980528f30
Merge pull request #6089 from matrix-org/t3chguy/fix/17336
...
Use local room state to render space hierarchy if the room is known
2021-05-25 11:59:09 +01:00
Germain Souquet
f156c2db15
prevent reflow in app when accessing window dimensions
2021-05-25 10:28:43 +01:00
Germain Souquet
ac93cc514f
Prevent layout trashing when resizing the window
2021-05-25 10:28:20 +01:00
David Schilling
5c674365d3
Add url param defaultUsername
to prefill the login username field
...
Signed-off-by: David Schilling <dschilling@churchtools.de>
2021-05-25 10:39:33 +02:00
Michael Telatynski
4a5c634d82
Iterate PR
2021-05-24 22:02:50 +01:00
Michael Telatynski
d8acc0612a
Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/fix/12740
...
Conflicts:
src/components/views/rooms/EditMessageComposer.js
src/components/views/rooms/SendMessageComposer.js
2021-05-24 21:57:38 +01:00
Michael Telatynski
5b66975605
Use local room state to render space hierarchy if the room is known
2021-05-24 18:57:24 +01:00
Germain Souquet
36d95ff737
Display spinner in user menu when joining a room
2021-05-24 15:02:26 +01:00
Germain Souquet
b5295b03ce
Trigger join room actions properly
2021-05-24 14:34:06 +01:00
Robin Townsend
88e0e9b9fb
Merge branch 'develop' into improved-forwarding-ui
2021-05-24 08:23:07 -04:00
Germain Souquet
ecff5bd65c
Merge branch 'develop' into gsouquet-scroll-to-live-reset-hash
2021-05-24 09:20:12 +01:00
Germain Souquet
4851e96297
Switch rooms documentation and polishing
2021-05-24 09:17:29 +01:00
Michael Telatynski
a6adfde8e2
Merge pull request #6070 from matrix-org/t3chguy/fix/17360
...
Improve explore rooms when no results are found
2021-05-23 21:17:35 +01:00
Michael Telatynski
35b9388fc2
Iterate PR
2021-05-21 13:37:21 +01:00
Robin Townsend
f34d61cf5d
Merge branch 'develop' into improved-forwarding-ui
2021-05-21 08:15:09 -04:00
Germain Souquet
ccfd6ba4b1
fix linting issues
2021-05-21 12:53:26 +01: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
9e55f24092
Remove extraenous DOM nodes
2021-05-20 16:11:33 +01:00
Germain Souquet
171539d42d
Simplify EventTile structure
...
Only render MessageTimestamp to the DOM when a tile is hovered
2021-05-20 15:26:02 +01:00
Michael Telatynski
ba7604fd44
fix types around sending stickers
2021-05-20 13:24:19 +01:00
Michael Telatynski
c21445c406
switch from MatrixClientPeg in ContentMessages for consistency
2021-05-20 13:23:17 +01:00
Germain
49c853a304
Delete RoomView dead code
2021-05-20 09:37:33 +01:00
Michael Telatynski
aa7ccc1420
Show prompt to create new room from room directory results
2021-05-19 20:07:54 +01:00
Michael Telatynski
a61e977b5f
Fix room directory ts migration
2021-05-19 19:30:56 +01:00
Michael Telatynski
8b67cdb80b
Pre-populate create room dialog name when going from room directory
2021-05-19 19:20:58 +01:00
Michael Telatynski
d10a45c6a3
Convert RoomDirectory and NetworkDropdown to Typescript
2021-05-19 18:40:03 +01:00
Robin Townsend
678b298bab
Merge branch 'develop' into improved-forwarding-ui
2021-05-19 12:39:48 -04:00
Germain Souquet
cf8e49729a
prevent unwarranted RoomView re-render
2021-05-19 14:32:49 +01:00
Michael Telatynski
6e25e42e66
Show subspace rooms count even if it is 0 for consistency
2021-05-19 13:00:46 +01:00
Michael Telatynski
9b01e1575d
Merge pull request #6055 from matrix-org/t3chguy/fix/17332
...
Fix space room hierarchy not updating when removing a room
2021-05-19 12:28:11 +01:00
Germain Souquet
382a08bdb1
Delete RoomView dead code
2021-05-19 11:38:10 +01:00
Germain
f7d0afcd28
Performance monitoring measurements ( #6041 )
2021-05-19 10:07:02 +01:00
Germain Souquet
f9f10de0da
use renamed decrypt event method
2021-05-18 13:01:38 +01:00