Commit graph

16021 commits

Author SHA1 Message Date
Michael Telatynski
2eb64de508 Tweak edge case behaviour 2021-09-09 10:54:31 +01:00
Michael Telatynski
fa60b24a9f fix react error in console 2021-09-09 10:50:12 +01:00
Michael Telatynski
e17a5328d2
Merge pull request #6764 from matrix-org/t3chguy/fix/18677 2021-09-08 23:00:01 +01:00
Michael Telatynski
d00c4d042b
Merge pull request #6760 from matrix-org/t3chguy/fix/18528
Improve tooltips on space quick actions and explore button
2021-09-08 22:59:52 +01:00
Michael Telatynski
086d36beb1
Merge pull request #6765 from matrix-org/t3chguy/fix/17018
Make space members and user info behave more expectedly
2021-09-08 22:59:44 +01:00
Travis Ralston
21e33362e5 Add config option to turn on in-room event sending timing metrics
This is intended to be hooked up to an external system. 

Due to the extra events and metadata concerns, this is only available if turned on from the config.

See `sendTimePerformanceMetrics.ts` for event schemas.
2021-09-08 11:28:19 -06:00
Michael Telatynski
22c5902ae4 Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/fix/18677 2021-09-08 17:21:42 +01:00
Michael Telatynski
2c134b2dfd
Merge pull request #6763 from matrix-org/t3chguy/ts1234
Improve types based on new TS in js-sdk
2021-09-08 17:09:17 +01:00
Michael Telatynski
600375cafe Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/fix/18798
 Conflicts:
	src/i18n/strings/en_EN.json
