Commit Graph

4435 Commits

Author SHA1 Message Date
Benoit Marty 23c3e30876 Merge pull request #1745 from vector-im/feature/bma/lint
Feature/bma/lint
2023-11-06 18:50:22 +01:00
Benoit Marty 64b7c906db Merge pull request #1742 from vector-im/sync-localazy
Sync Strings
2023-11-06 16:05:01 +01:00
Benoit Marty 5de8841d96 Upgrade lint to version 8.3.0-alpha11 and suppress false positive. 2023-11-06 16:03:16 +01:00
Benoit Marty 12ca31282e Remove dependency on material library. 2023-11-06 16:03:10 +01:00
Benoit Marty 9402421929 Let lint analysis the module :appconfig.
We had this warning:
Lint will treat :appconfig as an external dependency and not analyze it.
 * Recommended Action: Apply the 'com.android.lint' plugin to java library project :appconfig. to enable lint to analyze those sources.
2023-11-06 16:03:03 +01:00
Benoit Marty 9e63dfa9b8 Merge pull request #1738 from vector-im/feature/bma/AsyncView
Introduce AsyncView to avoid repeating ourselves
2023-11-06 15:43:18 +01:00
Benoit Marty 92763be1aa Fix Konsist test. Was causing issue with AsyncProvider : PreviewParameterProvider<Async<Unit>> 2023-11-06 15:00:46 +01:00
ElementBot b8b5874d1a Update screenshots 2023-11-06 13:57:15 +00:00
Benoit Marty e984b9bb5c Introduce AsyncViewDefaults for ProgressDialog 2023-11-06 10:42:15 +01:00
Benoit Marty 7bb5f3b056 BugReportView: show progress in the button, not as a dialog. 2023-11-06 10:09:41 +01:00
Benoit Marty ffccbb5d90 Use AsyncView in SecureBackupEnterRecoveryKeyView 2023-11-06 10:09:41 +01:00
Benoit Marty 8cd4ac3303 Use AsyncView in RoomNotificationSettingsView and UserDefinedRoomNotificationSettingsView 2023-11-06 10:09:41 +01:00
Benoit Marty fb4216c827 Use AsyncView in RoomDetailsEditView 2023-11-06 10:09:41 +01:00
Benoit Marty f49a506d6a Use AsyncView in BugReportView 2023-11-06 10:09:41 +01:00
Benoit Marty aaa89afe34 Use AsyncView in EditUserProfileView 2023-11-06 10:09:41 +01:00
Benoit Marty 6ad2c99576 Use AsyncView in EditDefaultNotificationSettingView 2023-11-06 10:09:41 +01:00
Benoit Marty cc5321f65a Use AsyncView in NotificationSettingsView 2023-11-06 10:09:41 +01:00
Benoit Marty 1e09d9c65f Use AsyncView in ReportMessageView 2023-11-06 10:09:41 +01:00
Benoit Marty 31d1685709 Use AsyncView in OidcView 2023-11-06 10:09:41 +01:00
Benoit Marty 662b1f8f50 Use AsyncView in CreateRoomRootView 2023-11-06 10:09:41 +01:00
Benoit Marty c6ee35f567 Use AsyncView in ConfigureRoomView 2023-11-06 10:09:41 +01:00
Benoit Marty d700b0bc4e Introduce AsyncView to limit duplicated code. 2023-11-06 10:09:41 +01:00
bmarty 2fca8412b2 Sync Strings from Localazy 2023-11-06 08:23:40 +00:00
Benoit Marty fe69db397f Merge pull request #1731 from vector-im/feature/bma/variousCleanup
Konsist: check if sealed class could be sealed interface
2023-11-03 18:09:49 +01:00
Benoit Marty 6fda11aff0 Convert Data.Audio to data class, and implement equals and hashCode as suggested. 2023-11-03 17:32:38 +01:00
Benoit Marty f37c0f459e Merge pull request #1735 from vector-im/feature/bma/pinLockGracePeriod0
Pin lock grace period set to 0
2023-11-03 17:24:29 +01:00
renovate[bot] befed299fc Update showkase to v1.0.2 (#1383)
* Update showkase to v1.0.2

* Update screenshots

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-11-03 16:04:29 +01:00
Benoit Marty 9f30aa3108 Rename test. 2023-11-03 15:19:55 +01:00
Benoit Marty 21200df294 Konsist: check that if sealed interface is used in parameter of Composable, it has the @Stable or @Immutable annotation 2023-11-03 15:19:55 +01:00
Benoit Marty 3092ca23f0 Konsist: check if sealed class could be sealed interface and fix existing issues. 2023-11-03 15:19:55 +01:00
jonnyandrew ddc1e1d0cc Display duration of recorded voice message (#1733)
---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-11-03 12:59:36 +00:00
Jorge Martin Espinosa 14dc8e1059 Replace suffixes for @PreviewsDayNight annotation (#1736)
* Replace suffix for PreviewsDayNight annotation

* Rename Preview, since its filename was way too long

* Update screenshots

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-11-03 12:19:12 +00:00
Jorge Martin Espinosa 1f5a135072 Use Parallel GC and bump RAM usage (#1734)
* Use Parallel GC and bump RAM usage

* Build only `app` project in `Build APKs (debug)` flow.

* Remove redundant JNA dependency
2023-11-03 10:34:49 +01:00
Benoit Marty e0a975835b Set lock grace period to 0 #1732 2023-11-03 09:47:37 +01:00
Benoit Marty 3c48ee23e9 Small cleanup 2023-11-03 09:47:01 +01:00
Benoit Marty ccfc4c3bac Merge pull request #1730 from vector-im/feature/bma/uselessByLazy
Remove useless by lazy wrapping
2023-11-02 17:07:14 +01:00
Benoit Marty 4a62edc86a Merge pull request #1597 from vector-im/renovate/androidx.compose.material3-material3-1.x
Update dependency androidx.compose.material3:material3 to v1.2.0-alpha10
2023-11-02 17:06:11 +01:00
Jorge Martin Espinosa 56a024fc00 Only build app module for Maestro tests. (#1727)
This should save some time since the sample module would no longer be built.
2023-11-02 17:01:33 +01:00
Benoit Marty f6d7a014a7 Remove other useless lazy wrapping. 2023-11-02 16:28:50 +01:00
Benoit Marty a1b97fe99e Remove useless wrapping in lazy block, since the value was assigned later during object construction. 2023-11-02 16:14:21 +01:00
jonnyandrew 5080df3262 Add voice message 'hold to record' tooltip (#1710)
---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-11-02 14:29:05 +00:00
Benoit Marty 8cc541b5fc Merge pull request #1726 from vector-im/feature/bma/improveDialogApi
Improve dialog api
2023-11-02 15:05:47 +01:00
Benoit Marty 250389633b Progress for LinearProgressIndicator and CircularProgressIndicator are now lambdas. 2023-11-02 14:51:42 +01:00
renovate[bot] 2a0209e14d Update dependency androidx.compose.material3:material3 to v1.2.0-alpha10 2023-11-02 13:41:40 +00:00
Benoit Marty d640b04728 Merge pull request #1691 from vector-im/jonny/fix-composer-scaling
Fix scaling of composer UI
2023-11-02 14:40:52 +01:00
Benoit Marty 2f3775fc11 Merge pull request #1724 from vector-im/renovate/io.sentry-sentry-android-6.x
Update dependency io.sentry:sentry-android to v6.33.0
2023-11-02 14:40:00 +01:00
ElementBot 235376dc0d Update screenshots 2023-11-02 13:30:15 +00:00
Benoit Marty 6db4f34d1b Add preview for dialog with a third button 2023-11-02 14:13:44 +01:00
Benoit Marty 5f3770d4dd If there is only one button, use a TextButton. 2023-11-02 14:09:20 +01:00
Benoit Marty 1ba2a22eda Reorder parameters for readability 2023-11-02 14:02:32 +01:00