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
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
Dariusz Niemczyk
7b6536c297
Fix incorrect height for encoded placeholder images
2021-07-30 11:53:56 +02:00
Š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
Travis Ralston
455c103890
Use new getter for content in MFileBody
2021-07-29 15:57:54 -06:00
Travis Ralston
bb1b2d10c8
Fix file name not ellipsizing
...
Turns out the tooltip component doesn't copy over class names.
2021-07-29 15:55:45 -06:00
Travis Ralston
c322761abb
Improve general style per design direction
2021-07-29 15:49:23 -06:00
Travis Ralston
d1e7c79333
Change "Downloading" tooltip to "Decrypting"
...
Fixes https://github.com/vector-im/element-web/issues/18239
2021-07-29 15:37:09 -06:00
Travis Ralston
fb89b45c06
Unify and improve download interactions
...
With help from Palid.
This does two major things:
1. Makes the tile part of a file body clickable to trigger a download.
2. Refactors a lot of the recyclable code out of the DownloadActionButton in favour of a utility. It's not a perfect refactoring, but it sets the stage for future work in the area (if needed).
The refactoring still has a heavy reliance on being supplied an iframe, but simplifies the DownloadActionButton and a hair of the MFileBody download code. In future, we'd probably want to make the iframe completely managed by the FileDownloader rather than have it only sometimes manage a hidden iframe.
2021-07-29 15:36:50 -06:00
Andrew Morgan
a7c15b2ac0
Fix DialPad and Call Menu buttons not working when a call is fullscreened. ( #6496 )
...
This PR:
* Moves the dialpad and hold/transfer menu buttons into the part of the DOM that's included when a call is fullscreen'd.
* Tweaks `ContextMenu` to allow menu content to be mount as a child of the current component, rather than at the root of the DOM (which was not included in the full-screen'd content).
<!-- Please read https://github.com/matrix-org/matrix-js-sdk/blob/develop/CONTRIBUTING.md before submitting your pull request -->
<!-- Include a Sign-Off as described in https://github.com/matrix-org/matrix-js-sdk/blob/develop/CONTRIBUTING.md#sign-off -->
`Signed-off-by: Andrew Morgan <andrewm@element.io>`
2021-07-29 17:51:27 +01:00
Michael Telatynski
02dbdc5c0a
Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/fix/18093
...
Conflicts:
src/components/views/spaces/SpaceTreeLevel.tsx
src/dispatcher/actions.ts
src/i18n/strings/en_EN.json
2021-07-29 16:11:16 +01:00
Michael Telatynski
94af6db201
Merge pull request #6424 from matrix-org/t3chguy/fix/18071
2021-07-29 15:57:26 +01:00
Michael Telatynski
d587ae44af
Merge pull request #6466 from matrix-org/t3chguy/fix/18096
2021-07-29 15:53:57 +01:00
Michael Telatynski
3ee8f607c0
Switch dropdown out for radio interaction when leaving space
2021-07-29 15:50:18 +01:00
Michael Telatynski
251b6eb04e
update copy
2021-07-29 15:30:49 +01:00
Šimon Brandner
f0f2d3621e
Fix clicking pills inside replies
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-29 16:30:07 +02:00
Michael Telatynski
af851f7f44
fix merge conflict resolution issue
2021-07-29 15:24:42 +01:00
Michael Telatynski
493cd01ed3
Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/fix/18071
...
Conflicts:
res/css/views/dialogs/_AddExistingToSpaceDialog.scss
src/utils/space.tsx
2021-07-29 15:22:52 +01:00
Michael Telatynski
efd8a2f9b0
Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/fix/18096
...
Conflicts:
src/components/structures/SpaceRoomView.tsx
src/components/views/spaces/SpaceCreateMenu.tsx
src/i18n/strings/en_EN.json
2021-07-29 15:16:53 +01:00
James Salter
a1ffd240e1
Use .instance pattern
2021-07-29 14:40:18 +01:00
Šimon Brandner
871f1b7a5c
Handle all possible playMedia() in componentDidUpdate()
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-29 15:31:25 +02:00
Šimon Brandner
38a1b922bd
Add missing await
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-29 15:26:04 +02:00
Šimon Brandner
cb89dd408c
Use mic mute icons
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-29 15:05:26 +02:00
Michael Telatynski
ab56a16907
Merge pull request #6458 from matrix-org/t3chguy/fix/18091
2021-07-29 13:20:19 +01:00
Michael Telatynski
08c883ed07
Update all copy of subspace
to space
2021-07-29 13:02:07 +01:00
Dariusz Niemczyk
7baa3284e3
Fix grecaptcha regression
2021-07-29 12:39:32 +02:00
Germain Souquet
e140dd6ba1
Merge branch 'develop' into gsouquet/fix-18132
2021-07-29 10:27:00 +02:00
Šimon Brandner
cf973cdb95
Merge remote-tracking branch 'upstream/develop' into feature/muting
2021-07-29 09:06:24 +02:00
Šimon Brandner
ae64765870
playMedia only if necessary
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-29 08:45:32 +02:00
Michael Telatynski
67b8c0a811
remove unused import
2021-07-28 19:33:54 +01:00
Michael Telatynski
9fb1c8e4cd
Iterate PR
2021-07-28 19:33:07 +01:00
Michael Telatynski
ac800ad94d
Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/fix/18093
2021-07-28 19:24:26 +01:00
Michael Telatynski
40493634ae
Iterate PR
2021-07-28 19:23:33 +01:00
Michael Telatynski
ed950875e7
Fix space hierarchy not updating when user mutates it
2021-07-28 19:08:59 +01:00
Michael Telatynski
5d9e421de0
Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/fix/18091
2021-07-28 17:58:34 +01:00
Michael Telatynski
a5606c72de
Update feedback prompt to match designs
2021-07-28 17:56:57 +01:00
James Salter
07eaee25d2
Default properties to {} to avoid passing it superfluously for events with no properties
2021-07-28 17:54:35 +01:00
Michael Telatynski
6123ccb2eb
Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/fix/18096
2021-07-28 17:45:15 +01:00
Michael Telatynski
67ef263940
Refactor SpaceButton to be more reusable and add context menu to Home button
2021-07-28 17:40:33 +01:00
Michael Telatynski
b3a28bde89
Factor out useEventEmitterState hook
2021-07-28 17:39:56 +01:00
Michael Telatynski
cdf0d98c3f
Fix IconizedContextMenuCheckbox layout
2021-07-28 17:39:02 +01:00
James Salter
b1bd5f57a4
Document IEvent.properties, fix IWelcomeScreenLoad
...
IEvent.properties is a placeholder that needs to be overriden by extenders for type validation to take place.
IWelcomeScreenLoad should have had properties declared for it. Because it didn't, a faulty call using it was possible.
2021-07-28 16:43:13 +01:00
Šimon Brandner
537ce40f42
Add a TODO
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-28 16:32:55 +02:00
Michael Telatynski
07b9d6b30b
Fix styling of setting flag descriptions in preferences
...
and add description to spaces all/home setting
and make it an account setting rather than device one
and hide it from the Beta card
2021-07-28 14:39:19 +01:00
Šimon Brandner
7c4e3efbff
Extend PureComponent to avoid unnecessary renders
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-28 15:11:31 +02:00
Šimon Brandner
91e65534fa
await setState to avoid races where we would try to play media without an HTMLVideoElement
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-28 15:04:33 +02:00
James Salter
bd7e2dee3d
Merge remote-tracking branch 'origin' into posthog-analytics
2021-07-28 11:13:22 +01:00
Germain
771dda0341
Merge pull request #6472 from SimonBrandner/fix/call-view/18221
2021-07-28 11:10:37 +01:00
James Salter
1d81bdc6f9
Interface changes and anonymity fixes
2021-07-28 09:37:08 +01:00
Michael Telatynski
98f3a5120c
Merge pull request #6492 from matrix-org/t3chguy/fix/18275.1
2021-07-28 09:10:00 +01:00
Michael Telatynski
52e50863f8
Fix CreateRoomDialog exploding when making public room outside of a space
2021-07-28 08:39:59 +01:00
Michael Telatynski
0a9d3302ba
Fix home vs all rooms requiring app reload and change default to home
...
Consolidate ALL_ROOMS and HOME_SPACE storage
Fix behaviour when recalled room is no longer part of the target space
Improve tests
2021-07-27 21:11:47 +01:00
Šimon Brandner
5f6a1e336e
Remove unnecessary curly braces
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-27 18:46:19 +02:00
Šimon Brandner
9761c38f3d
Merge remote-tracking branch 'upstream/develop' into feature/hidden-rrs
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-27 18:39:22 +02:00
Germain
f82744db97
Merge pull request #6487 from matrix-org/gsouquet/fix-18265
2021-07-27 17:20:02 +01:00
Germain
7e453d7745
Typo
...
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2021-07-27 17:14:39 +01:00
Šimon Brandner
bc11e215b8
Merge remote-tracking branch 'upstream/develop' into feature/muting
2021-07-27 18:14:23 +02:00
Šimon Brandner
36607fa8a2
Fix call crashing because element was undefined
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-27 18:05:50 +02:00
Germain Souquet
30ce7b5eab
Make link within replies clickable
2021-07-27 17:57:46 +02:00
Šimon Brandner
6f77d3bbab
Correctly hide the dialpad
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-27 17:52:13 +02:00
Šimon Brandner
8294d324e3
Merge remote-tracking branch 'upstream/develop' into fix/call-view/18221
2021-07-27 16:55:59 +02:00
Šimon Brandner
371de23b00
Merge remote-tracking branch 'upstream/develop' into feature/muting
2021-07-27 16:40:47 +02:00
David Baker
3e7aee3a87
Merge pull request #5992 from SimonBrandner/fix/12652/screen-share
...
Add support for screen sharing in 1:1 calls
2021-07-27 15:34:27 +01:00
Šimon Brandner
b9e305daae
Delete mistake line
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-27 16:26:46 +02:00
Šimon Brandner
24f0c760ce
Merge remote-tracking branch 'upstream/develop' into fix/12652/screen-share
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-27 16:25:38 +02:00
Travis Ralston
93f42182c0
Merge pull request #6479 from matrix-org/travis/voice-messages/fix-placeholder-ui
...
Fix timing of voice message recording UI appearing
2021-07-27 08:05:28 -06:00
Michael Telatynski
39d9ec3ced
Merge branch 'develop' into t3chguy/fix/18071
2021-07-27 15:02:59 +01:00
David Baker
5ead53b36a
Merge pull request #6483 from SimonBrandner/fix/dont-anim-resize/18261
...
Fix PiP resize issues
2021-07-27 14:42:04 +01:00
Šimon Brandner
f532c302b6
Don't animate when resizing and move when the PiP changes size
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-27 15:31:54 +02:00
Šimon Brandner
001490f70d
Fix unused resize listener
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-27 15:30:44 +02:00
David Baker
7733ee2578
Merge pull request #6478 from matrix-org/dbkr/scrollpanel_loop_breaker
...
Fix infinite pagination loop when offline
2021-07-27 13:54:30 +01:00
Šimon Brandner
5dd34de5fe
Handle mute state changes
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-27 14:31:42 +02:00
Germain Souquet
8104ba936c
Add data-layout to MELS for better CSS structure
2021-07-27 11:30:25 +02:00
David Baker
e5d538412b
Typo
...
Co-authored-by: Germain <germain@souquet.com>
2021-07-27 09:29:32 +01:00
Germain
788abac74d
Merge pull request #6471 from SimonBrandner/fix/voip-event-tiles/18216
...
Fix VoIP event tile issues
2021-07-27 08:17:31 +01:00
Travis Ralston
7f01e31040
Fix timing of voice message recording UI appearing
...
Fixes https://github.com/vector-im/element-web/issues/18223
We delay the composer's state until a recording is truly ready here, preventing buttons from disappearing while we're still figuring things out.
2021-07-26 23:33:21 -06:00
David Baker
f20da6d3de
Fix infinite pagination loop when offline
...
I'm not really sure how this is meant to work - and I'm not sure
how it was working before, but this is causing fairly bad infinite
loops if I start element with no homeserver connection. This is
a fairly crude fix, only thing I can think that would be better is
some awareness of when network requests were failing and intentionally
backing off.
Fixes https://github.com/vector-im/element-web/issues/18242
2021-07-26 22:05:35 +01:00
Šimon Brandner
29b0d03fe4
Update copy
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-26 21:27:22 +02:00
Germain Souquet
486d576b23
Merge branch 'develop' into gsouquet/fix-18132
2021-07-26 15:49:55 +02:00
Michael Telatynski
737aa1c55d
delint
2021-07-26 12:41:52 +01:00
Michael Telatynski
2114e854f9
Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/fix/18091
...
Conflicts:
src/components/structures/SpaceRoomView.tsx
2021-07-26 12:36:00 +01:00
Šimon Brandner
40947a2a68
Simplifie toast handling
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-26 12:21:58 +02:00
Germain
c7bbb497f9
Merge branch 'develop' into gsouquet/fix-18128
2021-07-26 07:41:42 +01:00
Germain
93ae5c20d6
Merge pull request #6464 from matrix-org/gsouquet/fix-18172
...
Fix reactions row pushing content on IRC layout
2021-07-26 07:40:49 +01:00
Šimon Brandner
3ef20174f3
Fix issues with the controls disappearing
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-25 18:11:29 +02:00
Šimon Brandner
1754602613
Increase CONTROLS_HIDE_DELAY
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-25 17:30:59 +02:00
Šimon Brandner
03a8308ae8
Fix call type icon
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-25 17:24:18 +02:00
Šimon Brandner
a8d27746b4
Show dialpad only when PSTN supported
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-25 17:07:18 +02:00
Šimon Brandner
a2c7035163
Tweak copy
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-25 10:57:46 +02:00
Šimon Brandner
f7087d5148
Add declined state
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-25 10:30:53 +02:00
Šimon Brandner
f63b6fc0a9
Support for getting reject info
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-25 10:28:27 +02:00
Šimon Brandner
4784ddc175
Add state for when the remote doesn't pick up
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-25 08:57:29 +02:00
Šimon Brandner
aedd535c92
Correct iconography for missed calls
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-25 08:37:25 +02:00
Šimon Brandner
50c27ebed7
Add myself to the license header as I need to re-run the CI
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-25 08:16:55 +02:00
Šimon Brandner
b762303102
Merge remote-tracking branch 'upstream/develop' into fix/12652/screen-share
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-25 08:10:01 +02:00
Šimon Brandner
410928745f
IncomingCallBox -> IncomingCallToast
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-24 13:46:22 +02:00
Šimon Brandner
07be6dd780
Allow suppliing whole body to toasts
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-24 13:35:54 +02:00
Šimon Brandner
ff37b8cc79
Remove IncomingCallBox
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-24 12:47:30 +02:00
Michael Telatynski
22339688cb
Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/ts/12
...
Conflicts:
src/components/structures/InteractiveAuth.js
2021-07-23 23:43:48 +01:00
Michael Telatynski
64e3c72f65
Fix bad import due to naming clash
2021-07-23 18:51:27 +01:00
Michael Telatynski
70d8378a66
delint
2021-07-23 18:50:25 +01:00
Michael Telatynski
05a9023bac
delint and tidy code
2021-07-23 18:31:31 +01:00
Michael Telatynski
1ba601ba22
Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/fix/18096
...
Conflicts:
src/components/structures/SpaceRoomView.tsx
src/components/views/dialogs/BetaFeedbackDialog.tsx
2021-07-23 18:28:21 +01:00
Michael Telatynski
869a5fb5c7
Merge pull request #6467 from matrix-org/t3chguy/fix/18110
2021-07-23 18:21:43 +01:00
James Salter
5e0a397631
Refactor anonymity derivation
2021-07-23 17:58:31 +01:00
Michael Telatynski
e78a1adb6f
Merge pull request #6459 from matrix-org/t3chguy/eslint1
2021-07-23 16:23:38 +01:00
Michael Telatynski
4fe0e216d6
Use div instead of span for mx_MImageBody to not violate spec
2021-07-23 16:22:35 +01:00
Travis Ralston
2c4ab507d6
Merge pull request #6453 from matrix-org/travis/voice-messages/code-cleanup-1
...
Clean up voice messages code
2021-07-23 09:09:12 -06:00
Michael Telatynski
b89434fcbc
avoid abusing spans because you're too lazy to give things a class
2021-07-23 16:03:15 +01:00
Michael Telatynski
dec2c48155
remove unused import and revert removing some needed css
2021-07-23 15:56:00 +01:00
Michael Telatynski
1d1a396c1f
get rid of spurious hr
2021-07-23 15:51:59 +01:00
Michael Telatynski
7ccc429bea
Change spaces beta feedback to not be so beta-centric
2021-07-23 15:47:11 +01:00
Michael Telatynski
9c7fa71a4a
Remove spaces beta feedback prompts except a couple more strategic ones
2021-07-23 15:07:24 +01:00
Germain Souquet
3ce6fcc64b
Fix reactions row pushing content on IRC layout
2021-07-23 14:58:27 +02:00
Germain Souquet
1ba5f19f2e
Put avatar is right place when sender isnt displayed in message bubbles
2021-07-23 12:10:34 +02:00
Michael Telatynski
5ccd02dd6e
Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/eslint1
...
Conflicts:
src/components/views/dialogs/CreateRoomDialog.tsx
src/components/views/messages/MImageBody.tsx
2021-07-23 10:42:46 +01:00
Michael Telatynski
f5630acea7
Adhere to better eslint rules
2021-07-23 10:35:10 +01:00
Michael Telatynski
358a4e5d3f
Merge pull request #6212 from matrix-org/t3chguy/fix/17686
2021-07-23 09:09:17 +01:00
Michael Telatynski
cd77b9f1af
merge two opposing if statements
2021-07-23 08:55:16 +01:00
Michael Telatynski
010baabfe6
Improve subspaces and some utilities around room/space creation
2021-07-23 08:46:20 +01:00
Germain
aac01171b2
Merge pull request #6448 from matrix-org/gsouquet/fix-18162
...
Make images fit inside message bubble
2021-07-23 08:10:37 +01:00
Travis Ralston
c427612c24
de-dupe audio player
...
Fixes https://github.com/vector-im/element-web/issues/18161
2021-07-22 12:14:38 -06:00
Travis Ralston
e1bb04f45a
Remove answered TODOs
2021-07-22 09:27:38 -06:00
Travis Ralston
eec63574e6
Move src/voice to src/audio for better naming
...
Many of these files are used by Audio and Voice messages.
Fixes https://github.com/vector-im/element-web/issues/18131
2021-07-22 09:26:26 -06:00
Germain
248a758ad6
Merge pull request #6439 from matrix-org/gsouquet/fix-18142
...
Fix avatar obstructing membership and state changes
2021-07-22 16:16:33 +01:00
Germain Souquet
0768f03097
Migrate ViewSourceEvent to TypeScript
2021-07-22 17:11:23 +02:00
Germain
6765bb8f4c
Merge pull request #6418 from robintown/zoom-to-cursor
2021-07-22 15:22:04 +01:00
Germain Souquet
472ead41fb
Make images fit inside message bubble
2021-07-22 16:05:09 +02:00
Germain Souquet
02b08888b5
Use modern layout in file and notification panel
2021-07-22 16:00:41 +02:00
Robin Townsend
5d4b293e0a
Add comment about modulo operator
...
Signed-off-by: Robin Townsend <robin@robin.town>
2021-07-22 09:56:26 -04:00
Robin Townsend
9e0720a6c4
Rename zoom anchor variables for clarity
...
Signed-off-by: Robin Townsend <robin@robin.town>
2021-07-22 09:48:56 -04:00
Robin Townsend
875b46bacb
Don't zoom images when the cursor isn't over the image
...
Signed-off-by: Robin Townsend <robin@robin.town>
2021-07-22 09:46:29 -04:00
Robin Townsend
b99a6a8d54
Use typeof to check for presence of parameters
...
Signed-off-by: Robin Townsend <robin@robin.town>
2021-07-22 09:41:39 -04:00
Robin Townsend
3bf742f7aa
Merge branch 'develop' into zoom-to-cursor
2021-07-22 09:39:52 -04:00
Germain Souquet
552770c15a
Remove excessive padding after url previews
2021-07-22 14:24:49 +02:00
Michael Telatynski
18bb4bce35
Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/fix/17686
...
Conflicts:
src/stores/SpaceStore.tsx
2021-07-22 12:44:27 +01:00
Travis Ralston
0bb0c8105d
Merge pull request #6434 from matrix-org/travis/voice-messages/upload-failed
...
Handle upload errors in voice messages
2021-07-22 03:40:26 -06:00
Travis Ralston
98472b4fce
Merge pull request #6433 from matrix-org/travis/voice-messages/errors
...
Render error state for audio components
2021-07-22 03:39:47 -06:00
Travis Ralston
b9b37f59f1
Merge pull request #6432 from matrix-org/travis/voice-messages/colours
...
Clean up visual style of files and voice messages
2021-07-22 03:39:29 -06:00
Germain Souquet
8da2d0fe72
Fix avatar obstructing membership and state changes
2021-07-22 11:31:46 +02:00
Šimon Brandner
f4287fc3ab
Simplifie sidebar showing logic
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-22 11:16:16 +02:00
Šimon Brandner
33abe83dad
Always hide all feeds
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-22 10:39:00 +02:00
Michael Telatynski
e665e38b7b
Merge pull request #6413 from SimonBrandner/ts/address-stuff
2021-07-22 09:35:40 +01:00
Michael Telatynski
9219661d7c
Merge pull request #5389 from matrix-org/t3chguy/fix/15536
...
Fix onPaste handler to work with copying files from Finder
2021-07-22 09:22:55 +01:00
Šimon Brandner
89983820df
Fix dumb typo
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-22 09:49:37 +02:00
Šimon Brandner
6429b3c8bd
Only show toast about camera in video calls
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-22 09:23:37 +02:00
Šimon Brandner
37335b2c79
Show toast even for non-presenters
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-22 09:19:47 +02:00
Šimon Brandner
1b9b5fd048
Fix sidebar hiding
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-22 09:14:44 +02:00
Šimon Brandner
2df4f7b859
Merge remote-tracking branch 'upstream/develop' into feature/collapse-pinned-mels/17938
2021-07-22 07:51:58 +02:00
Šimon Brandner
9f227893b1
join -> jsxJoin
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-22 07:47:04 +02:00
Šimon Brandner
51c112fd82
PinnedMessages -> ChangedPins
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-22 07:46:41 +02:00
Šimon Brandner
e7c5711bb7
membershipTypes -> groupedEvents
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-22 07:45:48 +02:00
Jaiwanth
76040c652c
Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into spaces-jump-to-room
2021-07-22 08:25:24 +05:30
Travis Ralston
c384575375
Merge pull request #6261 from robintown/watch-show-timestamps
...
Add alwaysShowTimestamps and others to RoomView setting watchers
2021-07-21 19:44:04 -06:00
Travis Ralston
11773fb0f4
Clean up imports
2021-07-21 18:12:32 -06:00
Travis Ralston
0e3cc6b8f4
Remove voice messages labs flag
...
Fixes https://github.com/vector-im/element-web/issues/17151
2021-07-21 18:09:35 -06:00
Travis Ralston
079e75aae9
Handle upload errors in voice messages
...
Fixes https://github.com/vector-im/element-web/issues/17148
Mostly adding some try/catch blocks, and a generic dialog.
2021-07-21 16:11:10 -06:00
Travis Ralston
3d72b9e227
Render error state for audio components
...
Fixes https://github.com/vector-im/element-web/issues/17148
Both `AudioPlayer` and `RecordingPlayback` got a fragment added to their DOM structure, to incorporate the rarely seen error message below it. Additionally, a missing try/catch was added to the `Playback` class to handle uncaught decoding issues.
The similarity of the components is tracked in https://github.com/vector-im/element-web/issues/18161
2021-07-21 15:47:52 -06:00
Travis Ralston
3023fda497
Make MFileBody inherit the MediaBody styles
2021-07-21 14:46:25 -06:00
Šimon Brandner
c2aada6aa7
Clearer avatar sizing
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-21 21:27:07 +02:00
Travis Ralston
36d4eb85e1
Restore 'use default' naming on room notifications
...
Fixes https://github.com/vector-im/element-web/issues/18139
Following https://github.com/matrix-org/matrix-react-sdk/pull/6352
2021-07-21 13:01:19 -06:00
Šimon Brandner
34f3e62f72
Types!
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-21 20:48:50 +02:00
James Salter
c34afdb4bd
Refactor platform properties loading
2021-07-21 18:35:25 +01:00
Šimon Brandner
9891eddcbd
Rename to toast
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-21 18:28:44 +02:00
Šimon Brandner
ddd4b4bc12
Show a "Your camera is turned off" toast
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-21 18:22:47 +02:00
Germain
0d8309c8fc
Merge pull request #6429 from matrix-org/gsouquet/fix-18146
2021-07-21 17:17:51 +01:00
Šimon Brandner
3fac4adfc7
Fix feed sizing issues
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-21 18:14:21 +02:00
James Salter
e9e0e4847f
Move Welcome.js to tsx
2021-07-21 17:02:14 +01:00
James Salter
f358deb6c4
Manually track page views
2021-07-21 16:52:57 +01:00
Šimon Brandner
dc7f6d8286
Show sidebar in PiP mode
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-21 17:45:21 +02:00
Germain Souquet
26ca41f699
Cache room member count on the messagePanel
2021-07-21 17:26:41 +02:00
James Salter
34f8c60b34
Hook analytics into the SDK
2021-07-21 16:15:18 +01:00
Šimon Brandner
0a8067506f
Adjust hiding local feeds
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-21 17:12:27 +02:00
James Salter
53b6749f73
Change onboarding_login_begin to welcome_screen_load
2021-07-21 16:09:22 +01:00
Germain Souquet
43d62aa8c1
Use more performant getMembersCount to decide to hide or show sender
2021-07-21 16:43:57 +02:00
Šimon Brandner
337664a1b4
Update sidebar behaviour
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-21 16:34:21 +02:00
Šimon Brandner
74649f1f92
Correct feed ordering
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-21 16:21:52 +02:00
Šimon Brandner
2014517173
Always show screensharing feed as primary
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-21 16:20:09 +02:00
Germain
80e64601a9
Merge pull request #6427 from matrix-org/gsouquet/fix-18120
...
Improve new layout switcher UI
2021-07-21 15:11:58 +01:00
Germain Souquet
e5bc5a933e
Use cached value to read member count
2021-07-21 16:10:18 +02:00
Šimon Brandner
51cf426179
Update the toast
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-21 16:08:18 +02:00
Travis Ralston
34b8870a95
Merge pull request #6417 from matrix-org/travis/voice-messages/play-1
...
Play only one audio file at a time
2021-07-21 07:58:46 -06:00
Šimon Brandner
be52eba027
Merge remote-tracking branch 'upstream/develop' into fix/12652/screen-share
2021-07-21 15:56:08 +02:00
Šimon Brandner
e8760736ba
Merge remote-tracking branch 'upstream/develop' into fix/file-label-behaviour
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-07-21 15:33:06 +02:00