ElementBot
6bc080c279
Sync Strings ( #2230 )
...
Co-authored-by: bmarty <bmarty@users.noreply.github.com>
2024-01-15 09:21:04 +01:00
Benoit Marty
92d8e4f55b
Merge branch 'develop' into feature/bma/sxcludePreviewFromCodeCoverage
2024-01-11 16:02:58 +01:00
Benoit Marty
5d086ad82d
Fix moar ktlint issues
2024-01-11 10:02:10 +01:00
renovate[bot]
c8bd362397
Update plugin ktlint to v12.1.0 ( #2200 )
...
* Update plugin ktlint to v12.1.0
* Run `./gradlew ktlintFormat` and fix some issues manually.
* Fix other issues reproted by Ktlint
* Limit false positives, KtLint removes unnecessary curly brace in String templates.
* Remove useless Unit
* Minor improvements over ktlint changes
* Restore `AlertDialogContent` behaviour
* Update screenshots
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Benoit Marty <benoit@matrix.org>
Co-authored-by: Jorge Martín <jorgem@element.io>
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-01-10 16:22:24 +01:00
Benoit Marty
5e42368965
Add missing test for LogoutView
2024-01-09 17:53:24 +01:00
Benoit Marty
2a6a3ded5e
Iterate on EnsureCalledOnce devX
2024-01-08 10:07:48 +01:00
Benoit Marty
2c667a0dc0
Add run method to EnsureCalledOnce and EnsureCalledOnceWithParam to ensure that assertSuccess is always called.
2024-01-08 10:01:26 +01:00
Benoit Marty
dee8008917
Use string resource instead of hard-coded strings.
2024-01-08 09:50:08 +01:00
Benoit Marty
7944804cd9
Fix test in release.
2024-01-05 18:20:26 +01:00
Benoit Marty
44ad93f625
Add first tests on compose click interaction.
2024-01-05 18:00:44 +01:00
Benoit Marty
1fcb8fea00
Fix flaky test using deterministic awaitFirstItem instead of awaitLastSequentialItem
2024-01-05 09:31:54 +01:00
Benoit Marty
7b2341aec7
Rename Async to AsyncData
2024-01-04 16:30:56 +01:00
Benoit Marty
d953c979e1
Introduce AsyncAction with a Confirmation state and use it for logout action.
2024-01-04 15:56:16 +01:00
Benoit Marty
7db7a32d43
Use a RetryDialog here, it does not change the rendering, but is more appropriate.
2023-12-26 15:42:44 +01:00
Benoit Marty
481d80d1f0
Add comment to clarify the SteadyException case.
2023-12-26 15:39:56 +01:00
Benoit Marty
1f2b2df469
Quality
2023-12-26 13:24:59 +01:00
Benoit Marty
c871dc2492
Add test for DefaultDirectLogoutPresenter
2023-12-26 12:38:03 +01:00
Benoit Marty
2b983e923e
Sign out: direct flow if not last session and if not currently backing up keys #2072
...
Extract some stuff from existing Logout to avoid duplication.
2023-12-26 12:17:09 +01:00
bmarty
e6f4a7364f
Sync Strings from Localazy
2023-12-26 09:39:48 +01:00
Benoit Marty
b9b746bea7
Attempt to fix test on CI.
...
The test is failing on CI with this error:
expected instance of: io.element.android.libraries.architecture.Async$Success
but was instance of : io.element.android.libraries.architecture.Async$Loading
with value : Loading(prevData=null)
2023-12-26 08:32:18 +01:00
Jorge Martín
c5c920cfa6
Revert "Merge pull request #2071 from element-hq/feature/bma/fixTests"
...
This reverts commit 19edf067fa , reversing
changes made to fb766f5176 .
2023-12-22 12:01:42 +01:00
Benoit Marty
258e074978
Last attempt...
2023-12-20 15:13:27 +01:00
Benoit Marty
f94f5e4713
Second attempt...
2023-12-20 14:33:16 +01:00
Benoit Marty
139f5cdf72
Attempt to fix test on CI.
...
The test is failing on CI with this error:
expected instance of: io.element.android.libraries.architecture.Async$Success
but was instance of : io.element.android.libraries.architecture.Async$Loading
with value : Loading(prevData=null)
2023-12-20 09:15:50 +01:00
Benoit Marty
14b20b7e59
Attempt to fix test on CI
2023-12-15 19:14:54 +01:00
Benoit Marty
b0dabb128d
Fix test in release
...
Be deterministic to try to fix test on CI.
2023-12-15 18:44:39 +01:00
Benoit Marty
21945004de
Fix title of sign out screen regarding the different states
2023-12-15 18:44:08 +01:00
Benoit Marty
39cca2ce09
Sync localazy using fixed script
2023-12-08 19:24:35 +01:00
Benoit Marty
24d3981261
Run the script again.
2023-12-05 12:25:59 +01:00
bmarty
fced91addb
Sync Strings from Localazy
2023-12-04 00:09:56 +00:00
Marco Romano
6ea26dd6c4
Upgrade to rust sdk 0.1.71 ( #1905 )
...
https://github.com/matrix-org/matrix-rust-components-kotlin/releases/tag/sdk-v0.1.71
There are breaking changes as specified in: https://github.com/vector-im/element-x-android/issues/1898 plus the one related to the poll history feature.
2023-11-29 10:34:51 +01:00
Jorge Martin Espinosa
087d2728d5
Extract compound tokens and theming to compound-android library ( #1888 )
...
* Replace tokens & icons with the external Compound ones
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-11-27 10:30:07 +01:00
ElementBot
3bf34eae01
Sync Strings ( #1789 )
...
Co-authored-by: bmarty <bmarty@users.noreply.github.com>
2023-11-13 12:31:34 +01:00
Benoit Marty
7bd2ccd2a9
FlowStepPage: make onBackClicked nullable and remove canGoBack.
2023-11-07 10:59:22 +01:00
Benoit Marty
163bc8703f
Rename UserStoryFlowPage to FlowStepPage
...
Rename UserStoryFlowPage to FlowStepPage
2023-11-07 10:59:22 +01:00
Benoit Marty
85fa899b5d
Let LogoutView use UserStoryFlowPage.
2023-11-07 10:53:21 +01:00
bmarty
2fca8412b2
Sync Strings from Localazy
2023-11-06 08:23:40 +00:00
Benoit Marty
250389633b
Progress for LinearProgressIndicator and CircularProgressIndicator are now lambdas.
2023-11-02 14:51:42 +01:00
Benoit Marty
23cf703925
Fix maestro test.
2023-11-02 09:23:07 +01:00
Benoit Marty
6143ea8764
Fix tests
2023-10-31 22:28:59 +01:00
Benoit Marty
d09d95b269
Avoid runBlocking. Start with a nullable boolean.
2023-10-31 21:52:33 +01:00
Benoit Marty
5013ff061e
Secure backup: create a feature flag (disabled)
2023-10-31 21:52:33 +01:00
Benoit Marty
7e1b991654
Consider keys are backing up only for SteadyStateException.Connection
2023-10-31 21:03:43 +01:00
Benoit Marty
2f62779ad4
Sign out: handle no network error.
2023-10-31 21:03:43 +01:00
Benoit Marty
20d6383b8a
Map new state BackupUploadState.Error
2023-10-31 21:03:43 +01:00
Benoit Marty
5728d621bb
Merge pull request #1648 from vector-im/feature/bma/secureBackup
...
Secure backup
2023-10-30 21:29:54 +01:00
Benoit Marty
2d2088ce9a
Fix test.
2023-10-30 20:16:18 +01:00
Benoit Marty
90b377b3a5
Secure Storage: improve API for waitForBackupUploadSteadyState()
2023-10-30 20:16:18 +01:00
Benoit Marty
0db487fa42
Secure backup and sign out: add TopBar with Back button.
2023-10-30 20:16:18 +01:00
bmarty
ffd02b831e
Sync Strings from Localazy
2023-10-30 14:50:36 +00:00