Germain Souquet
1a51ed9ffd
Make breadcrumb animation run on the compositing layer
2021-05-28 09:34:08 +01:00
Michael Telatynski
890ac14090
Merge pull request #6105 from matrix-org/t3chguy/invitedialog
...
Avoid showing warning modals from the invite dialog after it unmounts
2021-05-27 23:07:47 +01:00
Michael Telatynski
eef15394f2
extract buildRecents return type into an interface
2021-05-27 17:00:48 +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
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 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
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
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
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
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
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 Souquet
80bd130421
Prevent DecoratedRoomAvatar to update its state for the same value
2021-05-25 16:58:23 +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
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
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
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
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
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
73d51a91d6
Prevent unneeded state updates to hide StickerPicker
2021-05-25 10:27:59 +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
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
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
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
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
J. Ryan Stinnett
320c8d2091
Move function prop to bottom
2021-05-21 13:10:50 +01:00
J. Ryan Stinnett
e4cf66f0e4
Move state init to constructors
2021-05-21 13:09:24 +01:00
J. Ryan Stinnett
5d6f16ff64
Add explicit public
2021-05-21 12:59:54 +01:00
J. Ryan Stinnett
66077e3a05
Add spaces to imports
2021-05-21 12:57:51 +01:00
Germain Souquet
ccfd6ba4b1
fix linting issues
2021-05-21 12:53:26 +01:00
J. Ryan Stinnett
f8e61a982b
One less Set
2021-05-21 12:41:59 +01:00
J. Ryan Stinnett
d59b2b3579
Fix unintended buttons class change
2021-05-21 12:38:32 +01:00
J. Ryan Stinnett
d0da4b2a25
Use separate name for verification request component
2021-05-21 12:37:34 +01:00
Germain Souquet
5ba419db54
split room header and header wrapper
2021-05-21 10:21:54 +01:00
Germain Souquet
47e007e08f
batch load events in ReplyThread before adding them to the state
2021-05-21 10:20:24 +01:00
Robin Townsend
332412782e
Remove logo spinner
...
Removed since design wants to avoid associating slowness with the brand.
Signed-off-by: Robin Townsend <robin@robin.town>
2021-05-20 17:31:10 -04:00
Michael Telatynski
d0d56d4b42
Merge pull request #6073 from matrix-org/t3chguy/fix/17412
...
Fix add reaction prompt showing even when user is not joined to room
2021-05-20 21:00:10 +01:00
Travis Ralston
767c7a1e38
Merge pull request #5680 from robintown/better-spinners
...
Vectorize spinners
2021-05-20 13:31:35 -06: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
0f63098c59
Remove typo semicolon
2021-05-20 18:02:44 +01:00
Germain Souquet
229c4b98b4
use userGroups cached value to avoid re-render
2021-05-20 18:02:03 +01:00
J. Ryan Stinnett
d9e490926b
Add types to DevtoolsDialog
2021-05-20 17:59:45 +01:00
J. Ryan Stinnett
df09bdf823
Add types to InteractiveAuthEntryComponents
2021-05-20 17:59:45 +01:00
J. Ryan Stinnett
6574ca98fa
Fix basic lint errors
2021-05-20 17:56:16 +01:00
J. Ryan Stinnett
21c1179f8d
Update extensions for more files with types
...
This migrates the another bucket of files using some amount of Flow typing to
mark them as TypeScript instead. The remaining type errors are fixed in
subsequent commits.
2021-05-20 17:56:16 +01:00
Germain
fff849c611
Merge pull request #6071 from matrix-org/gsouquet/roomview-deadcode
...
Delete RoomView dead code
2021-05-20 17:10:57 +01:00
Germain Souquet
9e55f24092
Remove extraenous DOM nodes
2021-05-20 16:11:33 +01:00
Germain Souquet
f058fd8869
Reduce amount of DOM nodes
2021-05-20 15:39:25 +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
Germain Souquet
d362321706
Simplify SenderProfile DOM structure
2021-05-20 15:25:20 +01:00
Michael Telatynski
dab75f9b88
Fix add reaction prompt showing even when user is not joined to room
2021-05-20 12:20:53 +01:00