69420 Commits

Author SHA1 Message Date
Richard van der Hoff 3e8599bba0 AccessSecretStorageDialog: various fixes (#30093)
* AccessSecretStorageDialog: clear notice when input is empty

* AccessSecretStorageDialog: Simplify logic for calculating feedback

No functional changes, just simplification

* AccessSecretStorageDialog: use the right icon

Should be a ! in a circle, not an X. Also requires use of `Flex` to fix the
vertical alignment.

* AccessSecretStorageDialog: fix resizing when key is correct

* AccessSecretStorageDialog: remove confirmation on dialog close

Per discussion on https://github.com/element-hq/element-web/issues/30024, we
don't want this any more.
2025-06-09 10:27:14 +00:00
ElementRobot 073606207e [create-pull-request] automated change (#30097)
Co-authored-by: t3chguy <2403652+t3chguy@users.noreply.github.com>
2025-06-09 06:24:01 +00:00
ElementRobot 75463f0296 Merge pull request #2378 from element-hq/actions/localazy-download
Localazy Download
2025-06-09 01:21:28 -05:00
t3chguy 2401c1f7ef [create-pull-request] automated change 2025-06-09 06:07:53 +00:00
Richard van der Hoff 7eb16b3361 AccessSecretStorageDialog: fix inability to enter recovery key (#30090)
* BaseDialog: fix documentation, and make `onFinished` optional

Since `onFinished` isn't used if `hasCancel` is false, it's a bit silly to make
it mandatory.

* AccessSecretStorageDialog: fix inability to enter recovery key

Wrap AccessSecretStorageDialog in a `BaseDialog`. The main thing this achieves
is a `FocusLock`.

* playwright: factor out helper for verification

We have two copies of the same code, and we're about to add a third...

* playwright: test for verifying from Settings

* Add a unit test for BaseDialog
2025-06-06 11:21:29 +00:00
ElementRobot fe7d10539b Merge pull request #2375 from element-hq/actions/localazy-download
Localazy Download
2025-06-06 01:28:56 -05:00
ElementRobot e5d167dcf3 [create-pull-request] automated change (#30091)
Co-authored-by: t3chguy <2403652+t3chguy@users.noreply.github.com>
2025-06-06 06:23:06 +00:00
t3chguy cb5f5bc94a [create-pull-request] automated change 2025-06-06 06:07:50 +00:00
Half-Shot 8cf426f0e7 tighten example 2025-06-05 16:57:48 +01:00
Half-Shot 60687b27a6 Add an example 2025-06-05 16:10:35 +01:00
Florian Duros 140afea791 New room list: move message preview in user settings (#30023)
* feat: move message preview settings to user settings

* test: update tests

* test(e2e): update preference screenshots

* test(e2e): update room list tests

* fix: display message preview settings only for new room list

* test(e2e): display all preference settings in screenshot

* test: update snapshot
2025-06-05 14:14:09 +00:00
Michael Telatynski ad71e7bdc4 Fix failure to upload thumbnail causing image to send as file (#30086)
* Fix failure to upload thumbnail causing image to send as file

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Iterate

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

---------

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2025-06-05 09:10:23 +00:00
Florian Duros 311c038fe1 New room list: change room options icon (#30029)
* feat: change sort icon

* test(e2e): update screenshots

* test: update snapshots
2025-06-05 09:08:15 +00:00
Half-Shot c6a6123826 Remove unused props 2025-06-05 10:01:40 +01:00
Half-Shot e2ae6f2288 Specify options for the original component. 2025-06-05 09:58:51 +01:00
David Baker b123e0f60c Merge pull request #2373 from element-hq/dbkr/safestorage_fixloop
Fix restart loop in safeStorage
2025-06-04 19:30:02 +01:00
R Midhun Suresh 2b1a4e007c Low priority menu item should be a toggle (#30071)
* Use toggle on low priority menu item

* Fix broken tests
2025-06-04 17:51:58 +00:00
R Midhun Suresh 231ab20dcf RoomListStore: Sort low priority rooms to the bottom of the list (#30070)
* Sort low priority rooms to the bottom of the list

* Write test
2025-06-04 17:51:49 +00:00
R Midhun Suresh df4cf64ebe Update tests (#30066)
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2025-06-04 17:50:42 +00:00
R Midhun Suresh b9f319a9f5 Add sanity checks to prevent users from ignoring themselves (#30079)
* Fix missing state

* Throw error if membership event changes

* Write test

* Fix broken tests

* Cache inviter when room is loaded

* Translate error message for dialog
2025-06-04 17:39:19 +00:00
David Baker 39f460b636 Actually assign the promise 2025-06-04 18:26:56 +01:00
Michael Telatynski 3941f99e17 Bump playwright-common version 2025-06-04 16:29:41 +01:00
David Baker 86f6136257 Prettier 2025-06-04 16:23:59 +01:00
Michael Telatynski 0eba5281fa Merge pull request #30 from element-hq/t3chguy-patch-1 2025-06-04 16:23:46 +01:00
David Baker 2e039f4bab Add log message while I'm here 2025-06-04 16:15:08 +01:00
David Baker 8f24f45090 Need to return false here too 2025-06-04 16:12:43 +01:00
David Baker 6901bff548 Fix clear storage not working
It failed because it went looking for the focused / first window to
clear the storage on, but we called it before we had a window. Just
rewrite it without electron-clear-storage which doesn't really seem
necessary as a dependency, and also relaunched the app when clearing
stprage (you-had-one-job.gif). Pass the session in explicitly so it's
clear it needs it.
2025-06-04 16:01:03 +01:00
Michael Telatynski 3befdeb167 Update mas.ts 2025-06-04 14:02:42 +01:00
David Baker cf88e520a0 Fix restart loop in safeStorage
if we started using a backend but it's now unusable, we need to prompt
the user that we can't migrate: if the override flag is already set then
we'll just restart in a loop.
2025-06-04 14:01:14 +01:00
Matt Lewis 9c0604f849 Fix issue with duplicate images (#30073)
* ensure export file paths are unique

* add unit test for filepath uniqueness. fix createMessagesRequest mock.

* add return types
2025-06-04 12:54:47 +00:00
Richard van der Hoff f97df3eb3b Handle errors returned from Seshat (#30083)
* Handle errors returned from Seshat

Fix a bug which caused errors from Seshat to be swallowed, giving only "Unknown
error".

* fix type casting
2025-06-04 12:42:55 +00:00
ElementRobot 114fd6d123 [create-pull-request] automated change (#30078)
Co-authored-by: t3chguy <2403652+t3chguy@users.noreply.github.com>
2025-06-04 06:26:55 +00:00
ElementRobot 3bc59fb6ce Merge pull request #2372 from element-hq/actions/localazy-download
Localazy Download
2025-06-04 01:24:09 -05:00
t3chguy f136c7aaad [create-pull-request] automated change 2025-06-04 06:07:42 +00:00
dependabot[bot] 5b33e2866d Bump tar-fs from 2.1.2 to 2.1.3 (#2369)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-06-03 16:28:15 +00:00
RiotRobot c0ca58e930 Merge branch 'master' into develop 2025-06-03 15:14:12 +00:00
RiotRobot 77038a5a86 v1.11.102 2025-06-03 15:13:27 +00:00
RiotRobot 7bb49c567d Reset matrix-js-sdk back to develop branch 2025-06-03 14:59:41 +00:00
RiotRobot b2258a93b4 Merge branch 'master' into develop 2025-06-03 14:59:28 +00:00
RiotRobot dba4952721 v1.11.102 2025-06-03 14:56:05 +00:00
RiotRobot 5cf543a9a7 Upgrade dependency to matrix-js-sdk@37.7.0 2025-06-03 14:52:36 +00:00
Half-Shot 546861811c fixup 2025-06-03 13:41:57 +01:00
R Midhun Suresh b9b31fa0fb Match string exactly (#30067)
The devices section in OIDC frontend has changed to include a heading
with the device name. The device name and the client name both contain
"Element", so playwright fails.
2025-06-02 10:50:58 +00:00
R Midhun Suresh 7d69ce39d9 Add low priority filter pill to the room list UI (#30060)
* Add low priority filter pill to the UI

* Fix tests
2025-06-02 08:20:15 +00:00
ElementRobot c6445bbc2c [create-pull-request] automated change (#30064)
Co-authored-by: t3chguy <2403652+t3chguy@users.noreply.github.com>
2025-06-02 06:27:41 +00:00
ElementRobot b22d2480ae Merge pull request #2367 from element-hq/actions/localazy-download
Localazy Download
2025-06-02 01:26:44 -05:00
t3chguy 7142b6fe57 [create-pull-request] automated change 2025-06-02 06:07:44 +00:00
Will Hunt 0a9dffb132 Merge branch 'main' into hs/custom-component-api 2025-05-30 15:27:34 +01:00
Half-Shot 930a5eb8b7 Update module API 2025-05-30 14:51:38 +01:00
ElementRobot 6bc117993d [create-pull-request] automated change (#30059)
Co-authored-by: t3chguy <2403652+t3chguy@users.noreply.github.com>
2025-05-30 08:02:47 +00:00