Commit Graph

144 Commits

Author SHA1 Message Date
Benoit Marty eb8d7e2166 Some renaming. 2024-07-10 16:27:29 +02:00
Benoit Marty 85428fbcfb No need to be a member of the class. 2024-07-10 16:26:09 +02:00
Benoit Marty d1a4fd76de Some renaming. 2024-07-10 16:25:20 +02:00
Benoit Marty 6d6de1ae3d Rework. Keep io.element.android.appconfig.LockScreenConfig as simple as possible. 2024-07-10 16:25:20 +02:00
Benoit Marty bb5ae89b2f Introduce ElementThemeApp to avoid code duplication. 2024-07-09 11:10:10 +02:00
Benoit Marty 9856ece42a Ensure PinUnlockActivity and IncomingCallActivity use the internal theme set by the user. 2024-07-08 18:17:44 +02:00
jmartinesp dabaa2d265 Sync Strings from Localazy 2024-07-03 11:21:27 +00:00
Jorge Martin Espinosa b0cebf5ca0 Improve screenshot testing with ComposablePreviewScanner (#3125)
* Use ComposablePreviewScanner to rework how screenshot testing works
* Add test sharding
* Update screenshots
* Fixes for Element Gallery

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
Co-authored-by: Benoit Marty <benoit@matrix.org>
2024-07-03 13:05:06 +02:00
Benoit Marty fdc81c4b95 Fix wrong dependencies.
Detected by Sonar: https://sonarcloud.io/project/issues?id=vector-im_element-x-android&open=AY1oUC_Jzk7jMkPkjDmI
2024-06-13 16:55:42 +02:00
bmarty f3d286911c Sync Strings from Localazy 2024-06-10 00:17:04 +00:00
bmarty 66636ea967 Sync Strings from Localazy 2024-06-03 00:24:07 +00:00
Benoit Marty f5a0e83cb2 Merge pull request #2941 from element-hq/sync-localazy
Sync Strings
2024-05-29 16:27:17 +02:00
bmarty ca5bc71057 Sync Strings from Localazy 2024-05-29 12:44:57 +00:00
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
2024-05-29 12:18:23 +02:00
Benoit Marty d0b2233a7b Merge pull request #2922 from element-hq/feature/bma/iterateOnPreferenceDesign2
Iterate on preference design
2024-05-28 00:36:28 +02:00
Benoit Marty 3a39e2a3ec Merge pull request #2921 from element-hq/sync-localazy
Sync Strings
2024-05-27 15:52:38 +02:00
Benoit Marty b3e0f6e843 Translations: pt -> pt-rBR 2024-05-27 14:51:32 +02:00
Benoit Marty 34f7819702 Let Preference composables use ListItem.
Let PreferenceCheckbox use ListItem and add missing previews.
Let PreferenceCategory use ListSectionHeader
Let PreferenceSlide use ListItem
Let PreferenceRow use ListItem
Let PreferenceText use ListItem
2024-05-27 12:19:10 +02:00
Benoit Marty 7911fda1fa Rename class (code quality) 2024-05-23 14:42:06 +02:00
ganfra ac123bdcd8 Merge pull request #2874 from element-hq/feature/fga/fix_2692
Fix modal contents overlapping screen lock pin #2692
2024-05-21 15:53:51 +02:00
Benoit Marty 5c4326eec5 Correct date for Copyright 2024-05-21 11:10:43 +02:00
ganfra 73905fa695 Pin : clean up after PR review #2692 2024-05-20 16:34:26 +02:00
bmarty 83a8a631f2 Sync Strings from Localazy 2024-05-20 00:23:05 +00:00
ganfra b0c369ee1a Fix modal contents overlapping screen lock pin #2692 2024-05-17 18:40:16 +02:00
bmarty 0910da0a14 Sync Strings from Localazy 2024-05-13 12:47:48 +00:00
bmarty 68fdaef8b8 Sync Strings from Localazy 2024-05-06 00:19:35 +00:00
Benoit Marty 0476bd95c8 Open user profile and room with event from permalink 2024-05-02 12:25:21 +02:00
bmarty 4f82baa2b0 Sync Strings from Localazy 2024-04-29 00:18:59 +00:00
bmarty 68631af9a6 Sync Strings from Localazy 2024-04-22 00:18:11 +00:00
Benoit Marty 74a9a54719 Rename Preview to follow code convention 2024-04-19 14:30:45 +02:00
bmarty 8f6a1b410e Sync Strings from Localazy 2024-04-15 11:40:19 +00:00
Benoit Marty 810e4919bc Sync strings. 2024-04-10 12:36:41 +02:00
Jorge Martin Espinosa cf072fa1e1 Improve session recovery screens (#2657)
* Improve enter recovery key screen UI

* Add instructions to reset the encryption of the logged in account.

* Update screenshots

* Fix maestro flow

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-04-09 17:01:06 +00:00
bmarty e6bd14a1a9 Sync Strings from Localazy 2024-04-08 00:20:53 +00:00
Benoit Marty e18e5f1cc5 Run ./tools/localazy/downloadStrings.sh --all 2024-04-02 18:12:36 +02:00
bmarty 5809864182 Sync Strings from Localazy 2024-04-01 00:17:18 +00:00
bmarty c021809479 Sync Strings from Localazy 2024-03-12 13:54:03 +00:00
ElementBot dac54e7154 Sync Strings (#2523)
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2024-03-11 08:46:07 +00:00
ElementBot f2169aaaa8 Sync Strings (#2484)
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2024-03-05 09:10:47 +01:00
Benoit Marty 041c7f5558 Avoid consumeItemsUntilPredicate and try the deterministic way. 2024-02-27 22:17:11 +01:00
ganfra 2be4beafd5 PinUnlock tests: do not use awaitLastSequentialItem... 2024-02-27 20:31:09 +01:00
Benoit Marty 6d31c7d1d3 Import string again with new post processing. 2024-02-26 21:36:28 +01:00
bmarty 5c8be8f61f Sync Strings from Localazy 2024-02-26 18:17:16 +00:00
Benoit Marty b9933acf98 Sync Localazy strings - including post treatment.
./tools/localazy/downloadStrings.sh --all
2024-02-23 17:45:22 +01:00
Benoit Marty a7e38f0925 Sync Localazy strings.
./tools/localazy/downloadStrings.sh --all
2024-02-23 12:23:11 +01:00
Benoit Marty b104dba845 Remove Modifier parameter in private function when only default value is used.
This will improve the code coverage metrics, and this also fixes a few potential bug, where the Modifier was used several times.
2024-02-08 11:06:06 +01:00
bmarty 03c95555e3 Sync Strings from Localazy 2024-02-05 00:09:59 +00:00
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]
2024-01-23 18:13:33 +01:00
ElementBot 6bc080c279 Sync Strings (#2230)
Co-authored-by: bmarty <bmarty@users.noreply.github.com>
2024-01-15 09:21:04 +01:00
Benoit Marty 5d086ad82d Fix moar ktlint issues 2024-01-11 10:02:10 +01:00