Commit Graph

4470 Commits

Author SHA1 Message Date
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
Benoit Marty
b1a97e2f23 SuperButton: always use gradientActionColors(). 2025-10-15 14:18:52 +02:00
Benoit Marty
452489fbf1 GradientFloatingActionButton: use gradientActionColors(). 2025-10-15 14:17:00 +02:00
Jorge Martin Espinosa
e74ec97ec0 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
7491b5479a 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
7410efb593 design(space): match figma for Space views 2025-10-15 11:28:55 +02:00
Benoit Marty
8b703ed046 Let the enterprise build be able to update the colors. 2025-10-15 11:25:58 +02:00
Benoit Marty
67cd95872f 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
901685471c Let the test use sample data. 2025-10-13 17:12:42 +02:00
Benoit Marty
90cd52b5d5 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
93ae7941a4 Update comment. createFakeWaveform will be removed. 2025-10-13 17:12:38 +02:00
Benoit Marty
e9f80d917a Centralize WaveForm samples. 2025-10-13 17:12:36 +02:00
Benoit Marty
58dc3c7aed Fix API break on voice messages. 2025-10-13 17:12:34 +02:00
Benoit Marty
5320bd06c2 Add some comment 2025-10-13 17:12:28 +02:00
Benoit Marty
a83630169e Fix API break in QrCodeLoginStep. 2025-10-13 15:52:06 +02:00
Benoit Marty
7ad659a4c8 Merge pull request #5508 from element-hq/feature/bma/noUriInComposeState
Replace Uri by String in States that are used in Composable function.
2025-10-13 15:32:39 +02:00
ElementBot
57e8b47683 Sync Strings from Localazy (#5515)
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2025-10-13 08:01:58 +02:00
renovate[bot]
84774cdc90 fix(deps): update wysiwyg to v2.40.0 (#5400)
* fix(deps): update wysiwyg to v2.40.0

* Fix API mismatches

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
2025-10-10 21:55:28 +02:00
Benoit Marty
46f5b4959f Merge pull request #5443 from element-hq/renovate/org.unifiedpush.android-connector-3.x
fix(deps): update dependency org.unifiedpush.android:connector to v3.1.0
2025-10-10 17:52:33 +02:00
Benoit Marty
5f5d1a21ba Replace Uri by String in State that are used in Composable function. 2025-10-10 17:44:50 +02:00
Benoit Marty
7950cfc3b4 Merge pull request #5503 from element-hq/feature/bma/immutableCleanup
Do some cleanup on our immutable annotation usage
2025-10-10 17:42:26 +02:00
Jorge Martin Espinosa
706d5f0d3a Import Compound tokens - fixed icons (#5506)
* Import fixed Compound icons

* Revert changes to thread icons

* Update screenshots

---------

Co-authored-by: ElementBot <android@element.io>
2025-10-10 15:14:22 +02:00
Benoit Marty
062bebf030 Rename SaveableCameraPositionState to SaveableCameraPositionData to avoid this class to be checked for stability. 2025-10-10 10:26:39 +02:00
Benoit Marty
245509cd88 Make Timeline.Mode stable 2025-10-09 18:22:40 +02:00
Benoit Marty
264cf9e1b3 Make VerificationRequest stable 2025-10-09 18:22:38 +02:00
Benoit Marty
146c5d4adc Need to be a compose library for Distributor to be considered stable. 2025-10-09 18:22:37 +02:00
Benoit Marty
2d9b034940 Make Outgoing stable 2025-10-09 18:22:36 +02:00
Benoit Marty
733a33f4ea Need to be a compose library for FullScreenIntentPermissionsState to be considered stable. 2025-10-09 18:22:34 +02:00
Benoit Marty
e6cd8d5fb5 Remove useless Immutable annotation 2025-10-09 18:22:33 +02:00
Benoit Marty
5e7437e827 Rename SavedState to SavedValue to avoid this class to be checked for stability. 2025-10-09 18:22:32 +02:00
Benoit Marty
c33815ccd3 Need to be a compose library for NotificationTroubleshootTestState to be considered stable. 2025-10-09 18:22:31 +02:00
Benoit Marty
589954203b Make Role stable 2025-10-09 18:22:30 +02:00