Florian Duros
1e689ac098
Move Flex & Box component into shared component folder ( #30357 )
...
* refactor: move Flex component in shared components
* refactor: update imports
* refactor: remove Flex pcss file
* fix: Flex component css override
* test: update snapshots
* fix: html export
* chore: add css module support to jest
* chore: keep old copyright
* refactor: change `mx_Flex` in `ErrorView` to `mx_ErrorView_flexContainer`
* test: update snapshots
* refactor: move Box component in shared components
* refactor: update import and css override
* test: update snapshots
2025-07-22 16:25:45 +00:00
Hubert Chathi
9095ebdb1b
Avoid using accessSecretStorage to create 4S ( #30244 )
...
* remove resetCrossSigning flag, which is no longer in use
* drop unnecessary check for cross-signing
The only place where verifyUser is called already checks that cross-signing is
set up. (The function name is also incorrect, since it checks for the
cross-signing key, and not for 4S.)
* avoid calling accessSecretStorage to set up cross-signing or 4S
Send the user to the Encryption settings tab instead
* only create secret storage when specifically asked to
* deprecate using accessSecretStorage to create new 4S
* also remove the obsolete snapshot
* add tests
* Tweak comment
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com >
---------
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com >
2025-07-03 13:34:05 +00:00
Michael Telatynski
a6ae04bcde
Update react imports ( #29538 )
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
2025-03-19 10:39:52 +00:00
Florian Duros
917d53a56f
Add wrap props to flex component ( #29480 )
...
* feat(flex): add wrap props to flex component
* test: update snapshot
2025-03-13 13:32:48 +00:00
Florian Duros
efc6149a8b
Update @vector-im/compound-design-tokens
& @vector-im/compound-web
( #29307 )
...
* chore: update `@vector-im/compound-design-tokens` & `@vector-im/compound-web` to last version
* chore: use `error-solid` icon instead of `error`
* chore: update jest snapshot
* fix: `AccessibleButton` lint
2025-02-24 17:08:12 +00:00
Michael Telatynski
e47d7aaaff
Add Windows 64-bit arm link and remove 32-bit link on compatibility page ( #29312 )
...
* Add Windows 64-bit arm link and remove 32-bit link on compatibility page
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
* Update snapshots
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
---------
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
2025-02-19 16:17:56 +00: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 Langley
69ee8fd96a
Change License: AGPL + Element Commercial ( #28856 )
...
* Add commercial licence and update config files
* Update license in headers
* Revert "Update license in headers"
This reverts commit 7ed7949485
.
* Update only spdx id
* Remove LicenseRef- from package.json
LicenseRef- no longer allowed in npm v3 package.json
This fixes the warning in the logs and failing build check.
2025-01-06 11:18:54 +00:00
Michael Telatynski
27a43e860a
Use React Suspense when rendering async modals ( #28386 )
...
* Use React Suspense when rendering async modals
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
* Fix test
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
* Improve coverage
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
* Improve coverage
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
* Improve coverage
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
* Update src/Modal.tsx
---------
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
2024-11-12 21:19:11 +00:00
Michael Telatynski
d8800ef987
Update to React 18 ( #24763 )
...
* Upgrade target to es2021
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
* Upgrade target to es2021
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
* Upgrade to es2022
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
* Upgrade to es2022
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
* Fix babel config
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
* Fix babel config
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
* Fix React contexts
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
* Fix types
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
* Fix React state
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
* Iterate
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
* Update to React 18
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
* Update to React 18
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 >
* Iterate
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 >
* Iterate
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
* Install @testing-library/dom
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 >
* Iterate
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 >
* Update lockfile
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 >
* Iterate
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 >
* Iterate
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 >
* Iterate
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 >
* Iterate
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
* Yarn lock update
* Iterate
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 >
* Iterate
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
---------
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
2024-10-21 13:50:06 +00:00
Florian Duros
1bb482f6f7
Replace Matrix.getKeyBackupEnabled
by MatrixClient.CryptoApi.getActiveSessionBackupVersion
( #28225 )
...
* Migrating deprecated sync `MatrixClient.getKeyBackupEnabled` to async `MatrixClient.CryptoApi.getActiveSessionBackupVersion` in `NewRecoveryMethodDialog`.
Rewrite `NewRecoveryMethodDialog` into a functional component to make it easier to handle the new async method.
* Migrating deprecated sync `MatrixClient.getKeyBackupEnabled` to async `MatrixClient.CryptoApi.getActiveSessionBackupVersion` in `MatrixChat`.
2024-10-18 09:45:45 +00:00
Michael Telatynski
f0ee7f7905
Merge matrix-react-sdk into element-web
...
Merge remote-tracking branch 'repomerge/t3chguy/repomerge' into t3chguy/repo-merge
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
2024-10-15 15:32:09 +01:00
R Midhun Suresh
786a0286cf
Upgrade compound also in element-web ( #28157 )
2024-10-14 17:11:54 +01:00
David Langley
69c28ad74f
Update license files
2024-09-06 15:44:31 +01:00
Michael Telatynski
59e526e318
Update unsupported browser react component to new designs ( #27857 )
2024-07-30 14:16:19 +01:00
Michael Telatynski
7fe11a6026
Make tests happier
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
2023-09-26 12:28:31 +01:00
Michael Telatynski
5ec96f5abe
Add test coverage ( #23341 )
2022-09-23 09:42:03 +01:00