Commit graph

15288 commits

Author SHA1 Message Date
Germain Souquet
f712186e64 Migrate StickerPicker to TypeScript 2021-08-25 14:26: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
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
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
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
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
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
Š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
David Baker
c28d449f3f Fix import
thanks vscode
2021-08-13 18:21:59 +01:00