Commit Graph

12860 Commits

Author SHA1 Message Date
Šimon Brandner c1fcadba3b Manage some more call states
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-06-01 10:33:44 +02:00
Šimon Brandner f96e25d833 Simply use call states
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-06-01 10:11:48 +02:00
Šimon Brandner 30365ca1ad Allow picking up calls from the timeline
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-06-01 10:03:17 +02:00
Germain Souquet d894cc6f7a Merge branch 'develop' into gsouquet/switch-rooms 2021-06-01 09:02:28 +01:00
Šimon Brandner dac741d8b9 Another rewrite
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-06-01 09:30:37 +02:00
Jaiwanth 80c0ad82fc Better file names 2021-06-01 12:40:03 +05:30
Šimon Brandner 8eb24d0d74 Rename callState to timelineCallState
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-06-01 08:01:34 +02:00
Šimon Brandner 5e4a10ab84 Reorganize HTML
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-06-01 07:55:55 +02:00
Jaiwanth a0a604618c Handle non-media attachments 2021-05-31 23:50:55 +05:30
Jaiwanth 5f1c9d0f88 Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into export-conversations 2021-05-31 22:58:11 +05:30
Jaiwanth 28a1a551fe Save users' avatars 2021-05-31 22:27:29 +05:30
Jaiwanth fa073cd958 Save and display room avatars 2021-05-31 21:35:08 +05:30
Jaiwanth 59c1b67b7d Enable support for image, video and audio files 2021-05-31 21:01:19 +05:30
Jaiwanth 573a3ca983 Rewrite export tool to use existing components to render output, use existing source URLs for media 2021-05-31 19:01:32 +05:30
Šimon Brandner 5e8df03724 Fix styling a bit
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-05-30 19:44:17 +02:00
Šimon Brandner 85bcf8ed52 Hook up CallEventGrouper
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-05-30 19:44:17 +02:00
Šimon Brandner 4ae92d8adc Hook up TimelineCallEventStore and add Avatar
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-05-30 19:44:17 +02:00
Šimon Brandner 3ac63b03a6 Use styling for CallEvent
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-05-30 19:44:17 +02:00
Šimon Brandner eaa3645238 Hook up CallEvent
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-05-30 19:44:17 +02:00
Šimon Brandner 73c66c36dd Add basic CallEvent
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-05-30 19:44:17 +02:00
Šimon Brandner d72c773e2d clearStoredEditorState when canceling editing using a shortcut
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-05-29 08:26:53 +02: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
Michael Telatynski 91b7f25513 delint2 2021-05-28 13:51:54 +01:00
Michael Telatynski d319768b2e Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/fix/17365
 Conflicts:
	src/components/views/dialogs/InviteDialog.tsx
2021-05-28 13:06:48 +01:00
Nique Woodhouse ea26393709 Styling amends to accommodate the invite dialog footer 2021-05-28 13:00:18 +01:00
Germain Souquet 650b683761 Reposition sticky headers when layout has changed 2021-05-28 10:31:42 +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
Michael Telatynski f75fb3b349 Add footer and privacy note to the start dm dialog 2021-05-27 15:51:25 +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 bd653ac5a8 fix edge cases around space panel auto collapsing/closing menu 2021-05-27 09:11:43 +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 264ab925cd delint 2021-05-26 14:21:28 +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
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