David Baker
4a3a37323e
Actually fix type imports
2025-02-06 14:24:46 +01:00
David Baker
df4c23bec7
Fix type import
2025-02-06 14:21:30 +01:00
David Baker
4ea6a33497
Merge remote-tracking branch 'origin/develop' into dbkr/key_storage_toggle
2025-02-06 14:11:56 +01:00
David Baker
87d44a7792
Test for the view model
2025-02-06 14:02:14 +01:00
R Midhun Suresh
3c690e685a
Add code_style, developer_guide and fix CONTRIBUTING.md ( #29210 )
...
* Remove reference to matrix-js-sdk in code_style.md
* Absorb exisiting documentation from matrix-react-sdk
* Crete a separate developer guide
* Remove sign-off from CONTRIBUTING.md
Since sign-off is irrelevant to element-web repo with the introduction
of CLA.
* Link to the new docs in README
* Elaborate on the rule
* Fix lint
2025-02-06 11:02:53 +00:00
Florian D
53f83124a0
Add Forgot recovery key? button to encryption tab ( #29202 )
...
* feat(crypto settings): add "Forgot recovery key?" button to encryption tab
* test(crypto settings): add tests for `RecoveryPanelOutOfSync`
* test(crypto settings): update encryption tab test
* test(crypto settings): update and add e2e test
2025-02-06 10:54:20 +00:00
ElementRobot
63a3a6c454
[create-pull-request] automated change ( #29207 )
...
Co-authored-by: t3chguy <2403652+t3chguy@users.noreply.github.com >
2025-02-06 09:53:24 +00:00
Florian D
0358b7f93c
Add KeyIcon to key storage out of sync toast ( #29201 )
...
* feat(toast crypto): add KeyIcon to key storage out of sync toast
* test(toast crypto): update key storage out of sync snapshot
2025-02-05 16:36:48 +00:00
David Baker
6b238d1fdc
Type import
2025-02-05 16:10:59 +01:00
David Baker
1b99071dfc
Fix test
2025-02-05 16:07:36 +01:00
David Baker
a26efc58f1
Tests for key storage delete panel
2025-02-05 15:54:11 +01:00
David Baker
130458783f
Fix tests
2025-02-05 15:14:10 +01:00
David Baker
5ac200492c
Fix type imports
2025-02-05 14:31:28 +01:00
David Baker
aa6de76a8b
Fix hardcoded Element string
2025-02-05 14:25:39 +01:00
renovate[bot]
4a381c2a10
Update all non-major dependencies ( #29194 )
...
* Update all non-major dependencies
* Delint
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
* Iterate
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
* Prettier
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
---------
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com >
2025-02-05 13:25:06 +00:00
David Baker
e408715335
Add key storage delete confirm screen
2025-02-05 14:20:29 +01:00
renovate[bot]
7cafa0d1a4
Update dependency caniuse-lite to v1.0.30001697 ( #29193 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-05 11:42:13 +00:00
renovate[bot]
9ae4388bef
Update dependency @vector-im/compound-design-tokens to v3 ( #28910 )
...
* Update dependency @vector-im/compound-design-tokens to v3
* Update icon path
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
---------
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com >
2025-02-05 11:38:40 +00:00
renovate[bot]
511c7ca6ab
Update guibranco/github-status-action-v2 digest to 119b332 ( #29173 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com >
2025-02-05 11:22:28 +00:00
David Baker
b7b2ea3448
Fix bits lost in merge
2025-02-05 12:01:18 +01:00
renovate[bot]
2dca721ae7
Update babel monorepo ( #29174 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-05 10:52:25 +00:00
David Baker
6a20703ebc
Merge remote-tracking branch 'origin/develop' into dbkr/key_storage_toggle
2025-02-05 11:51:31 +01:00
ElementRobot
272bb6c5a2
[create-pull-request] automated change ( #29191 )
...
Co-authored-by: t3chguy <2403652+t3chguy@users.noreply.github.com >
2025-02-05 06:14:44 +00:00
David Langley
fc0797a98d
Update package description ( #29168 )
...
* Update package.json
* Update debian package description
2025-02-04 19:14:58 +00:00
renovate[bot]
5a2edba21b
Update testcontainers-node monorepo to v10.17.2 ( #29185 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-04 18:04:55 +00:00
David Baker
9657d39cd6
Wire up the "Forgot recovery key" button for the "Key storage out of sync" toast ( #29138 )
...
* Wire up the "Forgot recovery key" button for the "Key storage out of sync" toast
* Unused import & fix test
* Test 'forgot' variant
* Fix dependencies
* Add more toast tests
* Unused import
* Test initialState in Encryption Tab
* Let's see if github has any more luck running this test than me
* Working playwright test with screenshot
* year
* Convert playwright test to use the bot client
* Disambiguate
Co-authored-by: Florian Duros <florianduros@element.io >
* Add doc & do other part of rename
* Split out into custom hook
* Fix tests
---------
Co-authored-by: Florian Duros <florianduros@element.io >
2025-02-04 17:40:31 +00:00
renovate[bot]
1c4e35606c
Update all non-major dependencies ( #29179 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-04 16:40:58 +00:00
renovate[bot]
23a3bcfc73
Update dependency @matrix-org/spec to v1.13.0 ( #29180 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com >
2025-02-04 16:22:32 +00:00
renovate[bot]
25fba1f8ec
Update dependency @stylistic/eslint-plugin to v3 ( #29188 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com >
2025-02-04 16:09:40 +00:00
renovate[bot]
409c0869ce
Update definitelyTyped ( #29176 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com >
2025-02-04 16:03:28 +00:00
renovate[bot]
c1cc6ab391
Update dependency @types/react-transition-group to v4.4.12 ( #29177 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com >
2025-02-04 16:01:14 +00:00
renovate[bot]
b4832fd936
Update typescript-eslint monorepo to v8.22.0 ( #29187 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-04 15:52:11 +00:00
renovate[bot]
6b3ae95e8b
Update fontsource monorepo to v5.1.1 ( #29178 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com >
2025-02-04 15:47:40 +00:00
renovate[bot]
10e91b6e63
Update dependency @sentry/browser to v8.53.0 ( #29181 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com >
2025-02-04 15:32:07 +00:00
renovate[bot]
56083777ef
Update browserslist ( #29175 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com >
2025-02-04 15:31:22 +00:00
renovate[bot]
70df19406e
Update stylelint ( #29184 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com >
2025-02-04 14:59:28 +00:00
renovate[bot]
2673085afa
Update testing-library monorepo ( #29186 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com >
2025-02-04 14:58:51 +00:00
renovate[bot]
d9001d177c
Update docker/build-push-action digest to ca877d9 ( #29172 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-04 14:27:20 +00:00
Michael Telatynski
7eb969bbc2
Apply lint rule @typescript-eslint/no-empty-object-type ( #29159 )
...
* Apply lint rule @typescript-eslint/no-empty-object-type
To avoid the footgun that is https://www.totaltypescript.com/the-empty-object-type-in-typescript
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-02-04 13:41:34 +00:00
Will Hunt
8cae1e9f5e
Improve rendering of empty topics in the timeline ( #29152 )
...
* Improve display of empty topic events in the timeline.
* Use topic parser for topic events.
* Revert changes i18n for the moment
* Use the correct import pattern
* Add tests for topic rendering
2025-02-04 12:18:54 +00:00
R Midhun Suresh
1ea1d386ab
Make profile header section match the designs ( #29163 )
...
* Update styling to match design
* Fix tests
2025-02-04 09:05:48 +00:00
ElementRobot
afa6f377ea
[create-pull-request] automated change ( #29165 )
...
Co-authored-by: t3chguy <2403652+t3chguy@users.noreply.github.com >
2025-02-04 06:14:36 +00:00
Florian Duros
b7f8623617
Encryption tab: hide Advanced section when the key storage is out of sync ( #29129 )
...
* fix(encryption tab): hide the advanced section when the secrets are not cached locally
The secret verification is now made at the level of `EncryptionUserSettingsTab` instead at the `RecoveryPanel` level. In the `EncryptionUserSettingsTab`, we decide to only display `RecoveryPanelOutOfSync` in case of uncached secrets.
`RecoveryPanelOutOfSync` is simplified version of `RecoveryPanel` handling only the `secrets_not_cached` case.
* refactor(encryption tab): simplify the `RecoveryPanel` without having to handle the missing secrets
* test(encryption tab): move test about cached secrets in `EncryptionUserSettingsTab-test.tsx`
* test(encryption tab): move e2e test which are testing all the encryption tab in `encryption-tab.spec.ts
* refactor(encryption tab): move `RecoveryPanelOutOfSync` in its own file
- fix typos
- call onFinish after accessSecretStorage
- onFinish doesn't need to be asynchronous
* doc(encryption tab): improve documentation when the secrets are not cached locally
* test(encryption tab): improve test documentation and naming
* doc(encryption tab): improve `RecoveryPanelOutOfSync` documentation
2025-02-03 13:47:55 +00:00
renovate[bot]
e75ba356d3
Update dependency stylelint-config-standard to v37 ( #29058 )
...
* Update dependency stylelint-config-standard to v37
* Iterate
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
---------
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com >
2025-02-03 12:25:41 +00:00
Michael Telatynski
4f1eac67a8
Fix share button in discovery settings being disabled incorrectly ( #29151 )
...
* Fix share button in discovery settings being disabled incorrectly
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
* Improve types & add tests
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
* Iterate
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
* Iterate
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
* Improve coverage
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
* Add missing snapshot
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
---------
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
2025-02-03 08:48:02 +00:00
R Midhun Suresh
aa01b17f9e
Always show back button in the right panel ( #29128 )
...
* Construct history on setCard
So that back buttons are always shown in the right panel
* Check card state to ensure operation is atomic
* Fix tests
* Fix lint
* Remove null case
* Fix broken test
2025-02-02 18:37:12 +00:00
Hubert Chathi
4cba79ddcc
Schedule dehydration on reload if the dehydration key is already cached locally ( #29021 )
...
* Schedule dehydration on reload
* fix test and use the right function to check dehydration is enabled
* use dehydration helper function when scheduling dehydration on restart
* fix test by passing in client object
2025-01-31 18:29:59 +00:00
Michael Telatynski
b64471e4f6
Ensure switching rooms does not wrongly focus timeline search ( #29153 )
...
This happened due to the focusRoomSearch param being stored for inactive rooms so it never got cleared
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
2025-01-31 15:47:32 +00:00
Valere
d3a6f34881
feat(crypto): Support verification violation composer banner ( #29067 )
...
* feat(crypto): Support verification violation composer banner
* refactor UserIdentityWarning by using now a ViewModel
fixup: logger import
fixup: test lint type problems
fix test having an unexpected verification violation
fixup sonarcubes warnings
* review: comments on types and inline some const
* review: Quick refactor, better handling of action on button click
* review: Small updates, remove commented code
2025-01-31 15:05:32 +00:00
ElementRobot
dcce9c70dc
Localazy Download ( #29149 )
...
* [create-pull-request] automated change
* Fix test
---------
Co-authored-by: t3chguy <2403652+t3chguy@users.noreply.github.com >
Co-authored-by: R Midhun Suresh <hi@midhun.dev >
2025-01-31 12:30:53 +00:00