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
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
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
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
Š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
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
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
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
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
Š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
Š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
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
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
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