Commit graph

33684 commits

Author SHA1 Message Date
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
Michael Telatynski
02d11b8926 Extend HeaderButton and HeaderButtons to be more generic 2021-05-25 13:53:46 +01:00
Germain Souquet
7303166924 fix sticky headers when results num get displayed 2021-05-25 13:53:20 +01:00
Jaiwanth
0b728ff390 Use double quotes for import 2021-05-25 17:52:23 +05:30
Jaiwanth
0ee290648a Add support for firefox 2021-05-25 17:49:18 +05:30
Michael Telatynski
96928e5d31 Header Buttons switch to a fragment from an array of nodes 2021-05-25 13:17:14 +01:00
Michael Telatynski
13427aaf07 Add a pulse animation to the pinned messages indicator and move it 2021-05-25 13:07:39 +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
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
Jaiwanth
7cd3f51c56 indent and use double quotes 2021-05-25 16:33:01 +05:30
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
J. Ryan Stinnett
567d6f2a4b
Merge pull request #6093 from matrix-org/jryans/firefox-overscroll
Stop overscroll in Firefox Nightly for macOS
2021-05-25 11:47:16 +01:00
J. Ryan Stinnett
45678de9a1 Stop overscroll in Firefox Nightly for macOS
Firefox is working on an overscroll feature for macOS, similar to the one Safari
has had for some time now. It doesn't really make sense in an application
context, so this disables it.
2021-05-25 11:29:59 +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
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
4be8bbeef9 Close creation menu when expanding space panel via expand hierarchy 2021-05-24 21:17:30 +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
RiotRobot
7123abc122 Reset matrix-js-sdk back to develop branch 2021-05-24 17:26:24 +01:00