Commit graph

4491 commits

Author SHA1 Message Date
Benoit Marty
595812fef6 Cleanup 2025-10-23 15:39:23 +02:00
Benoit Marty
afdfe28ef4 Remove dependency on AppNavigationStateService from DefaultUnifiedPushCurrentUserPushConfigProvider 2025-10-23 15:37:31 +02:00
Benoit Marty
705b1b08f2 Remove dependency on AppNavigationStateService from DefaultGetCurrentPushProvider 2025-10-23 15:03:04 +02:00
Benoit Marty
76493f52ec
Merge branch 'develop' into feature/bma/metro070 2025-10-23 11:30:25 +02:00
Benoit Marty
ae04389255
Merge pull request #5587 from element-hq/feature/bma/robustWellknown
Improve wellknown retrieval API
2025-10-23 11:28:30 +02:00
Benoit Marty
0cff0e6f81
Merge pull request #5588 from element-hq/feature/bma/iconPreviewDuplicate
Remove icon preview duplicate
2025-10-23 10:40:41 +02:00
Benoit Marty
263e761907 Remove @Inject, not necessary anymore when class is annotated with @ContributesBinding 2025-10-22 18:52:37 +02:00
Benoit Marty
27a6e6aa82 Fix compilation issue 2025-10-22 18:24:20 +02:00
Jorge Martin Espinosa
dd395a5214
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
eb18e962ce Add missing icon in the list 2025-10-22 16:14:06 +02:00
Benoit Marty
5437a5738f 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
570c1ebdb4 Change Preview height to give space for new icons to come. 2025-10-22 16:06:53 +02:00
Benoit Marty
5b5c007cd2 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
b45fb2128b 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
3690e90304 Fix tests. 2025-10-22 10:31:12 +02:00
Benoit Marty
5720b2df1a Use right colors on ForcedDarkElementTheme 2025-10-22 09:48:07 +02:00
Benoit Marty
07b9a8456b Move SemanticColorsLightDark to compound module 2025-10-22 09:35:55 +02:00
Benoit Marty
49c23a922e Improve API and fix theme glitch when switching between accounts. 2025-10-22 09:32:15 +02:00
Benoit Marty
c5da479065 Improve API and documentation 2025-10-21 11:53:36 +02:00
Benoit Marty
7b00a12529 Avoid emitted a new value each time the token is refreshed (for instance) 2025-10-20 16:33:48 +02:00
Benoit Marty
38908a42a2 Update API around brandColor. 2025-10-20 16:33:46 +02:00
Benoit Marty
b62382ffc7
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
a22101150b
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
df48ed5a2d 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
fa8ddba1f5
Merge pull request #5557 from element-hq/feature/bma/sortFF
Sort feature flags
2025-10-17 15:26:39 +02:00
Benoit Marty
43971ee250 Add unit test on DefaultFeaturesProvider. 2025-10-17 14:55:41 +02:00
Benoit Marty
a38df694fd Fix typo. 2025-10-17 14:52:06 +02:00
Benoit Marty
a24cde6d0b Avoid using volatile FeatureFlags in DefaultFeatureFlagServiceTest 2025-10-17 12:38:55 +02:00
Benoit Marty
ba52b9ad3a Add test on api getAvailableFeatures. 2025-10-17 12:38:54 +02:00
Benoit Marty
4b76ddaddc Improve and fix tests. 2025-10-17 12:38:54 +02:00
Benoit Marty
de2a4bc8c6 Improve FeatureFlagService API. 2025-10-17 12:38:49 +02:00
Benoit Marty
d2dfad7726 Fix warning and also fix bug! 2025-10-17 12:38:48 +02:00
Jorge Martin Espinosa
c0d6862b6e
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
ebe94f873e
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
6d779770d7 Merge remote-tracking branch 'origin/develop' into feature/bma/assetReader 2025-10-16 20:34:38 +02:00
Benoit Marty
b01de9efa7 Fix tests. 2025-10-16 18:16:48 +02:00
Benoit Marty
04607d6da3 Improve AssetReader. 2025-10-16 16:46:40 +02:00
Benoit Marty
7c437761c4 Move Json provider from Network module to AppModule to reuse it. 2025-10-16 16:37:08 +02:00
Benoit Marty
4400cd3643 Extract code that log a ConsoleMessage so that it can be reused. 2025-10-16 16:15:09 +02:00
ganfra
fc5417b7eb
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
Benoit Marty
757b1761d3 SuperButton: always use gradientActionColors(). 2025-10-15 14:18:52 +02:00
Benoit Marty
b60a83b344 GradientFloatingActionButton: use gradientActionColors(). 2025-10-15 14:17:00 +02:00
Jorge Martin Espinosa
8b169c4265
Fix 'test push loop back' notification check (#5541)
Include a fake client secret as the HS would do, since it's now mandatory.
2025-10-15 14:07:18 +02:00
Jorge Martin Espinosa
5b1bfac6ff
Allow uploading notification push rules in bug reports (#5538)
* Allow uploading push rules in bug reports

* Improve bug report screen previews

* Update screenshots

---------

Co-authored-by: ElementBot <android@element.io>
2025-10-15 11:45:04 +02:00
ganfra
6b2e4ffbbd design(space): match figma for Space views 2025-10-15 11:28:55 +02:00
Benoit Marty
844e1d2ce5 Let the enterprise build be able to update the colors. 2025-10-15 11:25:58 +02:00
Benoit Marty
91a32b9034
Merge pull request #5527 from element-hq/renovate/org.matrix.rustcomponents-sdk-android-25.x
fix(deps): update dependency org.matrix.rustcomponents:sdk-android to v25.10.13
2025-10-13 18:04:52 +02:00
Benoit Marty
d8f84e5e55 Let the test use sample data. 2025-10-13 17:12:42 +02:00
Benoit Marty
26fcd1567c Let the preview provider use stable data. I do not get why the generated screenshot was always similar. 2025-10-13 17:12:40 +02:00
Benoit Marty
52869e432a Update comment. createFakeWaveform will be removed. 2025-10-13 17:12:38 +02:00