Commit Graph

4501 Commits

Author SHA1 Message Date
Benoit Marty
3010f9313b Merge pull request #5600 from element-hq/feature/bma/deletePinCode
Delete pin code only when the last session is deleted
2025-10-24 09:47:57 +02:00
ganfra
6008af36ec Merge pull request #5599 from element-hq/feature/fga/home_topbar_2
Design : update Home TopBar and RoomList Filters
2025-10-23 18:29:40 +02:00
Benoit Marty
5d1696b122 Fix detekt issue. 2025-10-23 18:03:22 +02:00
Benoit Marty
bc8db88a03 Add unit test on DefaultLockScreenService 2025-10-23 17:20:36 +02:00
Benoit Marty
fdc64e9be7 Use TestScope.backgroundScope 2025-10-23 16:48:24 +02:00
Benoit Marty
b8c7e16c50 Add test on wasLastSession value. 2025-10-23 16:48:23 +02:00
Benoit Marty
2d1b4b1ede Rename fixture fun for clarity. 2025-10-23 16:48:22 +02:00
Benoit Marty
66d8e6210d Add default implementation to SessionListener 2025-10-23 16:48:20 +02:00
ganfra
eb2b527236 design(home) : use enterAlwaysScrollBehavior for the RoomListFiltersView 2025-10-23 16:41:43 +02:00
Benoit Marty
44e125dbc7 Add parameter wasLastSession to SessionListener.onSessionDeleted 2025-10-23 16:20:15 +02:00
Benoit Marty
17e69974c7 Cleanup 2025-10-23 15:39:23 +02:00
Benoit Marty
44b5ad48f1 Remove dependency on AppNavigationStateService from DefaultUnifiedPushCurrentUserPushConfigProvider 2025-10-23 15:37:31 +02:00
Benoit Marty
c53dabce16 Remove dependency on AppNavigationStateService from DefaultGetCurrentPushProvider 2025-10-23 15:03:04 +02:00
Benoit Marty
52dffa5418 Merge branch 'develop' into feature/bma/metro070 2025-10-23 11:30:25 +02:00
Benoit Marty
6326d1fc22 Merge pull request #5587 from element-hq/feature/bma/robustWellknown
Improve wellknown retrieval API
2025-10-23 11:28:30 +02:00
Benoit Marty
d3feb237a1 Merge pull request #5588 from element-hq/feature/bma/iconPreviewDuplicate
Remove icon preview duplicate
2025-10-23 10:40:41 +02:00
Benoit Marty
826cacf209 Remove @Inject, not necessary anymore when class is annotated with @ContributesBinding 2025-10-22 18:52:37 +02:00
Benoit Marty
666666a8b6 Fix compilation issue 2025-10-22 18:24:20 +02:00
Jorge Martin Espinosa
4861ae5171 Enable SyncNotificationsWithWorkManager in nightly and debug builds (#5573)
* Enable `SyncNotificationsWithWorkManager` in nightly and debug builds

* Fix tests
2025-10-22 16:55:40 +02:00
Benoit Marty
7829c1fb54 Add missing icon in the list 2025-10-22 16:14:06 +02:00
Benoit Marty
c9e65a7c7d Remove icon preview duplication.
We now have IconsCompoundPreview with the same content in only one image.
2025-10-22 16:11:41 +02:00
Benoit Marty
33ec18c68e Change Preview height to give space for new icons to come. 2025-10-22 16:06:53 +02:00
Benoit Marty
dc46e522af Improve API of interface WellknownRetriever to be able to distinguish between 404 and other errors. 2025-10-22 15:28:31 +02:00
Benoit Marty
9ad9efe547 Improve API of interface WellknownRetriever to be able to distinguish between 404 and other errors. 2025-10-22 14:45:15 +02:00
Benoit Marty
3db100e61c Fix tests. 2025-10-22 10:31:12 +02:00
Benoit Marty
9af694b4a2 Use right colors on ForcedDarkElementTheme 2025-10-22 09:48:07 +02:00
Benoit Marty
82c6aca7e5 Move SemanticColorsLightDark to compound module 2025-10-22 09:35:55 +02:00
Benoit Marty
c2c77aad2a Improve API and fix theme glitch when switching between accounts. 2025-10-22 09:32:15 +02:00
Benoit Marty
64b5b53510 Improve API and documentation 2025-10-21 11:53:36 +02:00
Benoit Marty
c4884879d8 Avoid emitted a new value each time the token is refreshed (for instance) 2025-10-20 16:33:48 +02:00
Benoit Marty
64ff19c808 Update API around brandColor. 2025-10-20 16:33:46 +02:00
Benoit Marty
71c853d1a7 Fix test warning (#5558)
* Introduce JsonProvider.

It will ensure that classes are using the correct Json instances in the unit tests.

* Avoid creating a Json instance many times.

* Update ref.
2025-10-20 12:08:05 +02:00
ElementBot
5f6a93cd1a Sync Strings (#5562)
* Sync Strings from Localazy

* Sync strings again

---------

Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
Co-authored-by: Benoit Marty <benoit@matrix.org>
2025-10-20 10:04:46 +00:00
Benoit Marty
241a968d66 Introduce JsonProvider.
It will ensure that classes are using the correct Json instances in the unit tests.
2025-10-20 09:40:42 +02:00
Benoit Marty
c962201722 Merge pull request #5557 from element-hq/feature/bma/sortFF
Sort feature flags
2025-10-17 15:26:39 +02:00
Benoit Marty
69aafe9841 Add unit test on DefaultFeaturesProvider. 2025-10-17 14:55:41 +02:00
Benoit Marty
6e722a2998 Fix typo. 2025-10-17 14:52:06 +02:00
Benoit Marty
ba49cfb07c Avoid using volatile FeatureFlags in DefaultFeatureFlagServiceTest 2025-10-17 12:38:55 +02:00
Benoit Marty
a76ab22ed5 Add test on api getAvailableFeatures. 2025-10-17 12:38:54 +02:00
Benoit Marty
09a6ffc081 Improve and fix tests. 2025-10-17 12:38:54 +02:00
Benoit Marty
b7ac322d18 Improve FeatureFlagService API. 2025-10-17 12:38:49 +02:00
Benoit Marty
6854f014b0 Fix warning and also fix bug! 2025-10-17 12:38:48 +02:00
Jorge Martin Espinosa
b90dc081b7 Fix media viewer not being dismissed with reduced motion enabled (#5555)
This is also called 'remove animations' in some Android versions. It seems like the associated coroutine dispatcher never allows the `delay` calls to complete, or maybe they take too long and the coroutine is cancelled before they finish.
2025-10-17 10:10:13 +00:00
Jorge Martin Espinosa
597c9b473a Sync notifications using WorkManager (#5545)
* Initial implementation of notification sync using `WorkManager`

* Use custom `MetroWorkerFactory` to allow assisted injection in WorkManager Workers

* Add tests for `FetchNotificationWorker`. Create `FakeNotificationResolverQueue` to help testing.

* Add more tests, fix Konsist checks

* Add tests for `SyncNotificationWorkManagerRequest`

* Simplify `FakeNotificationResolverQueue`
2025-10-17 09:51:27 +00:00
Benoit Marty
0656b5b2c4 Merge remote-tracking branch 'origin/develop' into feature/bma/assetReader 2025-10-16 20:34:38 +02:00
Benoit Marty
ff205042ec Fix tests. 2025-10-16 18:16:48 +02:00
Benoit Marty
535211631d Improve AssetReader. 2025-10-16 16:46:40 +02:00
Benoit Marty
276c707e42 Move Json provider from Network module to AppModule to reuse it. 2025-10-16 16:37:08 +02:00
Benoit Marty
14c7a63f45 Extract code that log a ConsoleMessage so that it can be reused. 2025-10-16 16:15:09 +02:00
ganfra
82fd2866d7 Merge pull request #5540 from element-hq/feature/fga/space_ui_tweak
design(space): match figma for Space views
2025-10-16 10:26:50 +02:00