2021-09-08 15:38:13 +01:00
Michael Telatynski
911ca07da4 Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/fix/18088 2021-09-08 15:28:58 +01:00
Michael Telatynski
d4bac4752d Make space members and user info behave more expectedly 2021-09-08 13:34:26 +01:00
Michael Telatynski
83912daced Improve the upgrade for restricted user experience 2021-09-08 13:16:31 +01:00
Michael Telatynski
1da65d459c Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/fix/18597 2021-09-08 12:57:37 +01:00
Michael Telatynski
467fb55e8e improve typing & comment 2021-09-08 12:53:13 +01:00
Michael Telatynski
f3abb13dc9 Convert crypto/verification/* to Typescript 2021-09-08 12:34:44 +01:00
Michael Telatynski
8bd1f384b9 Improve tooltips on space quick actions and explore button 2021-09-08 10:16:20 +01:00
Michael Telatynski
92ad81ed76
Merge pull request #6744 from matrix-org/t3chguy/fix/18892 2021-09-08 10:04:07 +01:00
Travis Ralston
3217ab26ff
Merge pull request #5759 from panoschal/fix/call-search-areas
Compact call area, better ui when in call & searching messages
2021-09-07 12:31:56 -06:00
Germain Souquet
bbf66a0011 Make label clickable on narrow mode context menu 2021-09-07 17:10:09 +01:00
Germain Souquet
646ef197fe Fix PR UI defects 2021-09-07 16:02:26 +01:00
David Baker
495b6dcd97
Merge pull request #6705 from SimonBrandner/fix/call-tile-dispatch/18825
Use disptacher to answer/reject calls in call tiles
2021-09-07 15:45:40 +01:00
Germain Souquet
2d45bfb976 Merge branch 'develop' into revert-6752-revert-6682-gsouquet/compact-composer-18533 2021-09-07 15:39:32 +01:00
Germain
94cef3bf13
Merge pull request #6755 from matrix-org/gsouquet/fix-thread-creation 2021-09-07 15:26:28 +01:00
Michael Telatynski
9d1e6dc18a
Merge pull request #6756 from matrix-org/t3chguy/ts/123
fix typing of olmVersion in settings
2021-09-07 14:27:54 +01:00
Germain
42f5efaa28
Merge pull request #6750 from matrix-org/gsouquet/migrate-messageactionbar 2021-09-07 14:11:20 +01:00
Michael Telatynski
93af6aafce fix typing of olmVersion in settings 2021-09-07 13:28:51 +01:00
Michael Telatynski
6cbdb58341 add comment 2021-09-07 12:01:18 +01:00
Michael Telatynski
51f1d21464
Merge pull request #6748 from matrix-org/t3chguy/fix/18764
Fix Space creation wizard go to my first room button behaviour
2021-09-07 11:08:53 +01:00
Michael Telatynski
8cab86e58b fix typing of firstRoomId 2021-09-07 11:02:38 +01:00
Germain Souquet
6c60e4c306 Fix thread creation 2021-09-07 09:57:49 +01:00
David Baker
404ddad961
Merge pull request #6751 from matrix-org/dbkr/fix_stuck_scroll
Fix scroll being stuck at bottom
2021-09-07 09:48:17 +01:00
Germain Souquet
9cbf8717e2 Add comments for missing types in MessageActionBar 2021-09-07 09:12:38 +01:00
Travis Ralston
78617c01a8
Merge pull request #6742 from matrix-org/travis/fix-oidc-dialog
Convert widget OIDC exchange dialog to TS (fixing it)
2021-09-06 22:43:27 -06:00
Travis Ralston
615a432eda Add missing type 2021-09-06 22:37:21 -06:00
Travis Ralston
329292eb9b
Revert "Revert "Create narrow mode for Composer"" 2021-09-06 22:11:35 -06:00
Travis Ralston
945181fe39
Revert "Create narrow mode for Composer" 2021-09-06 22:08:50 -06:00
Germain
59de3c96a2
Merge pull request #6682 from matrix-org/gsouquet/compact-composer-18533 2021-09-07 05:07:00 +01:00
David Baker
6468ce68a2 Fix scroll being stuck at bottom
The check for whether we're at the bottom or not allowed for a
difference of 1 to account for fractional scroll values, but
allowed the difference of exactly 1 too, meaning we'd consider
the timeline to be at the bottom if you were scrolled up by exactly
a single pixel. If your scrolling was set up to be precise enough and
the event handlers fired fast enough that they'd evaluate each time
you scrolled up by a single pixel, it would reset you back to the bottom
each time and you'd never be able to scroll up.

Fixes https://github.com/vector-im/element-web/issues/18903
2021-09-06 18:59:47 +01:00
Michael Telatynski
a4c0fa8046
Merge pull request #6745 from matrix-org/t3chguy/fix/18796
Prefer matrix.to alias links over room id in spaces & share
2021-09-06 16:53:11 +01:00
Germain Souquet
01d61786f1 Update return type for getThread prop 2021-09-06 16:18:35 +01:00
Germain Souquet
4b96a81bbe Migrate MessageActionBar to TypeScript 2021-09-06 16:15:50 +01:00
Germain Souquet
385222719c Fix replies not appearing in timeline 2021-09-06 15:53:18 +01:00
Michael Telatynski
43868c4539 Fix Space creation wizard go to my first room button behaviour 2021-09-06 15:17:09 +01:00
Michael Telatynski
68836b9c68 hide no-op m.room.encryption events and better word param changes 2021-09-06 14:59:30 +01:00
Michael Telatynski
a688e5b8b3 Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/fix/18088
 Conflicts:
	src/components/structures/LoggedInView.tsx
	src/stores/SpaceStore.tsx
2021-09-06 11:41:09 +01:00
Michael Telatynski
e252c5553e Prefer matrix.to alias links over room id in spaces & share 2021-09-06 11:27:15 +01:00
Dariusz Niemczyk
1e50246a78
Merge pull request #6636 from matrix-org/palid/fix/forgot-password-ux
Make ForgotPassword UX slightly more user friendly
2021-09-06 10:55:25 +02:00
Michael Telatynski
898de13ca7 Consolidate roving tab index controls in the space panel buttons with dnd 2021-09-06 08:54:08 +01:00
Germain Souquet
f549c1d52b Code style updates 2021-09-06 08:14:49 +01:00
Šimon Brandner
ae631f9fce
Convert IncomingSasDialog to TS
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-05 17:15:33 +02:00
Šimon Brandner
5967811cda
Convert InteractiveAuthDialog to TS
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-05 16:57:36 +02:00
Šimon Brandner
0285bb555f
Convert SessionRestoreErrorDialog to TS
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-05 16:40:46 +02:00
Šimon Brandner
4ca2ab11fb
Convert ManualDeviceKeyVerificationDialog to TS
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-05 16:36:36 +02:00
Šimon Brandner
e80939d3e2
Convert KeySignatureUploadFailedDialog to TS
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-05 16:28:03 +02:00
Šimon Brandner
aba966034e
Convert LazyLoadingDisabledDialog to TS
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-05 16:28:03 +02:00
Šimon Brandner
9e74477771
Convert IntegrationsImpossibleDialog to TS
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-05 16:27:56 +02:00
Šimon Brandner
f8e3aa3316
Convert IntegrationsDisabledDialog to TS
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-05 16:09:33 +02:00
Šimon Brandner
b2331d1e21
Convert MessageEditHistoryDialog to TS
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-05 16:03:08 +02:00
Šimon Brandner
b396383e06
Convert LazyLoadingResyncDialog to TS
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-05 13:09:29 +02:00
Šimon Brandner
d6aa4c9d14
Convert QuestionDialog to TS
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-05 13:03:35 +02:00
Šimon Brandner
5bf64c2075
Convert SetEmailDialog to TS
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-05 12:42:42 +02:00
Šimon Brandner
02f672570a
Convert WidgetOpenIDPermissionsDialog to TS
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-05 12:27:03 +02:00
Šimon Brandner
444a0da297
Convert SlashCommandHelpDialog to TS
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-05 12:01:42 +02:00
Šimon Brandner
1f670e225c
Convert StorageEvictedDialog to TS
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-05 10:57:29 +02:00
Šimon Brandner
161937ac92
Convert TabbedIntegrationManagerDialog to TS
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-05 10:37:54 +02:00
Šimon Brandner
37099fd188
Convert TextInputDialog to TS
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-05 08:47:04 +02:00
Šimon Brandner
0b9255f5ee
Convert UploadFailureDialog to TS
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-05 08:34:52 +02:00
Šimon Brandner
3c9ded5a9a
Convert RestoreKeyBackupDialog to TS
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-05 08:30:23 +02:00
Šimon Brandner
8791b10ca9
Convert FeedbackDialog to TS
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-05 08:19:25 +02:00
Šimon Brandner
6aefd9318f
Convert BaseDialog to TS
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-05 08:19:19 +02:00
Travis Ralston
b9001c3e11 Convert widget OIDC exchange dialog to TS (fixing it)
Fixes https://github.com/vector-im/element-web/issues/15631

The `super` call was the primary issue, but a log line in the `onPermissionSelection` was also using the wrong property. Both issues have been fixed as part of the TS conversion in order to make the thing compile, conveniently fixing the bugs.
2021-09-03 22:31:29 -06:00
David Baker
de01dcfd26
Merge pull request #6700 from SimonBrandner/feature/call-timer/18566
Show call length during a call
2021-09-03 17:17:36 +01:00
Michael Telatynski
f7e491f713
Merge pull request #6729 from matrix-org/t3chguy/fix/18762
Fix explore rooms button not working during space creation wizard
2021-09-03 16:18:25 +01:00
Michael Telatynski
2faa2e12c6
Merge pull request #6739 from matrix-org/t3chguy/fix/18775 2021-09-03 16:12:54 +01:00
Michael Telatynski
6a40dfea40 Fix keyboard dnd messing with roving tabindex 2021-09-03 15:10:51 +01:00
Michael Telatynski
40f9302ec9 Space panel fix aria-expanded being set to false on nodes without children 2021-09-03 14:24:02 +01:00
Michael Telatynski
cc40df298b Improve form handling in and around space creation 2021-09-03 13:34:09 +01:00
Germain Souquet
3c36b3c2c0 Fix ProfileSettings when avatarUrl is null 2021-09-03 12:50:42 +01:00
Germain Souquet
997f43cb82 Implement new narrow mode UI 2021-09-03 12:03:19 +01:00
Germain Souquet
475ef66c58 Fix state initialisation for DevicesPanel 2021-09-03 10:25:45 +01:00
Germain Souquet
6d80976eae Merge branch 'develop' into gsouquet/compact-composer-18533 2021-09-03 09:20:38 +01:00
Germain
e16921e1f1
Merge pull request #6619 from matrix-org/gsouquet/ts-components-migration 2021-09-03 08:47:12 +01:00
Dariusz Niemczyk
40cb8e8fc6
Fix unnecessary blurhash rendering 2021-09-02 21:10:21 +02:00
Dariusz Niemczyk
99a0bd935b
Merge pull request #6726 from SimonBrandner/feature/autoplay-split
Split autoplay GIFs and videos into different settings
2021-09-02 18:40:42 +02:00
Šimon Brandner
367049bd08
Improve typing
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-02 17:52:00 +02:00
Travis Ralston
c749492b9c
Merge pull request #6710 from matrix-org/travis/voice-messages/audio-queue
Add autoplay for voice messages
2021-09-02 08:06:17 -06:00
Šimon Brandner
2f1ee610d9
Use source id directly
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-02 14:27:55 +02:00
Michael Telatynski
aed835554c Fix explore rooms button not working during space creation wizard 2021-09-02 12:30:49 +01:00
Michael Telatynski
daba23d1bf Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/fix/18760
 Conflicts:
	src/components/structures/SpaceRoomView.tsx
2021-09-02 12:10:20 +01:00
Germain Souquet
bb87834dc8 Appease linter 2021-09-02 10:06:09 +01:00
Germain
9be9e75c13
Merge pull request #6720 from matrix-org/gsouquet/replies-fix-18717 2021-09-02 08:42:54 +01:00
Germain Souquet
2ce8647120 Prevent unstable property to be sent with all events 2021-09-02 08:36:20 +01:00
Germain Souquet
e416952c90 Merge branch 'develop' into gsouquet/compact-composer-18533 2021-09-02 08:31:29 +01:00
Travis Ralston
5692b74b28
Merge pull request #6703 from nordeck/nic/feat/invite-reason-formatting
Allow to use basic html to format invite messages
2021-09-01 14:46:54 -06:00
Steffen Kolmer
c32a77c3b2 Use helper function to get event content 2021-09-01 22:40:42 +02:00
Travis Ralston
f0cf00433b
Merge pull request #6702 from nordeck/nic/fix/even-tile-preview
Replace fake username in EventTilePreview with a proper loading state
2021-09-01 14:28:12 -06:00
Travis Ralston
b86a0dcc15 Merge branch 'develop' into travis/cross-room 2021-09-01 11:29:20 -06:00
Šimon Brandner
5ed4f3f54f
Move DesktopCapturerSource out of global.d.ts
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-01 18:45:18 +02:00
Šimon Brandner
7ae9f3d1ae
Remove Element-specifc screen-sharing code out of the js-sdk
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-01 18:45:13 +02:00
Šimon Brandner
4777da4da7
Don't declare DesktopCapturerSource since we have a definition in the js-sdk
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-01 18:38:14 +02:00
Šimon Brandner
d0b95b7d3d
Don't use a callback in setScreensharingEnabled()
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-01 18:38:09 +02:00
Šimon Brandner
9b2c380b64
Split autoplay gifs and videos in to different settings
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-01 17:28:15 +02:00
Michael Telatynski
f2b7981009 When creating subspaces properly set restricted join rule 2021-09-01 16:12:39 +01:00
Michael Telatynski
f19030bcfa
Merge pull request #6723 from SimonBrandner/fix/fallback-user-image-view 2021-09-01 16:01:24 +01:00
Michael Telatynski
979bc71609 Deduplicate join rule management between rooms and spaces 2021-09-01 15:52:56 +01:00
Šimon Brandner
387239864d
Add fallbackUserId
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-09-01 16:50:13 +02:00
Michael Telatynski
030fa17a66 When creating private spaces, make the initial rooms restricted if supported 2021-09-01 12:47:43 +01:00
Germain Souquet
95d1b06abb Make composer able to reply in thread or in room timeline 2021-09-01 12:12:40 +01:00
Germain Souquet
dca268e67a Replace eventIsReply util with replyEventId getter 2021-09-01 10:55:47 +01:00
Germain Souquet
ae16695713 Fix Apache copyright headers 2021-09-01 10:19:25 +01:00
Michael Telatynski
0fa0b60e93
Merge pull request #6717 from matrix-org/t3chguy/fix/18686
Fix EmojiPicker filtering to lower case emojibase data strings
2021-09-01 09:02:16 +01:00
Michael Telatynski
642d8a0ec0
Merge pull request #6716 from matrix-org/t3chguy/fix/18668
Clear currentRoomId when viewing home page, fixing document title
2021-09-01 09:01:52 +01:00
Germain
7621a9a0f3
Merge pull request #6658 from matrix-org/gsouquet/threaded-messaging-2349 2021-09-01 08:47:10 +01:00
Germain Souquet
8b567944ec Merge branch 'develop' into gsouquet/ts-components-migration 2021-09-01 08:40:48 +01:00
Michael Telatynski
e089c34db7 Fix EmojiPicker filtering to lower case emojibase data strings 2021-08-31 17:36:10 +01:00
Michael Telatynski
4ce79148cf Clear currentRoomId when viewing home page, fixing document title 2021-08-31 17:14:50 +01:00
Michael Telatynski
d3ba33172b Only make the initial space rooms suggested by default 2021-08-31 16:42:21 +01:00
Michael Telatynski
4e1e304616
Merge pull request #6698 from SimonBrandner/fix/space-invite-dialog/18745 2021-08-31 16:35:36 +01:00
Travis Ralston
730af94014 Autoplay semantics for voice messages
Fixes https://github.com/vector-im/element-web/issues/18804
Fixes https://github.com/vector-im/element-web/issues/18715
Fixes https://github.com/vector-im/element-web/issues/18714
Fixes https://github.com/vector-im/element-web/issues/17961
2021-08-30 14:29:37 -06:00
Šimon Brandner
9684d7263b
Filter members on load
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-30 10:09:57 +02:00
Šimon Brandner
072fdf1cb8
Use disptacher so that https://github.com/matrix-org/matrix-react-sdk/pull/6691 has effect
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-28 15:06:48 +02:00
Steffen Kolmer
6a550f2f9c Added trailing comma to make eslint happy 2021-08-28 14:04:00 +02:00
Steffen Kolmer
3ef9584f68 Simplify things 2021-08-28 14:00:18 +02:00
Steffen Kolmer
9fdc5659b7 Fixed eslint error and copyright header 2021-08-28 13:56:08 +02:00
Steffen Kolmer
e661c017e3 Moved custom field name to a const 2021-08-28 13:48:33 +02:00
Steffen Kolmer
d76adde1ab Use scss instead of inline styles 2021-08-28 13:41:24 +02:00
Steffen Kolmer
70b4308bab Fix eslint error 2021-08-27 21:59:22 +02:00
Steffen Kolmer
6da11f375d Allow to use basic html formatting in invite reasons 2021-08-27 21:44:34 +02:00
Steffen Kolmer
f65eff103e Switch from inline-spinner to spinner 2021-08-27 20:48:29 +02:00
Steffen Kolmer
a4899ad225 Fixed padding 2021-08-27 20:11:34 +02:00
Steffen Kolmer
9b495eeec3 Optimized style 2021-08-27 20:10:01 +02:00
Steffen Kolmer
21cf3592cf Update props and state interfaces 2021-08-27 19:32:38 +02:00
Steffen Kolmer
6e30673164 Show spinner if user id is missing in event tile preview 2021-08-27 19:23:26 +02:00
Šimon Brandner
c6400c8db3
Show call length during a call
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-27 16:34:44 +02:00
Šimon Brandner
49defd7b5a
Simplifie code and use formatSeconds()
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-27 16:21:29 +02:00
Šimon Brandner
c86dbe195e
Remove unused import
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-27 14:07:36 +02:00
Šimon Brandner
54cd385e6d
Improve AUX panel behaviour
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-27 13:31:43 +02:00
Germain Souquet
a1f6708a56 Hide voice recording button in narrow mode 2021-08-27 11:12:25 +01:00
Germain Souquet
bf3c8e5664 Fix imports 2021-08-27 10:38:01 +01:00
Šimon Brandner
816f0f5e90
Avoid stacked dialogs
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-27 09:56:53 +02:00
Šimon Brandner
464d2b47b0
Default to Don't leave any
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-27 09:18:19 +02:00
Travis Ralston
73dd30f919 Merge branch 'develop' into travis/cross-room 2021-08-26 10:48:10 -06:00
Travis Ralston
22a78cf481
Merge pull request #6685 from matrix-org/travis/fix-widget-remember
Fix client forgetting which capabilities a widget was approved for
2021-08-26 10:47:10 -06:00
Travis Ralston
a1a7de0f37
Merge pull request #6687 from matrix-org/travis/left-panel-widget-expand
Fix left panel widgets not remembering collapsed state
2021-08-26 10:46:51 -06:00
Šimon Brandner
4f1ff134dc
Render guest settings only in public spaces
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-26 17:39:54 +02:00
Šimon Brandner
c353b6daad
Render guest settings only in public rooms
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-26 17:39:48 +02:00
J. Ryan Stinnett
d013ae79b7 Fix changelog link colour back to blue
https://github.com/matrix-org/matrix-react-sdk/pull/5698 changed all dialog
links to green, which is not expected. In general, we use blue links for
information and green links for actions.

This resolves the regression by removing the general change and adjusting the
new links added by the above PR to be green as desired there.

Fixes https://github.com/vector-im/element-web/issues/18726
2021-08-26 13:59:12 +01:00
Germain Souquet
f0a4225bf7 Remove unused renderEventTile method 2021-08-26 08:45:00 +01:00
Germain Souquet
bd1aa01b67 Update copyright and method accessors 2021-08-26 08:19:44 +01:00
Germain Souquet
4e0f52118d Update VoiceRecordComposerTile to only end recording 2021-08-26 08:07:51 +01:00
Germain Souquet
cb8e62c0b2 human linter and copyright fixer 2021-08-26 08:02:36 +01:00
Travis Ralston
4415a7037c Fix left panel widgets not remembering collapsed state
Fixes https://github.com/vector-im/element-web/issues/17803

The `setExpanded` function takes a boolean, not a function.
2021-08-25 23:10:19 -06:00
Travis Ralston
76cc5bfb7d Remember all capabilities given to a widget
Fixes https://github.com/vector-im/element-web/issues/18786

Instead of replacing the remembered set, we now add to it. This should be safe as the user expectation was previously to remember the capabilities, so we can keep appending to that list.

This commit also moves the utility functions closer to the widget driver as they aren't needed in the dialog anymore.
2021-08-25 22:30:57 -06:00
Travis Ralston
289ac34764 Add support for MSC2762's timeline functionality
See https://github.com/matrix-org/matrix-widget-api/pull/41
2021-08-25 18:16:40 -06:00
Germain
7951c8dabc
Merge pull request #6677 from matrix-org/gsouquet/migrate-sticker-picker 2021-08-25 19:19:52 +01:00
Germain Souquet
2d14be9cef Merge branch 'develop' into gsouquet/compact-composer-18533 2021-08-25 18:07:36 +01:00
Germain Souquet
9018973f15 Position sticker picker correctly 2021-08-25 17:59:06 +01:00
Travis Ralston
dc32df1ba5
Merge pull request #6639 from SimonBrandner/feature/voice-activity
Add active speaker indicators
2021-08-25 09:16:37 -06:00
Germain Souquet
31b3b2e2ed Fix Sticker and Emoji picker opening on narrow mode 2021-08-25 15:39:50 +01:00
Germain Souquet
333cb61186 Remove sdk.getComponent 2021-08-25 14:39:28 +01:00
Germain Souquet
6105e046fb Remove sdk.getComponent 2021-08-25 14:38:47 +01:00
Germain Souquet
98feec374e Migrate StickerPicker to TypeScript 2021-08-25 14:33:17 +01:00
Germain Souquet
f712186e64 Migrate StickerPicker to TypeScript 2021-08-25 14:26:21 +01:00
Germain Souquet
3c33e3cc61 Make all buttons part of a button array
Preparation work for narrow layout of the message composer.
The voice record button needed to be extracted from VoiceRecordComposerTile
2021-08-25 11:35:23 +01:00
Germain Souquet
e1e0278190 Update js-sdk imports to target individual files 2021-08-25 10:04:54 +01:00
Germain Souquet
7938961d27 Update js-sdk imports to target individual files 2021-08-25 09:48:29 +01:00
Germain Souquet
450140befd Fix linting issues 2021-08-25 09:34:16 +01:00
Germain Souquet
6945e3f103 Fix ProfileSettings types 2021-08-25 09:05:07 +01:00
Germain Souquet
d205585385 Merge branch 'develop' into gsouquet/ts-components-migration 2021-08-25 09:03:45 +01:00
Germain
da127ecb76
Relative imports from the js-sdk
Co-authored-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-25 08:56:21 +01:00
Germain Souquet
77a463e679 Merge branch 'develop' into gsouquet/threaded-messaging-2349 2021-08-25 08:53:16 +01:00
Travis Ralston
e49dc8c8e2 Remove imports too 2021-08-24 13:23:48 -06:00
Travis Ralston
4790b4fc17 Remove advanced room logging setting
Fixes https://github.com/vector-im/element-web/issues/14602

This has proven to be less useful month over month, so it's time for it to go. The initial goal for keeping it was to track stability in the ~6 months post-release, which means it should have left around the start of 2021. At the time, Spaces was on the horizon with room list corruption issues though, so it was put on hold. These days, it's rock solid and doesn't appear to be causing issues. As such, the logging can leave in favour of more specific/targeted logging when we need it.

This might even speed things up as it's not hitting the SettingsStore every 0.2 seconds.
2021-08-24 13:17:12 -06:00
Dariusz Niemczyk
a93d5cde09
Simplify rendering to css-only 2021-08-24 14:38:39 +02:00
Dariusz Niemczyk
a5c005756e
Fix resizer on left panel 2021-08-24 13:05:46 +02:00
Dariusz Niemczyk
290ab894aa
Migrate ResizeHandle to typescript 2021-08-24 11:15:41 +02:00
Germain Souquet
54a0a869bf PR feedback 2021-08-24 09:09:28 +01:00
Travis Ralston
52e1884bbd
Merge pull request #6661 from matrix-org/travis/blurhash-opt
Ensure blurhash is treated as optional
2021-08-23 22:56:32 -06:00
Travis Ralston
a0dc5d2987 Honour user-selected background image from settings
Fixes https://github.com/vector-im/element-web/issues/18705

This is provided as an easter egg, but more importantly as an a11y workaround.
2021-08-23 20:39:46 -06:00
Travis Ralston
30c9860274 Ensure blurhash is treated as optional
Fixes https://github.com/vector-im/element-web/issues/18702
2021-08-23 16:48:39 -06:00
Travis Ralston
32343f3382
Merge pull request #5698 from SimonBrandner/public-e2ee-warn
Add a warning on E2EE rooms if you try to make them public
2021-08-23 16:45:47 -06:00
Travis Ralston
15c731d574
Merge pull request #6507 from matrix-org/t3chguy/fix/18089
Allow pagination of the space hierarchy and use new APIs
2021-08-23 15:51:34 -06:00
Dariusz Niemczyk
6205cbbdec
Merge pull request #6659 from matrix-org/palid/fix/backdrop-blur
Optimize background image from avatar on left panel
2021-08-23 20:05:49 +02:00
Dariusz Niemczyk
e54191f6b0
Move background-blur to fully css version 2021-08-23 19:26:57 +02:00
Germain Souquet
edd4d42e7f Merge branch 'develop' into gsouquet/threaded-messaging-2349 2021-08-23 17:31:37 +01:00
Germain Souquet
34da07f1f9 Pass room to ThreadView over roomId 2021-08-23 17:31:23 +01:00
Dariusz Niemczyk
7dfe57833a
Fix GroupFilterPanel not having proper backdrop 2021-08-23 16:57:24 +02:00
Dariusz Niemczyk
92aa953934
Make eslint happy 2021-08-23 16:28:24 +02:00
Dariusz Niemczyk
ca92101c72
Optimize and rewrite backdrop rendering 2021-08-23 16:20:21 +02:00
Dariusz Niemczyk
51b5b0145b
Fix resizer on LoggedInView 2021-08-23 16:18:40 +02:00
Germain Souquet
ef51a46d24 Fix linting 2021-08-23 14:55:14 +01:00
Germain Souquet
9facb0d963 Polish UI 2021-08-23 14:44:44 +01:00
Šimon Brandner
60e7c18e62
Add choose to new issue link
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-23 13:17:40 +02:00
Dariusz Niemczyk
b1a2f16e43
optimize 2021-08-23 13:03:09 +02:00
David Baker
e946e39194
Merge pull request #6629 from SimonBrandner/feature/voice-messages-replies
Allow playback of replied-to voice message
2021-08-23 11:29:41 +01:00
Germain Souquet
393bd4871f Merge branch 'develop' into gsouquet/threaded-messaging-2349 2021-08-23 10:15:35 +01:00
David Baker
5344b86de4
Merge pull request #6633 from matrix-org/dbkr/fix_cross_signing_setup_settings
Fix cross signing setup from settings screen
2021-08-23 09:41:24 +01:00
Germain
30a08ea1c3
Merge pull request #6646 from SimonBrandner/fix/hide-encryption/18646 2021-08-23 09:19:54 +01:00
Dariusz Niemczyk
0daa6ab845
Merge pull request #6648 from matrix-org/palid/fix/modern-layout
Fix modern layout
2021-08-23 10:18:49 +02:00
Travis Ralston
397a0f7849
Merge pull request #6651 from SimonBrandner/feature/watch-rl-background
Watch `RoomList.backgroundImage`
2021-08-22 23:49:32 -06:00
Dariusz Niemczyk
99a935534c
test 2021-08-22 13:08:33 +02:00
Dariusz Niemczyk
0ddb71a4fe
Optimize backdrop blur 2021-08-22 13:05:23 +02:00
Šimon Brandner
61188561d2
Merge remote-tracking branch 'upstream/develop' into feature/voice-activity 2021-08-22 10:01:17 +02:00
Dariusz Niemczyk
86b6c6a836
Fix room views not having proper container 2021-08-20 16:32:56 +02:00
Šimon Brandner
74d79ff205
Watch RoomList.backgroundImage
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-20 15:55:52 +02:00
Germain Souquet
30a762944a Implement a very low fidelity UI for threads 2021-08-20 12:11:04 +01:00
Dariusz Niemczyk
7d1e71fea4
Merge pull request #6641 from matrix-org/palid/fix/chat-flex-values
Fix flex values after blur changes
2021-08-20 13:10:40 +02:00
Dariusz Niemczyk
fd3787ce82
Fix modern layout 2021-08-20 13:03:08 +02:00
Jaiwanth
6a26154271 Merge branch 'develop' of https://github.com/matrix-org/matrix-react-sdk into export-conversations 2021-08-20 15:02:13 +05:30
David Baker
ea38990d94
Merge pull request #6647 from SimonBrandner/fix/call-tile-bubbles/18648
Fix call tiles on the bubble layout
2021-08-20 09:24:42 +01:00
Šimon Brandner
952fdd04c1
Fix call tiles on the bubble layout
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-20 10:04:40 +02:00
Šimon Brandner
c0d98ba658
Show "Enable encryption in settings" only when the user can do that
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-20 08:37:30 +02:00
Travis Ralston
3bcb57d070
Merge pull request #6640 from SimonBrandner/feature/persist-search-member-list/18613
Remember last `MemberList` search query per-room
2021-08-19 14:11:37 -06:00
Dariusz Niemczyk
3f1c35d71c
Fix backdrop panel empty image 2021-08-19 19:26:19 +02:00
Dariusz Niemczyk
f5a284a1f0
Fix flex values after blur changes 2021-08-19 16:10:09 +02:00
Germain Souquet
d5356361a9 Hide thread UI behind experimentalThreadSupport flag 2021-08-19 14:56:51 +01:00
Šimon Brandner
c17f3d896f
Persist last MemberList search query per-room
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-19 15:48:14 +02:00
Šimon Brandner
a08310e454
Emit Speaking events from CallFeed
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-19 14:48:15 +02:00
Germain Souquet
ac0412d238 rename feature flag for Threads 2021-08-19 12:25:29 +01:00
Germain Souquet
ffc7326b0c Merge branch 'develop' into gsouquet/threaded-messaging-2349 2021-08-19 10:44:32 +01:00
Šimon Brandner
abab31c33b
Add a speaking indicator
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-19 11:42:43 +02:00
Dariusz Niemczyk
939874167a
Merge pull request #6262 from matrix-org/gsouquet/fix-backdrop-filter
Move backdrop filter to a canvas based solution
2021-08-19 10:59:49 +02:00
Dariusz Niemczyk
603f992100
Merge pull request #6632 from matrix-org/palid/feature/fix-stuck-jitsi-pip
Fix jitsi widget sometimes being permanently stuck in the bottom-right corner
2021-08-19 10:49:57 +02:00
Dariusz Niemczyk
f50d9b729f
Update src/components/structures/auth/ForgotPassword.tsx
Co-authored-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-19 10:08:42 +02:00
Dariusz Niemczyk
01ecdd2e6b
Update src/components/structures/auth/ForgotPassword.tsx
Co-authored-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-19 10:08:37 +02:00
Dariusz Niemczyk
b9604d1fb5
Make ForgotPassword UX slightly more user friendly 2021-08-19 09:12:52 +02:00
Dariusz Niemczyk
fa03b10409
Fix missing type for state 2021-08-19 08:23:33 +02:00
Dariusz Niemczyk
7adfbf6f98
Show blurhash only after 150ms
Blurhash on every single room entrance was extremely annoying, to the
point where it wasn't really helpful, but distracting, even after
the animations was added.
This commit makes it so the blurhash is only shown after 150ms, and the
image will be animated as a quick fade-in if there's no blurhash.

Fixes https://github.com/vector-im/element-web/issues/18617
Fixes https://github.com/vector-im/element-web/issues/17879
2021-08-19 07:52:23 +02:00
Dariusz Niemczyk
fe1d0e66fe
Remove useless constructor 2021-08-19 07:14:28 +02:00
Dariusz Niemczyk
468bb5cdcf
Fix mr comments 2021-08-19 07:14:13 +02:00
Dariusz Niemczyk
d65f6dd002
Fix bad merge 2021-08-19 07:11:40 +02:00
Dariusz Niemczyk
455a914cf3
Merge remote-tracking branch 'origin/develop' into gsouquet/fix-backdrop-filter
* origin/develop: (43 commits)
  Update copy to indicate debug logs contain which UI elements you last interacted with
  Fix name of Netlify workflow
  Add type declarations
  Fix pagination and improve typing
  Fix import
  Reset matrix-js-sdk back to develop branch
  v3.28.1
  Prepare changelog for v3.28.1
  Upgrade matrix-js-sdk to 12.3.1
  Explicitly handle first state change
  Properly listen for call_state
  Proper init in constructors
  Resetting package fields for development
  v3.28.0
  Prepare changelog for v3.28.0
  Fix error on accessing encrypted media without keys
  Fix call tile buttons
  Upgrade matrix-js-sdk to 12.3.0
  Remove test code; good job we have tests
  Fix dates
  ...
2021-08-19 07:11:02 +02:00
Dariusz Niemczyk
595ba7f59d
Remove useless setState 2021-08-19 06:43:12 +02:00
Dariusz Niemczyk
c8e4e76100
Properly remove persistentWidget from WidgetStore
Fixes #17226
2021-08-19 06:42:38 +02:00
Dariusz Niemczyk
5553e40f0c
Fix AppTile.js indent 2021-08-19 06:42:10 +02:00
David Baker
08b37eb7c5 Fix cross sisgning setup from settings screen
We previously called bootstrap without the cache callbacks set up
which meant it prompted you for you password once for each of the
three keys it fished out of SSSS. Instead, display the same dialog
we display from the verify toast.

Also, in the case where you hadn't verified yet, the button didn't
do anything at all, so make it trigger a verification & change the
caption appropriately.

Add a state to reflect when cross signing is set up but SSSS isn't
(ie. user hasn't yet set up backup / set a passphrase).
2021-08-18 19:22:42 +01:00
David Baker
90a6f251c7
Merge pull request #6627 from SimonBrandner/fix/voip
Properly fix VoIP issues
2021-08-18 18:14:16 +01:00
James Salter
dbe463dc33
Merge pull request #6597 from matrix-org/sentry-rageshakes
Sentry rageshakes
2021-08-18 17:30:09 +01:00
James Salter
23f70836b6 Update copy to indicate debug logs contain which UI elements you last interacted with 2021-08-18 17:05:15 +01:00
Dariusz Niemczyk
1066bef1b0
Merge pull request #6625 from matrix-org/palid/fix/media-isEncrypted-undefined
Fix error on accessing encrypted media without keys
2021-08-18 15:17:55 +02:00
David Baker
7616f3ae56
Merge pull request #6621 from SimonBrandner/fix/call-tile-spacing/18558
Fix vertical call tile spacing issues
2021-08-18 12:02:53 +01:00
David Baker
24e3a91f6f
Merge pull request #6618 from SimonBrandner/fix/long-names-call-tiles
Fix long display names in call tiles
2021-08-18 11:56:09 +01:00
David Baker
946ae73e1d
Merge pull request #6615 from SimonBrandner/fix/media-error
Properly handle media errors
2021-08-18 11:54:08 +01:00
Šimon Brandner
cedf2db9ec
Remove unnecessary this.props
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-18 09:29:44 +02:00
Šimon Brandner
ccf3af21f9
Allow playback of replied-to voice message
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-18 09:28:44 +02:00
Šimon Brandner
c3da7496ae
Add isVoiceMessage()
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-18 09:28:27 +02:00
Jaiwanth
7bad0b99d1 Fix links, header and export text 2021-08-18 08:37:10 +05:30
Dariusz Niemczyk
6310949bc8
Fix background blur not being shown on first load 2021-08-17 19:45:52 +02:00
Dariusz Niemczyk
b1c724ad66
Fix invalid width for blurred sidebar 2021-08-17 19:34:18 +02:00
Germain Souquet
617e7deff5 replace sdk.getComponent with import statements 2021-08-17 18:05:10 +01:00
Dariusz Niemczyk
eb242041a5
Fix missing background tonality without avatar 2021-08-17 18:56:19 +02:00
Germain Souquet
95f4513bd2 Make UI respond to thread events 2021-08-17 17:42:47 +01:00
Dariusz Niemczyk
78d48b1d8b
Fix weird code style 2021-08-17 18:03:22 +02:00
Dariusz Niemczyk
de2eb5b6dd
Satisfy linter 2021-08-17 17:59:26 +02:00
Dariusz Niemczyk
2ee26d0681
Make the blur as-close to the css one as possible 2021-08-17 17:47:40 +02:00
Jaiwanth
33bc26f039 Change summary tiles order 2021-08-17 20:04:28 +05:30
Dariusz Niemczyk
a999cad49d
Properly cache blur effect 2021-08-17 16:07:17 +02:00
Dariusz Niemczyk
bdb5f3bb9f
Refactor GroupFilterPanel to typescript 2021-08-17 15:30:24 +02:00
James Salter
834f72a9a8 Merge remote-tracking branch 'origin' into sentry-rageshakes 2021-08-17 11:47:00 +01:00
Germain Souquet
458f860a26 Merge branch 'develop' into gsouquet/threaded-messaging-2349 2021-08-17 11:14:21 +01:00
Germain Souquet
d1dbfbd014 hide thread events from the timeline 2021-08-17 11:10:02 +01:00
Germain Souquet
e5024c4b71 Adapt threading UI to new backend 2021-08-17 10:38:09 +01:00
Šimon Brandner
533f2c2c98
Properly listen for call_state
The previous thing should have never worked, since CallsChanged doesn't get emitted when a call is answered

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-17 09:51:48 +02:00
Šimon Brandner
3fdf4d13ca
Proper init in constructors
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-17 09:48:25 +02:00
Dariusz Niemczyk
9dfa01e1a8
Fix error on accessing encrypted media without keys
In case where the message is encrypted and you request cross-signed keys
from another session you may end up in a situation where `media` doesn't
exist as you didn't receive keys, yet you have the message's type.
This commit fixes this problem by checking if the media is even available.
2021-08-16 15:30:48 +02:00
James Salter
6c2e98812b Remove test code; good job we have tests 2021-08-16 13:26:58 +01:00
Dariusz Niemczyk
582b5c90a4
Properly sepearate left column from timeline 2021-08-16 14:26:21 +02:00
James Salter
16d02f24bd lint 2021-08-16 13:06:19 +01:00
David Baker
be18178015
Merge pull request #6614 from SimonBrandner/fix/glare/18538
Fix glare related regressions
2021-08-16 12:28:10 +01:00
Dariusz Niemczyk
8bd5441fae
Merge branch 'develop' into gsouquet/fix-backdrop-filter
* develop: (22 commits)
  Fix long display names in call toasts
  Fix import
  Add MatrixEvent type
  Convert CrossSigningPanel to TS
  Fix PiP of held calls
  Use new call state icons
  Add declined call buttons
  Add "No answer" state
  Left align call tiles
  Fix tab trapping behaviour
  add comment
  Iterate PR based on feedback
  Iterate PR, merge types with @types/PushRules
  Remove misplaced bracket in a translation string
  delint and improve ts
  Convert SearchResult, InteractiveAuth, PushProcessor and Scheduler to Typescript
  remove dead code and fix some types
  delint
  post-merge fixes, the new keybindings stuff made it messy
  Improve VoiceOver & WebKit accessibility support
  ...
2021-08-16 13:16:28 +02:00
Šimon Brandner
c375b6058f
Fix call tile spacing issues
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-16 11:04:41 +02:00
Germain Souquet
02ece40103 Fix import path on ChangeAvatar 2021-08-16 09:19:58 +01:00
Germain Souquet
800b3f1424 Fix linter 2021-08-16 09:16:02 +01:00
Šimon Brandner
bd2ae762d6
Adjust max-non-narrow-width
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-16 10:08:30 +02:00
Šimon Brandner
64aa53ab24
Correctly handle media errors
The methods need to be async since play() is async, otherwise there is no point in having the try catch blocks

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-15 13:33:49 +02:00
Šimon Brandner
a6cde3256e
Properly handle call change
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-15 12:56:29 +02:00
Dariusz Niemczyk
7b72931c42
Merge pull request #6422 from libexus/i18n-bracket-fix
Remove misplaced bracket in a translation string
2021-08-15 09:20:00 +02:00
Germain Souquet
2e1d5aa67b Migrate ProfileSettings to TypeScript 2021-08-14 11:36:12 +02:00
Germain Souquet
447beb8294 Migrate IntegrationManager to TypeScript 2021-08-14 11:27:17 +02:00
Germain Souquet
dfd986751f Migrate DevicesPanelEntry to TypeScript 2021-08-14 11:22:18 +02:00
Germain Souquet
fb6a6370e7 Migrate DevicesPanel to TypeScript 2021-08-14 11:17:19 +02:00
Germain Souquet
1e431057ff Migrate ChangeDisplayName to TypeScript 2021-08-14 11:06:34 +02:00
Germain Souquet
bedfbedff0 Migrate ChangeAvatar to TypeScript 2021-08-14 11:04:36 +02:00
Germain Souquet
1f55158727 Migrate AvatarSetting to TypeScript 2021-08-14 10:53:53 +02:00
Germain Souquet
c56d267316 Migrate TopUnreadMessagesBar to TypeScript 2021-08-14 10:51:08 +02:00
Germain Souquet
eb120901ae Migrate SimpleRoomHeader to TypeScript 2021-08-14 10:48:30 +02:00
Germain Souquet
7e4c88f6ba Migrate RoomUpgradeWarningBar to TypeScript 2021-08-14 10:46:38 +02:00
Germain Souquet
7290a65924 Migrate RoomDetailList to TypeScript 2021-08-14 10:36:04 +02:00
Germain Souquet
e9e6269da7 Migrat ReadReceiptMarker to TypeScript 2021-08-14 10:31:18 +02:00
Germain Souquet
2e9cacdeb1 Migrate JumpToBottomButton to TypeScript 2021-08-14 10:22:43 +02:00
Jaiwanth
3efa699b88 Delint 2021-08-14 00:14:57 +05:30
Jaiwanth
5c78acfca4 Remove forExport prop for MemberAvatar 2021-08-14 00:07:13 +05:30
Jaiwanth
0e3ad652af Merge branch 'develop' of https://github.com/matrix-org/matrix-react-sdk into export-conversations 2021-08-14 00:04:30 +05:30
Jaiwanth
31c9e5962c Move export dialog to async-components 2021-08-14 00:03:02 +05:30
Jaiwanth
7207329c15 Apply review suggestions 2021-08-13 23:44:07 +05:30
David Baker
c28d449f3f Fix import
thanks vscode
2021-08-13 18:21:59 +01:00
David Baker
7c8637f5db Add MatrixEvent type 2021-08-13 18:18:48 +01:00
David Baker
c79b6a412d Merge remote-tracking branch 'origin/develop' into dbkr/crosssigningpanel_ts 2021-08-13 18:11:54 +01:00
David Baker
e78640572d Convert CrossSigningPanel to TS
Type: task
2021-08-13 18:07:58 +01:00
Dariusz Niemczyk
94a5013beb
temp 2021-08-13 19:03:20 +02:00
Dariusz Niemczyk
7f58a21aac
Improve BackdropPanel performance by ignoring React 2021-08-13 18:12:02 +02:00
Travis Ralston
da944b2c6b
Merge pull request #6323 from matrix-org/t3chguy/ts/12
Convert SearchResult, InteractiveAuth, PushProcessor and Scheduler to TS
2021-08-13 10:08:58 -06:00
Michael Telatynski
df282807b1
Merge pull request #5659 from matrix-org/t3chguy/a11y/composer-list-autocomplete 2021-08-13 16:55:46 +01:00
Dariusz Niemczyk
5f9b55eaa9
Merge remote-tracking branch 'origin/develop' into gsouquet/fix-backdrop-filter
* origin/develop: (1278 commits)
  Add a little padding
  Keep number field in focus when pressing dialpad buttons (#6520)
  Remove old version
  Fix video call persisting when widget removed
  Update link to matrix-js-sdk CONTRIBUTING file (#6557)
  $toast-bg-color -> $system
  $system-... -> $system
  Iterate PR based on feedback
  Remove unnecessary code
  Use AccessibleTooltipButton
  Just upload the PR object itself
  Edit PR Description instead of commenting
  publish the right directory
  Fix Netflify builds from fork PRs
  This doesn't need to be here as it was moved into CallViewButtons
  Make scrollbar dot transparent
  Iterate PR based on feedback
  Don't set hidden RRs labs setting at account level
  Add a comment for weirdly placed div
  Add full class names to animations.scss
  ...
2021-08-13 15:12:07 +02:00
Šimon Brandner
cda91e44e0
Use new call state icons
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-13 11:37:17 +02:00
Šimon Brandner
032d2866a3
Add "No answer" state
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-13 11:19:14 +02:00
Šimon Brandner
c79852a9f0
Left align call tiles
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-13 10:59:59 +02:00
Šimon Brandner
39bb253d1f
Merge remote-tracking branch 'upstream/develop' into feature/narrow-voip-tiles/18398 2021-08-13 10:30:21 +02:00
Jaiwanth
c62210b07c Merge branch 'export-conversations' of https://github.com/jaiwanth-v/matrix-react-sdk into export-conversations 2021-08-13 09:00:20 +05:30
Jaiwanth
00d5a0baa4
Apply suggestions from code review
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2021-08-13 08:59:28 +05:30
Jaiwanth
dda24da204 Add copyright headers 2021-08-13 08:59:14 +05:30
Jaiwanth
edfc8af6cf Apply PR Suggestions 2021-08-13 08:30:50 +05:30
Andrew Morgan
1ad35b1564
Keep number field in focus when pressing dialpad buttons (#6520) 2021-08-12 18:58:06 +01:00
Travis Ralston
772b8fb3fa
Merge pull request #6593 from SimonBrandner/fix/correct-button
Use the correct button component for the Call View sidebar button
2021-08-12 08:54:53 -06:00
Michael Telatynski
4f0ae0a849 Only show spaces blue flashy dot if user is in 0 spaces 2021-08-12 15:54:41 +01:00
Jaiwanth
e88edba650
Merge branch 'develop' into export-conversations 2021-08-12 17:10:13 +05:30
Michael Telatynski
57bf64bd28 Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/fix/18088
 Conflicts:
	src/components/views/spaces/SpacePanel.tsx
2021-08-12 12:05:55 +01:00
Michael Telatynski
85b1f166e8 post-merge tidy up 2021-08-12 12:03:14 +01:00
Dariusz Niemczyk
fbc5729daf
Merge pull request #6590 from matrix-org/palid/fix/images-loading-ux
Make loading encrypted images look snappier
2021-08-12 12:55:52 +02:00
Michael Telatynski
0a209afdc2 Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/fix/18089
 Conflicts:
	res/css/structures/_SpaceHierarchy.scss
	src/components/structures/SpaceHierarchy.tsx
	src/i18n/strings/en_EN.json
2021-08-12 11:41:03 +01:00
Michael Telatynski
228d623024
Merge pull request #6543 from matrix-org/t3chguy/fix/18092 2021-08-12 11:28:14 +01:00
Michael Telatynski
f53eb4eeed Fix tab trapping behaviour 2021-08-12 11:27:34 +01:00
Michael Telatynski
f9527c9d6b Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/a11y/composer-list-autocomplete
 Conflicts:
	src/components/views/rooms/BasicMessageComposer.tsx
	src/editor/autocomplete.ts
2021-08-12 11:21:20 +01:00
Michael Telatynski
9d3569a577 Iterate PR based on feedback 2021-08-12 10:58:56 +01:00
Šimon Brandner
ccaa69b25b
Remove unnecessary code
This somehow doesn't seem to be neccessary anymore, I don't really know why but everything seems to work without it

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-12 08:53:42 +02:00
Šimon Brandner
29d20b8125
Use AccessibleTooltipButton
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-12 08:11:11 +02:00
Michael Telatynski
0ef9ea76e1 delint unused imports 2021-08-11 23:38:48 +01:00
Michael Telatynski
4f47907abf Show disabled spaces section in preferences regardless 2021-08-11 23:33:10 +01:00
Michael Telatynski
09ffad96ff
Merge pull request #6569 from matrix-org/t3chguy/fix/spaces-a11y 2021-08-11 23:18:52 +01:00
Michael Telatynski
69cf64249f add comment 2021-08-11 21:50:26 +01:00
Michael Telatynski
5d98c6f02d Iterate PR based on feedback 2021-08-11 21:45:49 +01:00
Michael Telatynski
38dbe89316 Merge branch 't3chguy/fix/18092' of github.com:matrix-org/matrix-react-sdk into t3chguy/fix/18088
 Conflicts:
	src/components/views/spaces/SpaceCreateMenu.tsx
	src/i18n/strings/en_EN.json
2021-08-11 20:53:41 +01:00
Michael Telatynski
5f54abc7e5 Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/fix/18088 2021-08-11 20:51:47 +01:00
Šimon Brandner
012f2c9e7e
This doesn't need to be here as it was moved into CallViewButtons
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-11 19:16:55 +02:00
David Baker
abba7983ce
Merge pull request #6578 from SimonBrandner/task/export-call-view-buttons
Move Call View Buttons into a separate component
2021-08-11 18:09:48 +01:00
James Salter
cc9ddb351f Remove test error on startup, and send correct user text 2021-08-11 18:01:22 +01:00
James Salter
ba1618812c Send user text as context 2021-08-11 18:00:21 +01:00
James Salter
de398f46f4 initial spike 2021-08-11 18:00:21 +01:00
Travis Ralston
a149108a7d
Merge pull request #6353 from SimonBrandner/feature/improved-composer
Improve handling of pills in the composer
2021-08-11 10:55:13 -06:00
Michael Telatynski
38645d9054 Fix loading state issues for spaces pagination 2021-08-11 17:07:53 +01:00
Michael Telatynski
d74e9c4f90 Remove impossible space hierarchy size string 2021-08-11 16:47:14 +01:00
Michael Telatynski
54d85a3864 Iterate PR based on feedback 2021-08-11 16:32:48 +01:00
Michael Telatynski
da110855f0 delint and remove groups-specific tests and setups 2021-08-11 15:36:35 +01:00
Michael Telatynski
cbd6f2de44 Tweak copy on space preview 2021-08-11 15:03:38 +01:00
Michael Telatynski
be85dcd1bf Delabs Spaces, keeping it as a default-on preference for the time being 2021-08-11 14:52:40 +01:00
Šimon Brandner
833a5ee182
Don't set hidden RRs labs setting at account level
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-11 14:37:35 +02:00
Dariusz Niemczyk
723400ace6
Add a comment for weirdly placed div 2021-08-11 10:56:36 +02:00
Michael Telatynski
40cf05a3ce Fix space public share dialog showing atop the space invite dialog 2021-08-11 09:39:59 +01:00
Michael Telatynski
013ccd46ad Fix feedback form in space create menu exploding 2021-08-10 18:24:58 +01:00
Dariusz Niemczyk
c872609ed3
Modify encrypted images loading for better UX
Adds proper react css transition to encrypted images placeholders, so
that we can animate it's entrance and exit properly.
In addition, adds simple css animations file to properly handle all of
the animations in one place, so that it's much easier to properly handle
prefers-reduced-motion media query.
2021-08-10 19:24:17 +02:00
Michael Telatynski
6efb699670 Tweak copy in the space create menu 2021-08-10 16:46:11 +01:00
Michael Telatynski
f98de18427 Add blue beta dot to the space panel create button 2021-08-10 16:45:56 +01:00
David Baker
50aa3d6c46 Upscale thumbnails to the container size
Force thumbnails to be the size of the container, even if that means
upscaling them. As per comment, this will mean that the thumbnails
will sometimes be larger and a bit blurry rather than small. It looks
like this was probably a source of scroll jumps before.

As per comment, a better fix would be to be be able to know what
size thumbnails the HS will give us so we can size the containers
appropriately.

Type: defect
Regressed by: https://github.com/matrix-org/matrix-react-sdk/pull/6514
Fixes https://github.com/vector-im/element-web/issues/18307
2021-08-10 15:14:04 +01:00
Germain Souquet
d971802789 Create ThreadView phase in RightPanel 2021-08-10 14:30:12 +02:00
Michael Telatynski
065dbf3695 Merge branch 't3chguy/fix/18092' of github.com:matrix-org/matrix-react-sdk into t3chguy/fix/18088 2021-08-10 11:38:38 +01:00
Michael Telatynski
77cf5bf613 Update space create menu copy and add link to community migrator 2021-08-10 11:30:00 +01:00
Michael Telatynski
d90321d813 Iterate PR, merge types with @types/PushRules 2021-08-10 11:03:03 +01:00
Michael Telatynski
6877c8fe0c
Merge pull request #6587 from matrix-org/t3chguy/fix/18465
Fix create room dialog in spaces no longer adding to the space
2021-08-10 10:34:26 +01:00
Michael Telatynski
cd1b315ed6 Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/ts/12 2021-08-10 10:21:01 +01:00
Michael Telatynski
b7246404be Fix create room dialog in spaces no longer adding to the space 2021-08-10 10:05:19 +01:00
Michael Telatynski
195b8714fc Iterate PR based on feedback 2021-08-10 09:55:51 +01:00
Michael Telatynski
db951b43a3 Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/fix/18092 2021-08-10 09:48:22 +01:00
Michael Telatynski
857bb9db44 Add some treeview labels 2021-08-10 09:46:25 +01:00
Jaiwanth
e396dcfb10 Remove @types/streamsaver 2021-08-10 13:22:40 +05:30
Michael Telatynski
0f49fe92c6 iterate spaces treeview stuff 2021-08-09 14:01:34 +01:00
Michael Telatynski
09f20bcda7 Make space hierarchy a treeview 2021-08-09 10:29:55 +01:00
Germain
298318c0ee
Merge branch 'develop' into i18n-bracket-fix 2021-08-09 09:07:32 +01:00
Jaiwanth
b3c03c9b68 Fix lint errors 2021-08-09 12:41:41 +05:30
Jaiwanth
45ce352d02 Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into export-conversations 2021-08-09 10:44:13 +05:30
Panagiotis
1c7a89b2e4 add comment - explain conditional statusBar 2021-08-08 21:00:15 +03:00
Panagiotis
a53886a630 Merge branch 'develop' into fix/call-search-areas 2021-08-08 16:29:05 +03:00
Šimon Brandner
96b651e326
Fade buttons after componentDidMount
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-08 11:26:57 +02:00
Šimon Brandner
d0e76a0ecd
Use CallViewButtons
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-08 11:20:17 +02:00
Šimon Brandner
9f28c30145
Add CallViewButtons.tsx
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-08 11:16:55 +02:00
Travis Ralston
92a60497d2
Merge pull request #6572 from matrix-org/travis/voice-messages/stop-left
Move stop button to the left of the waveform
2021-08-07 09:09:21 -06:00
Michael Telatynski
7598ce6ca3
Merge pull request #6576 from SimonBrandner/fix/export-default
Export components by default
2021-08-07 15:15:57 +01:00
Šimon Brandner
d8b492f47d
Correctly hide fullscreen button
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-07 09:38:26 +02:00
Šimon Brandner
63ed852c68
Fix typo which caused the wrong PiP position
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-07 09:31:32 +02:00
Šimon Brandner
2ce75d45b2
Fix tranlation
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-07 09:16:34 +02:00
Šimon Brandner
5c90736213
Export components by default
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-07 08:54:40 +02:00
Dariusz Niemczyk
b6f7c4fe95
Merge pull request #6475 from matrix-org/jitsi-picture-in-picture
Refactor Calls components into smaller pieces for future Widgets work
2021-08-06 18:03:30 +02:00
Dariusz Niemczyk
b73c73f07c
Fix missing string 2021-08-06 17:47:59 +02:00
Dariusz Niemczyk
ebee78acc8
Fix dangling ';' 2021-08-06 17:45:14 +02:00
Travis Ralston
b2a2b35243
Merge pull request #6565 from SimonBrandner/fix/codeblock-expand/18388
Fix missing expand button on codeblocks
2021-08-06 09:42:13 -06:00
Travis Ralston
6a9ebc6902
Merge pull request #6390 from SimonBrandner/feature/hidden-rrs
Support for MSC2285 (hidden read receipts)
2021-08-06 09:27:14 -06:00
Travis Ralston
f53451df65
Merge pull request #6349 from SimonBrandner/feature/collapse-pinned-mels/17938
Group pinned message events with MELS
2021-08-06 09:25:08 -06:00
Travis Ralston
cab4f2e402 Move stop button to the left of the waveform
Fixes https://github.com/vector-im/element-web/issues/18416
2021-08-06 09:00:18 -06:00
Dariusz Niemczyk
7513f5ba7c
Fix types 2021-08-06 16:43:20 +02:00
Dariusz Niemczyk
cba87f433b
Fix merge conflicts 2021-08-06 16:31:04 +02:00
Dariusz Niemczyk
4328083ea7
Rename css 2021-08-06 16:31:04 +02:00
Michael Telatynski
6fddfe0d59 Fix dropdown keyboard selection accessibility 2021-08-06 14:48:46 +01:00
Michael Telatynski
3fd2c00516 Improve aria labels around spaces avatar uploader 2021-08-06 14:46:02 +01:00
Germain
3153e11761
Merge pull request #6566 from SimonBrandner/task/export-layout 2021-08-06 14:45:54 +01:00
Germain
da79581744
Merge pull request #6567 from SimonBrandner/fix/connecting-states/18404
Don't flash "Missed call" when accepting a call
2021-08-06 14:42:31 +01:00
Germain
40eb9ae452
Merge pull request #6571 from SimonBrandner/fix/reply-whitespace/18327
Fix clicking whitespaces on replies
2021-08-06 14:34:31 +01:00
Michael Telatynski
7a11279682 Fix dropdown negative wraparound for keyboard accessibility 2021-08-06 14:21:56 +01:00
Michael Telatynski
54fb24f359 Fix dropdown keyboard accessibility when filter is disabled 2021-08-06 14:21:41 +01:00
Travis Ralston
2c601e0ff1
Merge pull request #6562 from matrix-org/travis/voice-messages/disable-composer
Fix disabled state for voice messages + send button tooltip
2021-08-06 07:19:58 -06:00
Šimon Brandner
0e041f2e77
Fix clicking whitespaces on replies
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-06 15:06:11 +02:00
Michael Telatynski
81b70c6955
Merge pull request #6570 from SimonBrandner/feature/call-length/18405 2021-08-06 13:44:14 +01:00
Šimon Brandner
8368aa13ca
length -> duration
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-06 14:38:53 +02:00
Dariusz Niemczyk
8ac82457e8
Update src/components/views/voip/PictureInPictureDragger.tsx
Co-authored-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-06 14:10:59 +02:00
Šimon Brandner
c1449ff01a
Show call length
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-06 13:59:26 +02:00
Dariusz Niemczyk
efc63f1f77
Merge pull request #6560 from matrix-org/palid/fix/18384
Fix [object Object] in Widget Permissions
2021-08-06 13:59:14 +02:00
Michael Telatynski
381108a9c2
Merge pull request #6227 from SimonBrandner/feature/copy-version/17603 2021-08-06 12:56:38 +01:00
Dariusz Niemczyk
6d4ef6b1a4
Fix [object Object] in Widget Permissions 2021-08-06 13:54:00 +02:00
Michael Telatynski
facc882a11 i18n and add space null guard for home space 2021-08-06 12:50:32 +01:00
Dariusz Niemczyk
e8762fbe5b
Fix merge conflicts 2021-08-06 13:28:53 +02:00
Michael Telatynski
1a1b1738c1 Add aria label to clickable notification badge on space panel 2021-08-06 12:28:46 +01:00
Michael Telatynski
3895345250 Fix disabled state on AccessibleButton not being exposed via ARIA 2021-08-06 12:28:20 +01:00
Michael Telatynski
d285a45da5 Fix stray tabIndex on AutoHideScrollbar component in FF 2021-08-06 12:28:06 +01:00
Dariusz Niemczyk
35386078a4
Post-merge changes 2021-08-06 13:25:27 +02:00
Dariusz Niemczyk
3b002c4c1f
Merge remote-tracking branch 'origin/develop' into jitsi-picture-in-picture
* origin/develop: (100 commits)
  Add comments to isRegionalIndicator
  Stop voice messages that are playing when starting a recording
  Properly set style attribute on shared usercontent iframe
  Fix in-call context menus when in PiP mode (#6552)
  Extract tooltipYOffset to a const
  Increase yOffset by 4px away
  i18n
  Post-merge conflict resolution and improve alignment of tooltips
  Fix image & blurhash info when skipping thumbnail due to thresholds
  Skip sending a thumbnail if it is not a sufficient saving over the original
  Null guard space inviter to prevent the app exploding
  Remove seams from pin icon
  Appease Jest
  Fix worklet reference for new webpack pipeline
  i18n
  Update copy
  Fix wrong cursor being used in PiP
  Fix voice feed cut-off
  Use flex-start as it has more universal support
  Wrap cases in {}
  ...
2021-08-06 13:25:14 +02:00
Michael Telatynski
f7818e0169 iterate PR based on feedback 2021-08-06 12:05:14 +01:00
Šimon Brandner
6d6fa46541
Add connecting states
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-06 12:42:38 +02:00
Michael Telatynski
64995dfae7 Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/fix/18092 2021-08-06 11:39:24 +01:00
Šimon Brandner
6afd75ac3c
Update/fix licenses
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-06 10:40:26 +02:00
Šimon Brandner
25c6b216b0
Move LayoutSwitcher CSS to a separate file
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-06 10:37:42 +02:00
Šimon Brandner
186acf92a9
Wrap in ()
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-06 10:30:38 +02:00
Šimon Brandner
85f5ec3a94
Move LayoutSwitcher into a separate component
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-06 10:27:18 +02:00
Šimon Brandner
67fdbf97e5
Round percentageOfViewport
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-06 09:17:00 +02:00
Šimon Brandner
3677d0c5f2
Merge remote-tracking branch 'upstream/develop' into feature/improved-composer 2021-08-06 08:02:28 +02:00
Šimon Brandner
44acded0a0
Use snake case
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-06 07:55:08 +02:00
Šimon Brandner
6e688b3c3a
Merge remote-tracking branch 'upstream/develop' into public-e2ee-warn 2021-08-06 07:53:07 +02:00
Šimon Brandner
015e0b6d77
Make into a labs feature
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-06 07:51:57 +02:00
Šimon Brandner
4f0c800cad
Merge remote-tracking branch 'upstream/develop' into feature/improved-composer
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-06 07:45:17 +02:00
Šimon Brandner
5f68ad92d1
Merge remote-tracking branch 'upstream/develop' into feature/collapse-pinned-mels/17938
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-06 07:43:19 +02:00
Šimon Brandner
3abc419266
Remove spaces and use correct character
Co-authored-by: Travis Ralston <travpc@gmail.com>
2021-08-06 07:41:56 +02:00
Šimon Brandner
1e9437db7b
Use correct character
Co-authored-by: Travis Ralston <travpc@gmail.com>
2021-08-06 07:41:37 +02:00
Šimon Brandner
94f915a436
Remove spaces
Co-authored-by: Travis Ralston <travpc@gmail.com>
2021-08-06 07:41:23 +02:00
Šimon Brandner
67062dab88
Remove spaces
Co-authored-by: Travis Ralston <travpc@gmail.com>
2021-08-06 07:40:35 +02:00
Šimon Brandner
717691ef2f
Remove spaces
Co-authored-by: Travis Ralston <travpc@gmail.com>
2021-08-06 07:40:25 +02:00
Travis Ralston
3b73c17465
Merge pull request #6181 from pvagner/voip-a11y
Make call control buttons accessible to screen reader users
2021-08-05 13:36:17 -06:00
Travis Ralston
17a3dc5e6d Stop voice messages that are playing when starting a recording
Fixes https://github.com/vector-im/element-web/issues/18410
2021-08-05 12:44:12 -06:00
Travis Ralston
fea30e5f5f Fix disabled state for voice messages + send button tooltip
Fixes https://github.com/vector-im/element-web/issues/18413
2021-08-05 12:38:15 -06:00
Andrew Morgan
df888a1886
Fix in-call context menus when in PiP mode (#6552)
Mounting them as children when in PiP mode doesn't work. Condition mounting
the context menus as children of the current component based on whether PiP
mode is active.
2021-08-05 16:33:22 +01:00
Travis Ralston
280c017238
Merge pull request #6530 from matrix-org/travis/voice-messages/uploading
Improve voice messages uploading state
2021-08-05 08:36:53 -06:00
Travis Ralston
51bd740936
Merge pull request #6538 from matrix-org/travis/voice-messages/ui-polish-aug3-21
Polish up more of the voice messages UI
2021-08-05 08:34:31 -06:00
Michael Telatynski
b860acca80 Extract tooltipYOffset to a const 2021-08-05 14:43:44 +01:00
Michael Telatynski
e1b62ae38b Increase yOffset by 4px away 2021-08-05 14:20:31 +01:00
Michael Telatynski
a8b050a385 Post-merge conflict resolution and improve alignment of tooltips 2021-08-05 13:37:23 +01:00
Michael Telatynski
a9d7d01014 Null guard space inviter to prevent the app exploding 2021-08-05 12:30:22 +01:00
Šimon Brandner
9e4f5719a4
Handle narrow layouts
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-05 11:47:58 +02:00
Šimon Brandner
b99e39e011
Merge remote-tracking branch 'upstream/develop' into feature-surround-with 2021-08-04 18:14:38 +02:00
Dariusz Niemczyk
dc88686f9d
Merge pull request #6539 from SimonBrandner/feature/increase-anim-speed/18371
Increase PiP snapping speed
2021-08-04 16:02:47 +02:00
Šimon Brandner
f97f410d09
Unused import
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-04 13:16:01 +02:00
Michael Telatynski
2d3211ccf6 Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/fix/18092 2021-08-04 12:14:29 +01:00
Šimon Brandner
3232552715
Merge remote-tracking branch 'upstream/develop' into feature/update-tile-copy/18376 2021-08-04 13:11:36 +02:00
Šimon Brandner
4a1789be53
Update copy
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-04 13:04:23 +02:00
Michael Telatynski
a6e5112be0 Offer a way to create a space based on existing community 2021-08-04 10:37:35 +01:00
James Salter
57f5c30af8
Merge pull request #6532 from matrix-org/posthog-analytics
Reinstate Posthog analytics PR fixing type definitions via installing dev dependencies
2021-08-04 09:47:39 +01:00
Germain
a07df5e9d8
Merge pull request #6512 from SimonBrandner/fix/mirroring/5633 2021-08-04 08:51:22 +01:00
Šimon Brandner
d479373af9
Merge remote-tracking branch 'upstream/develop' into feature/incoming-call-toast
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-04 09:21:45 +02:00
Šimon Brandner
372cbbfe8e
Increase snapping speed
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-04 08:11:05 +02:00
Travis Ralston
1b9fe46733 Remove unnecessary rescaling of voice waveforms
Fixes https://github.com/vector-im/element-web/issues/18364
2021-08-03 13:51:11 -06:00
Travis Ralston
18b321f8e8 Improve hover states (tooltips) for voice message interactions
Fixes https://github.com/vector-im/element-web/issues/18375
2021-08-03 13:34:04 -06:00
Travis Ralston
32442068cf Use a default waveform when recording to ease component pop-in
Fixes https://github.com/vector-im/element-web/issues/18225
2021-08-03 13:26:27 -06:00
Travis Ralston
c4e6cc7973 Remove debugging 2021-08-03 12:57:16 -06:00
Travis Ralston
7b565db02d Update uploading state designs 2021-08-03 12:52:21 -06:00
David Baker
28f5dc483b Update eslint plugin & fix silly indenting
As per https://github.com/matrix-org/eslint-plugin-matrix-org/pull/15
this caused a bunch of silly indenting to creep in, so this fixes it
back to the previous style.
2021-08-03 17:07:37 +01:00
Dariusz Niemczyk
7487636f90
Fix linter again 2021-08-03 18:00:11 +02:00
Šimon Brandner
65451805a2
Merge remote-tracking branch 'upstream/develop' into fix/mirroring/5633
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-03 16:06:12 +02:00
Dariusz Niemczyk
b18d03be32
Fix final style issues 2021-08-03 15:21:15 +02:00
Dariusz Niemczyk
8a1def1d26
Update src/components/views/voip/CallView/CallViewHeader.tsx
Co-authored-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-03 15:21:14 +02:00
Dariusz Niemczyk
08b27a7c82
Update src/components/views/voip/PictureInPictureDragger.tsx
Co-authored-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-03 15:21:14 +02:00
Dariusz Niemczyk
389d0b2d4a
Another fix for indentation 2021-08-03 15:21:14 +02:00
Dariusz Niemczyk
466151a10c
Update src/components/views/voip/CallPreview.tsx
Co-authored-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-03 15:21:14 +02:00
Dariusz Niemczyk
f592d37f39
Remove widget support for CallViewHeader 2021-08-03 15:21:14 +02:00
Dariusz Niemczyk
a0b0a91d08
Fix ident 2021-08-03 14:03:35 +02:00
Dariusz Niemczyk
838d9105c9
Update src/components/views/voip/CallView/CallViewHeader.tsx
Co-authored-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-03 13:53:49 +02:00
Germain Souquet
54c685bfa8 Migrate LogoutDialog to TypeScript 2021-08-03 13:52:46 +02:00
Dariusz Niemczyk
90c2eb0b92
Update src/components/views/voip/CallView/CallViewHeader.tsx
Co-authored-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-03 13:50:00 +02:00
Germain Souquet
81b45f8aa9 Make defaultProps a static property of LogoutDialog 2021-08-03 13:44:14 +02:00
Dariusz Niemczyk
29e9db44a3
Another fix to the TS types 2021-08-03 13:30:14 +02:00
Dariusz Niemczyk
36efa448b2
Fix TS types 2021-08-03 13:24:41 +02:00
Dariusz Niemczyk
ae411b9401
Refactor Call components into smaller pieces 2021-08-03 12:58:09 +02:00
James Salter
dc7aad1abf Revert "Revert "Add support for Posthog Analytics under a labs flag""
This reverts commit c5ea253181.
2021-08-03 11:55:02 +01:00
James Salter
c5ea253181
Revert "Add support for Posthog Analytics under a labs flag" 2021-08-03 07:30:02 +01:00
Travis Ralston
c5d11a9f17 Improve voice messages uploading state
Fixes https://github.com/vector-im/element-web/issues/18226
Fixes https://github.com/vector-im/element-web/issues/18224
2021-08-02 23:29:46 -06:00
Jaiwanth
46e2f67f54 Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into export-conversations 2021-08-03 10:03:16 +05:30
David Baker
3ea0571c5f
Merge pull request #6486 from SimonBrandner/feature/muting
Show an avatar/a turned off microphone icon for muted users
2021-08-02 17:20:55 +01:00
James Salter
a65b41be63
Merge pull request #6495 from matrix-org/posthog-analytics
Add support for Posthog Analytics under a labs flag
2021-08-02 14:46:17 +01:00
James Salter
1ca547802f lint 2021-08-02 13:28:56 +01:00
James Salter
4755a81403 Disable analytics when user hasn't opted in or out 2021-08-02 12:23:42 +01:00
Šimon Brandner
44258fd278
Merge remote-tracking branch 'upstream/develop' into feature/copy-version/17603 2021-08-02 11:32:57 +02:00
Andrew Morgan
645c128e44
Prevent backspace and delete functionality in the in-call dial pad. (#6522)
Just as one cannot do when there inputting number while
on a call on their phone, it doesn't make much sense to
be able to do so while on a call in Element. The DTMF
tone history should be preserved.
2021-08-02 10:18:35 +01:00
Travis Ralston
711210d16e
Merge pull request #6437 from matrix-org/travis/voice-messages/delabs
Remove voice messages labs flag
2021-08-02 02:02:36 -06:00
Travis Ralston
dd53324981
Merge pull request #6509 from matrix-org/travis/voice-messages/download-2
Improve download interactions
2021-07-30 10:50:27 -06:00
Travis Ralston
bfd96b7e58 Add file size to tooltip 2021-07-30 08:57:56 -06:00
Michael Telatynski
42d6afd4b1
Merge pull request #6497 from matrix-org/t3chguy/fix/18093 2021-07-30 12:25:44 +01:00
Michael Telatynski
3c436c9617 update setting naming to match style 2021-07-30 12:20:02 +01:00
Michael Telatynski
1c2dc13fa3 factor our observer hook 2021-07-30 12:12:49 +01:00
Michael Telatynski
9eb0986353 Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/fix/18089
 Conflicts:
	src/i18n/strings/en_EN.json
2021-07-30 11:34:52 +01:00
Michael Telatynski
f4ed9aeef1 Add pagination mechanism to SpaceHierarchy based on IntersectionObserver 2021-07-30 11:02:22 +01:00
Michael Telatynski
259627fba2 Clean up SpaceHierarchy 2021-07-30 11:01:49 +01:00
Dariusz Niemczyk
7b6536c297
Fix incorrect height for encoded placeholder images 2021-07-30 11:53:56 +02:00
Jaiwanth
17e9cf4d2a Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into export-conversations 2021-07-30 12:17:31 +05:30
Šimon Brandner
0c30566cae
Fix import
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-30 08:20:36 +02:00
Šimon Brandner
e0df785538
Mirror only usermedia feeds
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-30 08:15:45 +02:00
Travis Ralston
761fb6e1d5 Appease the linter 2021-07-29 16:01:26 -06:00