Commit Graph

26582 Commits (d6d09227530da472ba5ecd9de99c32891ed9e82c)

Author SHA1 Message Date
Michael Telatynski d6d0922753 Fix misleading child counts in spaces 2021-05-27 10:11:28 +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
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 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 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 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
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 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 17bbbff479 Remove Promise allSettled polyfill as its widespread enough now and js-sdk uses it directly 2021-05-25 16:12:34 +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 b09dd8f1f8 remove unused values 2021-05-25 14:54:27 +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
Germain Souquet 7303166924 fix sticky headers when results num get displayed 2021-05-25 13:53:20 +01:00
Germain Souquet 88af74e4a4 Improve addEventsToTimeline performance scoping WhoIsTypingTile::setState 2021-05-25 12:45:19 +01:00
J. Ryan Stinnett cb88f37bbd Remove outdated diagnostic log
The cited issue (https://github.com/vector-im/element-web/issues/11120) has
since been fixed, so this "temporary" (2 years ago) logging is no longer needed.
2021-05-25 12:28: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 9525dc3202
Merge pull request #6085 from matrix-org/gsouquet/15451 2021-05-25 11:58:46 +01:00
Germain Souquet 85a73f2504 Fix copyright header in UIStore file 2021-05-25 11:48:45 +01:00
Michael Telatynski 97c6ee39d0
Merge pull request #6063 from matrix-org/t3chguy/fix/17369
Move SettingsStore watchers/monitors over to ES6 maps for performance
2021-05-25 10:58:09 +01:00
Germain Souquet f156c2db15 prevent reflow in app when accessing window dimensions 2021-05-25 10:28:43 +01:00
Germain Souquet a57887cc61 Prevent layout trashing on EffectsOverlay 2021-05-25 10:28:32 +01:00
Germain Souquet ac93cc514f Prevent layout trashing when resizing the window 2021-05-25 10:28:20 +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
Germain Souquet 73d51a91d6 Prevent unneeded state updates to hide StickerPicker 2021-05-25 10:27:59 +01:00
Germain Souquet 525e3eaf43 Prevent reflow when getting screen orientation
It is better to access the device orientation using media queries as it will not force a reflow compared to accessing innerWidth/innerHeight
2021-05-25 10:27:50 +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 cdecc156df Remove unused prop 2021-05-24 17:30:37 +01:00
Germain Souquet 3b69c0203c Remove resize notifier prop from RoomTile 2021-05-24 17:05:59 +01:00
Germain Souquet fdc22bfdf7 Adhere to TypeScript codestyle better 2021-05-24 16:40:55 +01:00
Germain Souquet 0bbfb1a6d9 remove unused variable checkObjectHasNoAdditionalKeys 2021-05-24 16:18:55 +01:00
Germain Souquet 671f169457 Remove unused middlePanelResized event listener 2021-05-24 16:08:48 +01:00
Germain Souquet f478cd98f7 fix i18n for UserMenu spinner 2021-05-24 15:12:17 +01:00
Germain Souquet 36d95ff737 Display spinner in user menu when joining a room 2021-05-24 15:02:26 +01:00
Germain Souquet 19569f3897 Convert Tooltip to TypeScript 2021-05-24 15:01:59 +01:00
Germain Souquet b5295b03ce Trigger join room actions properly 2021-05-24 14:34:06 +01:00
Germain Souquet d6bc1861ae Migrate InlineSpinner to TypeScript 2021-05-24 14:33:31 +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
J. Ryan Stinnett 44ecf62758 Add explicit member access 2021-05-21 13:15:54 +01:00
J. Ryan Stinnett 3b50808cb0 Use any instead of object 2021-05-21 13:11:33 +01:00