Commit Graph

396 Commits

Author SHA1 Message Date
ElementBot
072daa080a Sync Strings (#3077)
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2024-06-24 09:29:35 +02:00
Benoit Marty
7cdcf872b3 Create extension RoomSummaryDetails.getAvatarData to avoid code duplication. 2024-06-20 16:16:55 +02:00
Benoit Marty
9f7f0b9acb Use extension MatrixUser.getAvatarData and fix compilation issue. 2024-06-20 16:06:33 +02:00
Benoit Marty
11e4ee34ed Use heroes to render room avatars 2024-06-20 13:10:25 +02:00
Benoit Marty
ff63755165 Add enum EditProfileDetails instead of reusing RoomHeader 2024-06-20 11:43:15 +02:00
Benoit Marty
83bfa3d9fc Update test after merging develop. 2024-06-18 10:33:07 +02:00
Benoit Marty
1d5970adbc Merge branch 'develop' into feature/bma/fixFdroidNotification 2024-06-18 10:28:04 +02:00
Benoit Marty
038b60a271 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
feef0f6976 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
8dbb55180f Remove trailing line. 2024-06-17 18:58:07 +02:00
Benoit Marty
ff201c6412 Fix test compilation issue. 2024-06-17 17:38:10 +02:00
Benoit Marty
059c0dfe59 Fix back navigation issue, when opening directly the notification troubleshoot screen. 2024-06-17 16:53:21 +02:00
Benoit Marty
2e8b63c006 Add a shortcut to navigate to the notification settings in case of error. 2024-06-17 16:29:10 +02:00
Benoit Marty
4a885769be Add test on DefaultClearCacheUseCase 2024-06-17 16:01:56 +02:00
Benoit Marty
feb6930222 Rename member. 2024-06-17 15:18:22 +02:00
Benoit Marty
4b57c78a57 Rename member. 2024-06-17 14:48:52 +02:00
Benoit Marty
26fd24b341 Move setIgnoreRegistrationError call. 2024-06-17 14:48:51 +02:00
Benoit Marty
366d6c017d Add ability to not show the pusher registration again. 2024-06-17 11:38:32 +02:00
bmarty
7b27ba116d Sync Strings from Localazy 2024-06-17 00:23:40 +00:00
Benoit Marty
19b7f2415f 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
1a0a28d966 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
351d94ad85 Remove unused import 2024-06-12 13:54:11 +02:00
Benoit Marty
f24036d688 Ensure that the Loading Dialog and the toggles update at the same time. 2024-06-12 12:50:55 +02:00
Jorge Martin Espinosa
54845866a6 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
57510316ec Sync Strings from Localazy 2024-06-10 00:17:04 +00:00
bmarty
f501f27d27 Sync Strings from Localazy 2024-06-03 00:24:07 +00: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
cdf6f48112 Change Test class suffix. 2024-05-30 10:11:18 +02:00
Benoit Marty
0e4b30e58d Merge pull request #2941 from element-hq/sync-localazy
Sync Strings
2024-05-29 16:27:17 +02:00
bmarty
46b6ae6251 Sync Strings from Localazy 2024-05-29 12:44:57 +00: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
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
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
bbb44db297 Translations: pt -> pt-rBR 2024-05-27 14:51:32 +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
bmarty
52be64fe73 Sync Strings from Localazy 2024-05-27 00:17:53 +00:00