Commit Graph

352 Commits

Author SHA1 Message Date
ElementBot fd6bcb7857 Sync Strings (#3077)
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2024-06-24 09:29:35 +02:00
Benoit Marty 7d0323d708 Create extension RoomSummaryDetails.getAvatarData to avoid code duplication. 2024-06-20 16:16:55 +02:00
Benoit Marty 33c76dfd2d Use extension MatrixUser.getAvatarData and fix compilation issue. 2024-06-20 16:06:33 +02:00
Benoit Marty ad02e05bf4 Use heroes to render room avatars 2024-06-20 13:10:25 +02:00
Benoit Marty a0f21d0b63 Add enum EditProfileDetails instead of reusing RoomHeader 2024-06-20 11:43:15 +02:00
Benoit Marty f09b77f72f Update test after merging develop. 2024-06-18 10:33:07 +02:00
Benoit Marty 69dbb08034 Merge branch 'develop' into feature/bma/fixFdroidNotification 2024-06-18 10:28:04 +02:00
Benoit Marty 849f64f4aa Merge pull request #3044 from element-hq/feature/bma/testDefaultClearCacheUseCase
Add test on DefaultClearCacheUseCase
2024-06-18 10:27:45 +02:00
Jorge Martin Espinosa b741c32e91 Add full screen intent permissions banner (#3024)
* Add full screen intent permissions banner, creating `:libraries:fullscreenintent` modules.
* Add it to notification settings too:
    - Create `libraries:fullscreenintent` modules for the permission presenter and associated data.
    - Add the presenter and states to `NotificationSettingsPresenter` and `NotificationSettingsView`.
* Use the right API to check for full screen intent permissions.
- Use the right package name for `:libraries:permission` contents.
* Fix broken tests (flaky?)
* Ignore coverage verification for fake and small presenters

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-06-18 07:41:10 +00:00
Benoit Marty 9349f1bf6a Remove trailing line. 2024-06-17 18:58:07 +02:00
Benoit Marty e12f723ff7 Fix test compilation issue. 2024-06-17 17:38:10 +02:00
Benoit Marty 1f8b525548 Fix back navigation issue, when opening directly the notification troubleshoot screen. 2024-06-17 16:53:21 +02:00
Benoit Marty 5180ce388c Add a shortcut to navigate to the notification settings in case of error. 2024-06-17 16:29:10 +02:00
Benoit Marty b916aee958 Add test on DefaultClearCacheUseCase 2024-06-17 16:01:56 +02:00
Benoit Marty 4de151cae8 Rename member. 2024-06-17 15:18:22 +02:00
Benoit Marty 7d1e841c68 Rename member. 2024-06-17 14:48:52 +02:00
Benoit Marty abc0e7edf7 Move setIgnoreRegistrationError call. 2024-06-17 14:48:51 +02:00
Benoit Marty 64930e4435 Add ability to not show the pusher registration again. 2024-06-17 11:38:32 +02:00
bmarty 9288b90ac6 Sync Strings from Localazy 2024-06-17 00:23:40 +00:00
Benoit Marty 5dfd6b8193 Merge pull request #3022 from element-hq/feature/bma/notificationSetting
Improve UX on notification setting changes
2024-06-13 14:08:08 +02:00
Jorge Martin Espinosa cd045027dc Add hidden developer settings in release builds too (#3020)
* Add hidden developer settings to release builds

* Add changelog
2024-06-13 13:08:56 +02:00
Benoit Marty 0233e867ed Remove unused import 2024-06-12 13:54:11 +02:00
Benoit Marty 4dff3e9cce Ensure that the Loading Dialog and the toggles update at the same time. 2024-06-12 12:50:55 +02:00
Jorge Martin Espinosa 55a1ac4bb5 Fix tracing configuration in debug and nightlies (#3019)
* Fix tracing configuration in debug and nightlies:

- Debug will now write the logs to disk too.
- Nightly will be able to customise tracing filters.
- Improved the configure tracing and bug report screens.

* Update screenshots

* Add changelog

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-06-12 10:20:43 +00: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 3fa508f1fe 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 ec8cb2e32f Change Test class suffix. 2024-05-30 10:11:18 +02: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
Jorge Martin Espinosa 04e503177b 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 17678add86 Merge pull request #2928 from element-hq/feature/bma/movePushSetting
Move push provider setting
2024-05-29 00:29:24 +02:00
Benoit Marty 35a02a2a12 Fix test 2024-05-28 18:47:27 +02:00
Benoit Marty b2c8299be3 Remove obsolete comment. 2024-05-28 14:43:50 +02:00
Benoit Marty 48b58b47b9 Add UI test on BlockedUserView 2024-05-28 14:33:21 +02:00
Benoit Marty 643acb17b6 Render data of blocked users (behind deactivated feature flag). 2024-05-28 14:33:21 +02:00
Benoit Marty 9a24e7d4af Change type of NotificationSettingsState.currentPushDistributor from AsyncAction to AsyncData 2024-05-28 14:18:00 +02:00
Benoit Marty ab99137baf Apply .toImmutableList() only once. 2024-05-28 14:12:46 +02:00
Benoit Marty 3349df5a24 Set the value of currentDistributorName by reading again the value from the service. 2024-05-28 14:08:20 +02:00
Benoit Marty ea3a7855b3 Fix test, NotificationSettingsEvents.RefreshSystemNotificationsEnabled is emitting first. 2024-05-28 09:25:29 +02:00
Benoit Marty c253da11b0 Remove unnecessary boundType parameter 2024-05-28 08:55:42 +02:00
Benoit Marty 05b3337e6f 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 300ca40af4 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 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 6c11fb8bac Remove trailing comma 2024-05-27 17:23:42 +02:00
Benoit Marty b3e0f6e843 Translations: pt -> pt-rBR 2024-05-27 14:51:32 +02:00
Benoit Marty b30076ecca 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 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
bmarty f24e537580 Sync Strings from Localazy 2024-05-27 00:17:53 +00:00