Commit Graph

173 Commits

Author SHA1 Message Date
bmarty 9a75f40855 Sync Strings from Localazy 2025-03-10 00:28:38 +00:00
bmarty 46acf414c1 Sync Strings from Localazy 2025-03-03 00:29:16 +00:00
ganfra a6c3428680 feat(join by alias) : small clean up 2025-02-25 20:28:05 +01:00
ganfra 25d39c285b feat(join by alias) : add TextFieldValidity.None instead of nullable 2025-02-25 20:27:54 +01:00
ganfra 786c2adc97 design(text field) : allow setting validity (instead of just isError bool) 2025-02-25 15:45:43 +01:00
bmarty f549e7bba2 Sync Strings from Localazy 2025-02-17 00:30:17 +00:00
Benoit Marty 6b12d459ea Add unit test for SecureBackupRootState 2025-02-06 16:51:18 +01:00
Jorge Martin Espinosa 3c87fb05b2 Create SyncOrchestrator (#4176)
* Create `SyncOrchestrator` to centralise the sync start/stop flow through the whole app: the decision is based on several inputs: sync state, network available, app in foreground, app in call, app needing to sync an event for a notification.

* Make network monitor return network connectivity status, not internet connectivity

* Don't stop the `SyncService` when network connection is lost, let it fail instead. This prevents an issue when using the offline mode of the SDK, which made the wrong UI states to be shown when the `SyncState` is `Idle` (that is, after the service being manually stopped).

* Rename `NetworkStatus.Online/Offline` to `Connected/Disconnected` so they're not easily mistaken with internet connectivity instead
2025-02-06 16:36:57 +01:00
bmarty be91da966a Sync Strings from Localazy 2025-02-03 00:29:01 +00:00
Benoit Marty 1ecb704e24 Snackbar: SnackbarDispatcher.post does not need to be suspend. 2025-01-24 14:42:07 +01:00
bmarty bd1165179b Sync Strings from Localazy 2025-01-13 00:30:35 +00:00
Jorge Martin Espinosa bb74fed493 Replace the InfoListOrganism default bg color (#4091)
* Replace the `InfoListOrganism` default bg color

* Update screenshots

---------

Co-authored-by: ElementBot <android@element.io>
2025-01-07 14:01:42 +01:00
Benoit Marty 97f3be3dc5 Apply dual licenses: AGPL + Element Commercial to file headers.
2 replace all actions have been performed:
- "SPDX-License-Identifier: AGPL-3.0-only" to "SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial"
- "Please see LICENSE in the repository root for full details." to "Please see LICENSE files in the repository root for full details."
2025-01-07 10:05:04 +01:00
bmarty 45db2a97ad Sync Strings from Localazy 2024-12-23 00:16:39 +00:00
Benoit Marty 4d89c76e7b Update recovery key UI. Closes #4063 2024-12-18 16:07:02 +01:00
Benoit Marty c240b5da1a Format file (no other change) 2024-12-18 16:04:48 +01:00
bmarty ff3fbe9cbf Sync Strings from Localazy 2024-12-16 00:28:36 +00:00
bmarty e8218b3a7c Sync Strings from Localazy 2024-12-09 00:30:45 +00:00
bmarty 5f8007d6f1 Sync Strings from Localazy 2024-12-02 00:30:02 +00:00
Benoit Marty 646b92ac62 Change to better solution. 2024-11-29 09:07:47 +01:00
Benoit Marty da8056dcdb Fix navigation issue when entering recovery key after navigating from the banner. 2024-11-27 17:11:30 +01:00
ElementBot d9f8e9ce58 Sync Strings (#3936)
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2024-11-25 09:06:57 +00:00
ElementBot bc59a70043 Sync Strings - add translations to Finnish (#3883)
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2024-11-18 11:37:17 +00:00
ganfra cffd2da10b Merge pull request #3834 from element-hq/feature/fga/design_system_text_field
Design system : implement new TextField
2024-11-12 11:18:07 +01:00
ElementBot 156e27a761 Sync Strings (#3852)
* Sync Strings from Localazy

* Fix tests

---------

Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
2024-11-11 13:09:30 +01:00
ganfra acc6eb736b design : adjust some designs after textfield changes 2024-11-08 16:28:09 +01:00
ganfra 3910c42855 design : TextField2 is now TextField 2024-11-08 15:37:10 +01:00
ganfra 83caf94ccb design : remove some usages of TextField and LabelledTextField 2024-11-08 15:29:07 +01:00
ganfra e378b20868 design : removes usage of OutlinedTextField 2024-11-08 15:15:08 +01:00
bmarty 0b609db1db Sync Strings from Localazy 2024-11-04 00:27:46 +00:00
Benoit Marty 405543a953 Add missing tests. 2024-10-29 15:20:02 +01:00
Benoit Marty 1e0c212459 Crypto: iterate on wording, UI and UX.
Change wording of setup recovery key banner and change target to root.
Iterate on wording of encryption screen.
Change button to Switch.
Iterate on wording to delete key storage.
Iterate on wording and icon on the root setting.
Remove confirmation dialog when disabling backup.
Add subtitle to change recovery key action.
Enable key storage directly, remove quite empty screen to setup the backup.
Disable recovery action if key backup is disabled.
2024-10-29 14:54:59 +01:00
bmarty 1856363964 Sync Strings from Localazy 2024-10-28 00:27:09 +00:00
bmarty b179518962 Sync Strings from Localazy 2024-10-21 00:27:20 +00:00
Benoit Marty fb52657b12 Let AsyncAction.Confirming be an interface, with a AsyncAction.ConfirmingNoParams data object.
This will allow inheritance of `AsyncAction.Confirming` with parameter(s).
2024-10-14 10:49:55 +02:00
Benoit Marty 266210e264 Update the test, the wording of the button has changed. 2024-10-10 18:04:34 +02:00
Benoit Marty 3116c4535e Tweak screens related to crypto. 2024-10-10 16:44:11 +02:00
Benoit Marty 2d08c648e2 Rename SecureBackupConfig to LearnMoreConfig 2024-10-07 22:29:43 +02:00
bmarty e25ba65170 Sync Strings from Localazy 2024-10-07 00:28:33 +00:00
Jorge Martin Espinosa 79c17f714f Use Anvil KSP instead of the Square KAPT one (#3564)
* Use Anvil KSP instead of the Square KAPT one

* Fix several configuration cache, lint and test issues

* Allow incremental kotlin compilation in the CI

* Workaround Robolectric + Compose issue that caused `AppNotIdleException`

* Update the `enterprise` commit hash

* Update screenshots

---------

Co-authored-by: ElementBot <android@element.io>
2024-10-02 11:52:17 +00:00
Jorge Martin Espinosa f344a1282c Don't display security banner for unknown RecoveryState (#3579)
* Don't display security banner for unknown `RecoveryState`

* Don't display 'set up recovery' if its status is unknown.

Add more screenshot tests.

* Update screenshots

---------

Co-authored-by: ElementBot <android@element.io>
2024-10-02 09:28:33 +00:00
Jorge Martin Espinosa eeec7cc785 Centralise the DI code generation logic (#3562)
* Create Anvil extension helper

* Use the helper everywhere
2024-09-30 12:20:28 +00:00
bmarty 86373ad1f7 Sync Strings from Localazy 2024-09-30 00:26:52 +00:00
bmarty 1768f24fd0 Sync Strings from Localazy 2024-09-23 00:23:49 +00:00
bmarty d700bcf71f Sync Strings from Localazy 2024-09-17 11:44:31 +00:00
bmarty 4583ffeaf9 Sync Strings from Localazy 2024-09-17 11:05:35 +00:00
bmarty bb0a281342 Sync Strings from Localazy 2024-09-16 18:40:24 +00:00
bmarty 1035f9ae60 Sync Strings from Localazy 2024-09-16 00:25:04 +00:00
Benoit Marty f61df38e55 Migrate license to AGPL.
Run script `uv run license-editor --repository ../element-x-android`
2024-09-06 17:19:19 +02:00
Benoit Marty 4c274302c7 Fix wording issue. We know have a footer to explain that a passphrase will work. 2024-09-05 17:34:04 +02:00