Commit Graph

3121 Commits

Author SHA1 Message Date
Benoit Marty
b3b58f14d7 Remove strings screen_qr_code_login_.* from the ftue module. 2024-06-04 09:42:00 +02:00
Benoit Marty
b6803d4b7a Fix wording issue, 'screen_qr_code_login_no_camera_permission_state_description' needs the application name. 2024-06-04 09:14:20 +02:00
Jorge Martin Espinosa
0bf4819de2 Try fixing OOM by changing GC and adding RAM to the kotlin compiler (#2965)
* Try fixing OOM by changing GC and adding RAM to the kotlin compiler

* Add gradle cache to build apk job in maestro flow.

- Remove unnecessary dependency in `:features:call` module.

* Fix sonar in nightly reports

* Bump heap size of nightly reports
2024-06-03 11:28:51 +02:00
bmarty
f501f27d27 Sync Strings from Localazy 2024-06-03 00:24:07 +00:00
Jorge Martin Espinosa
35702c04e9 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>
2024-05-31 14:38:27 +02:00
Benoit Marty
e0c55ff4c8 Merge pull request #2957 from element-hq/feature/bma/konsistClassName
Konsist class name
2024-05-31 13:02:01 +02:00
Benoit Marty
dce8f0ea38 Rename function. 2024-05-31 10:51:10 +02:00
Benoit Marty
3b8372f2aa Add test on ForwardMessagesView 2024-05-31 10:51:09 +02:00
Benoit Marty
130bce178a Simplify ForwardMessagesState by using AsyncAction. 2024-05-31 10:51:08 +02:00
Benoit Marty
17c35885c4 Fix naming issue. 2024-05-31 10:20:43 +02:00
Benoit Marty
a00ee18f96 Add Konsist test Class with 'ContributeBinding' annotation should have allowed prefix and fix exissting issues.
Also remove annotation `DefaultPreferences`, we only have one implementation.
2024-05-31 10:18:08 +02:00
Benoit Marty
80a03ecd4e Remove LeaveRoomPresenterImplModule and use ContributesBinding 2024-05-31 09:51:32 +02:00
Benoit Marty
9367f58216 Rename some class from Impl to Default 2024-05-31 09:47:27 +02:00
Benoit Marty
155fd4ab81 Merge pull request #2948 from element-hq/feature/bma/konsistUpgrade
Konsist upgrade
2024-05-31 09:18:43 +02:00
ganfra
e0b96882a8 Merge branch 'develop' into renovate/org.maplibre.gl-android-sdk-11.x 2024-05-30 10:58:08 +02:00
Benoit Marty
cdf6f48112 Change Test class suffix. 2024-05-30 10:11:18 +02:00
Benoit Marty
ab6c428a61 Fix performance issue reported by Konsist test Sealed interface used in Composable MUST be Immutable or Stable 2024-05-29 18:05:03 +02:00
Benoit Marty
0e4b30e58d Merge pull request #2941 from element-hq/sync-localazy
Sync Strings
2024-05-29 16:27:17 +02:00
ganfra
395b3c4806 Merge branch 'develop' into renovate/org.maplibre.gl-android-sdk-11.x 2024-05-29 15:43:25 +02:00
Benoit Marty
0f71b3eb64 Add a Konsist test to check function parameter name, and fix existing issue. 2024-05-29 15:31:49 +02:00
bmarty
46b6ae6251 Sync Strings from Localazy 2024-05-29 12:44:57 +00:00
Benoit Marty
9744b6d00c Suppress ContentTrailingLambda for ExpandableBottomSheetScaffold 2024-05-29 12:40:49 +02:00
Benoit Marty
919849acc2 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.
2024-05-29 12:38:14 +02:00
Benoit Marty
c92e6eb2e3 Rename Event of PollHistoryEvents 2024-05-29 12:34:47 +02:00
Benoit Marty
df1dd6bba5 Rename some fun regarding polls 2024-05-29 12:32:51 +02:00
Benoit Marty
929d8d1549 Rename some Events regarding polls 2024-05-29 12:31:12 +02:00
Benoit Marty
87689d787e 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
ganfra
45188aea03 Merge pull request #2635 from element-hq/renovate/io.nlopez.compose.rules-detekt-0.x
Update dependency io.nlopez.compose.rules:detekt to v0.4.0
2024-05-29 10:06:37 +02:00
Jorge Martin Espinosa
801f0b955d Notifications: simplify the flow by removing persistence (#2924)
* Notifications: simplify the flow by removing persistence. 
* Bump of minSdk to `24` (Android 7).
* Add migration to remove `notification.bin` file
2024-05-29 08:03:23 +00:00
Benoit Marty
edc589b494 Merge pull request #2928 from element-hq/feature/bma/movePushSetting
Move push provider setting
2024-05-29 00:29:24 +02:00
Benoit Marty
fbce3f18ef Fix test 2024-05-28 18:47:27 +02:00
Benoit Marty
a9fbe8caed Remove obsolete comment. 2024-05-28 14:43:50 +02:00
Benoit Marty
004a562406 Add UI test on BlockedUserView 2024-05-28 14:33:21 +02:00
Benoit Marty
687b30bd5f Render data of blocked users (behind deactivated feature flag). 2024-05-28 14:33:21 +02:00
Benoit Marty
306b779ca5 Change type of NotificationSettingsState.currentPushDistributor from AsyncAction to AsyncData 2024-05-28 14:18:00 +02:00
Benoit Marty
144895d5b4 Apply .toImmutableList() only once. 2024-05-28 14:12:46 +02:00
Benoit Marty
25c20f1734 Set the value of currentDistributorName by reading again the value from the service. 2024-05-28 14:08:20 +02:00
Benoit Marty
69ecb40cdd Fix test, NotificationSettingsEvents.RefreshSystemNotificationsEnabled is emitting first. 2024-05-28 09:25:29 +02:00
Benoit Marty
8cd392a2b8 Merge branch 'develop' into renovate/io.nlopez.compose.rules-detekt-0.x 2024-05-28 08:59:36 +02:00
Benoit Marty
91a5411042 Remove unnecessary boundType parameter 2024-05-28 08:55:42 +02:00
Benoit Marty
f5b495d9ff Hide the advance setting section if there is no error and their is only one available push distributor. 2024-05-28 08:55:41 +02:00
Benoit Marty
eacc591824 Move setting to change push provider to the Notifications setting screen. #2912
Also improve previews of NotificationSettingsView.
2024-05-28 08:55:41 +02:00
Benoit Marty
8967b6c959 Merge pull request #2922 from element-hq/feature/bma/iterateOnPreferenceDesign2
Iterate on preference design
2024-05-28 00:36:28 +02:00
Benoit Marty
2866f6a205 Remove trailing comma 2024-05-27 17:23:42 +02:00
Benoit Marty
9065e9d2eb Merge pull request #2921 from element-hq/sync-localazy
Sync Strings
2024-05-27 15:52:38 +02:00
Benoit Marty
bbb44db297 Translations: pt -> pt-rBR 2024-05-27 14:51:32 +02:00
Benoit Marty
9b07e1cf71 Sync string again (fix lint issue) 2024-05-27 14:47:14 +02:00
Benoit Marty
223d0632cf Fix test by making the whole ListItem clickable.
Also improve height of View to let the test see the View.
2024-05-27 13:51:18 +02:00
Benoit Marty
a57b9cb49f 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
e632168c34 Merge pull request #2900 from element-hq/feature/bma/fakeClassesQuality
Fake classes name quality
2024-05-27 12:14:50 +02:00