Commit Graph

33823 Commits (e39baf3e2301b8280d7072d2660a2ac69df843de)

Author SHA1 Message Date
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
Michael Telatynski 526bde4d9e
Merge pull request #6090 from matrix-org/t3chguy/fix/17257
Close creation menu when expanding space panel via expand hierarchy
2021-05-27 11:41:55 +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 fd7bc9755a
Merge pull request #6108 from matrix-org/gsouquet/fix/17473 2021-05-27 09:51:59 +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
Michael Telatynski bd653ac5a8 fix edge cases around space panel auto collapsing/closing menu 2021-05-27 09:11:43 +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 9007afabfa Fix JoinRoomError action name typo 2021-05-27 08:57:48 +01:00
Germain Souquet be22a325f6 Prevent having duplicates in pending room state 2021-05-27 08:57:27 +01:00
Michael Telatynski 818dfc91ec use useEffect to close menu whenever the space panel collapsed state changes 2021-05-27 08:48:21 +01:00
J. Ryan Stinnett 118556b542
Merge pull request #6106 from matrix-org/jryans/hidden-events-reactions
Update reactions row on event decryption
2021-05-26 17:34:54 +01:00
J. Ryan Stinnett 7d59d5cb39 Tune types in ReactionsRow 2021-05-26 16:51:26 +01:00
Michael Telatynski 60d161caf5 Apply some actual typescripting to this file 2021-05-26 16:47:46 +01:00
J. Ryan Stinnett d4ca1babbe Update reactions row on event decryption
This fixes a race (perhaps revealed by the recent lazy decryption work) where
the reactions row have reactions to show, but the event would not be decrypted,
so they wouldn't render. Adding a decryption listener gets things moving again.

Fixes https://github.com/vector-im/element-web/issues/17461
2021-05-26 16:47:21 +01:00
Michael Telatynski 3f10279e15 Invite Dialog don't show warning modals after unmount, it is jarring 2021-05-26 16:38:02 +01:00
Michael Telatynski 1ff870927a When pinning a message automatically mark it as read 2021-05-26 15:40:24 +01:00
Michael Telatynski 0758c09d9e i18n 2021-05-26 14:06:12 +01:00
Michael Telatynski 54d8953024 delint 2021-05-26 14:00:53 +01:00
Michael Telatynski 27ad90760d Iterate pinned messages 2021-05-26 13:51:17 +01:00
Michael Telatynski 84bdd61119
Merge pull request #6101 from jaiwanth-v/voice-message-destroy
Destroy playback instance on voice message unmount
2021-05-26 12:18:59 +01:00
Germain 7ab31932ce
Merge pull request #6102 from matrix-org/gsouquet/17469
Fix message preview not up to date
2021-05-26 11:30:48 +01:00
J. Ryan Stinnett e3a9e4690b
Merge pull request #6076 from matrix-org/jryans/convert-flow-to-ts-2
Convert some Flow typed files to TS (round 2)
2021-05-26 10:54:09 +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 776b7100b5
Merge pull request #6086 from matrix-org/gsouquet/middle-pane-resize 2021-05-26 09:46:09 +01:00
Jaiwanth a65299d8be
Update src/components/views/messages/MVoiceMessageBody.tsx
Co-authored-by: Michael Telatynski <7t3chguy@googlemail.com>
2021-05-26 13:07:57 +05:30
Jaiwanth a4907f8061 Destroy playback instance on unmount 2021-05-26 12:57:39 +05:30
Michael Telatynski a22141616e
Merge pull request #6100 from matrix-org/t3chguy/fix/17466
Fix accessing currentState on an invalid joinedRoom
2021-05-25 20:40:29 +01:00
Michael Telatynski 231e39a965 Fix accessing currentState on an invalid joinedRoom 2021-05-25 17:26:43 +01:00
Michael Telatynski fd74a946e0 add header 2021-05-25 17:24: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
Germain 3d302a3beb
Merge pull request #6099 from matrix-org/gsouquet/decoratedavatar-icon
Prevent DecoratedRoomAvatar to update its state for the same value
2021-05-25 17:09:32 +01:00
Germain 7e05a7a3a9
Merge pull request #6098 from matrix-org/gsouquet/skip-generatepreview
Skip generatePreview if event is not part of the live timeline
2021-05-25 16:59:51 +01:00
Germain Souquet 80bd130421 Prevent DecoratedRoomAvatar to update its state for the same value 2021-05-25 16:58:23 +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 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
Michael Telatynski 4fa6d3599b Convert PinnedEventTile to Typescript 2021-05-25 15:44:39 +01:00
Michael Telatynski a6ca8f797d Fix useAsyncMemo out-of-order resolutions 2021-05-25 15:34:44 +01:00
Germain 7ecd96b320
Merge pull request #6095 from matrix-org/gsouquet/sticky-headers-results 2021-05-25 15:32:49 +01:00
Germain Souquet 36dddea338 remove CSS out of sync comment 2021-05-25 14:57:07 +01:00
Germain Souquet b09dd8f1f8 remove unused values 2021-05-25 14:54:27 +01:00
Germain d6cd3c5ed4
Merge pull request #6094 from matrix-org/gsouquet/timeline-scroll-performance 2021-05-25 14:52:14 +01:00
Germain Souquet d644338421 WhoIsTypingTile TypeScript conversion 2021-05-25 14:34:19 +01:00
Germain Souquet a803e33ffe Convert WhoIsTypingTile to TypeScript 2021-05-25 14:10:16 +01:00