bmarty
f3d286911c
Sync Strings from Localazy
3 months ago
Jorge Martin Espinosa
c8bd04ceb1
Sign in with QR code ( #2793 )
...
* Add QR code login.
* Add FF to disable it in release mode.
* Force portrait orientation on the login flow.
* Create `NumberedList` UI components.
* Improve camera permission dialog.
* Make nodes in qrcode feature use `QrCodeLoginScope` instead of `AppScope`
* Bump SDK version.
* Fix maestro tests
---------
Co-authored-by: Benoit Marty <benoit@matrix.org>
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
4 months ago
bmarty
ca5bc71057
Sync Strings from Localazy
4 months ago
Benoit Marty
e97e21e785
Move `content` @Composable to the end of the parameter list.
...
A @Composable `content` parameter should be moved to be the trailing lambda in a composable function.
4 months ago
Benoit Marty
37d9a9f5a9
Lambda parameters in a composable function should be in present tense, not past tense.
...
https://mrmans0n.github.io/compose-rules/rules/#naming-parameters-properly
4 months ago
Benoit Marty
b3e0f6e843
Translations: pt -> pt-rBR
4 months ago
Benoit Marty
9db215c2a9
Cleanup dependencies about junit.
4 months ago
ganfra
73905fa695
Pin : clean up after PR review #2692
4 months ago
bmarty
83a8a631f2
Sync Strings from Localazy
4 months ago
bmarty
0910da0a14
Sync Strings from Localazy
4 months ago
Benoit Marty
0476bd95c8
Open user profile and room with event from permalink
5 months ago
bmarty
4f82baa2b0
Sync Strings from Localazy
5 months ago
bmarty
5809864182
Sync Strings from Localazy
6 months ago
bmarty
c021809479
Sync Strings from Localazy
6 months ago
ElementBot
dac54e7154
Sync Strings ( #2523 )
...
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
6 months ago
Benoit Marty
6d31c7d1d3
Import string again with new post processing.
7 months ago
bmarty
5c8be8f61f
Sync Strings from Localazy
7 months ago
Benoit Marty
b9933acf98
Sync Localazy strings - including post treatment.
...
./tools/localazy/downloadStrings.sh --all
7 months ago
Benoit Marty
a7e38f0925
Sync Localazy strings.
...
./tools/localazy/downloadStrings.sh --all
7 months ago
Benoit Marty
f465a907b7
Preview must be internal.
7 months ago
Benoit Marty
df951851da
Fix copyright date on new files.
7 months ago
Benoit Marty
0f97f76089
Create extension to cleanup LogoutViewTest
7 months ago
Benoit Marty
8c2ff7bcc2
Add test on DefaultDirectLogoutView
7 months ago
Benoit Marty
016081e07e
Add more states in DirectLogoutStateProvider
7 months ago
Benoit Marty
7b43f64ce4
Add DirectLogoutStateProvider, and add preview for DefaultDirectLogoutView
7 months ago
Benoit Marty
6ddc2f5814
Make isLastSession "live"
7 months ago
Benoit Marty
daa90a0660
Remove feature flag `SecureStorage`
7 months ago
Benoit Marty
7ec876bc8a
Rename `isLastSession` to `isLastDevice`, to match SDK naming.
7 months ago
Jorge Martin Espinosa
b69cb8175a
Update Compound to v0.0.5 and update icons ( #2380 )
...
Update Compound to `v0.0.5`:
- Make sure we fix all the breaking changes.
- Update some icons to use the compound version instead.
-Replace icons with their Compound counterparts when possible.
- Clean up unused icons.
- Fix issues with incorrect icons or sizes being used after replacing the temporary icons with the Compound ones.
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
7 months ago
Benoit Marty
688c4dae22
Rename parameter, since it is also invoked in the confirmation dialog, not only for the error dialog.
8 months ago
bmarty
03c95555e3
Sync Strings from Localazy
8 months ago
Benoit Marty
eb51b49aef
Always use the `latest...` fix.
8 months ago
Benoit Marty
3ced570b3c
Fix detekt issue:
...
Lambda parameters in a @Composable that are referenced directly inside of restarting effects can cause issues or unpredictable behavior.
If restarting the effect is ok, you can add the reference to this parameter as a key in that effect, so when the parameter changes, a new effect is created.
However, if the effect is not to be restarted, you will need to use `rememberUpdatedState` on the parameter and use its result in the effect.
See https://mrmans0n.github.io/compose-rules/rules/#be-mindful-of-the-arguments-you-use-inside-of-a-restarting-effect for more information. [LambdaParameterInRestartableEffect]
8 months ago
ElementBot
6bc080c279
Sync Strings ( #2230 )
...
Co-authored-by: bmarty <bmarty@users.noreply.github.com>
8 months ago
Benoit Marty
5d086ad82d
Fix moar ktlint issues
8 months ago
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>
8 months ago
Benoit Marty
5e42368965
Add missing test for LogoutView
8 months ago
Benoit Marty
2a6a3ded5e
Iterate on EnsureCalledOnce devX
9 months ago
Benoit Marty
2c667a0dc0
Add `run` method to EnsureCalledOnce and EnsureCalledOnceWithParam to ensure that `assertSuccess` is always called.
9 months ago
Benoit Marty
dee8008917
Use string resource instead of hard-coded strings.
9 months ago
Benoit Marty
7944804cd9
Fix test in release.
9 months ago
Benoit Marty
44ad93f625
Add first tests on compose click interaction.
9 months ago
Benoit Marty
1fcb8fea00
Fix flaky test using deterministic `awaitFirstItem` instead of `awaitLastSequentialItem`
9 months ago
Benoit Marty
7b2341aec7
Rename Async to AsyncData
9 months ago
Benoit Marty
d953c979e1
Introduce AsyncAction with a Confirmation state and use it for logout action.
9 months ago
Benoit Marty
7db7a32d43
Use a RetryDialog here, it does not change the rendering, but is more appropriate.
9 months ago
Benoit Marty
481d80d1f0
Add comment to clarify the `SteadyException` case.
9 months ago
Benoit Marty
1f2b2df469
Quality
9 months ago
Benoit Marty
c871dc2492
Add test for `DefaultDirectLogoutPresenter`
9 months ago
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.
9 months ago