Commit Graph

587 Commits

Author SHA1 Message Date
Benoit Marty a586299900 Ensure the color has a # prefix. 2025-11-17 18:03:43 +01:00
Benoit Marty f1e12c1c1c Do not attempt to restore the pusher after 2 removal in a short time. 2025-11-13 23:15:00 +01:00
Benoit Marty 9498e6f7fb Restore deleted code 2025-11-13 18:11:39 +01:00
Benoit Marty d3339872ff Ensure that disabling (resp. enabling) notification unregisters (resp. registers) the pusher 2025-11-13 17:50:21 +01:00
Benoit Marty eb31505dc7 Copyright: Add Element Creations Ltd. copyright 2025-11-10 11:05:05 +01:00
Benoit Marty f86431e663 Copyright: Add final period 2025-11-10 10:13:41 +01:00
Benoit Marty c4e0370f41 Copyright: run command uv run license-editor --repository ../element-x-android 2025-11-10 10:09:26 +01:00
Benoit Marty 8769b98862 Merge pull request #5698 from element-hq/feature/bma/handleEvent
Code consistency around view event handling
2025-11-10 09:36:04 +01:00
ElementBot 967f250e4b Sync Strings from Localazy (#5704)
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2025-11-10 09:21:00 +01:00
Benoit Marty b732ee29a3 Fix compilation issue 2025-11-07 13:35:23 +01:00
Benoit Marty 7ad9c8f687 Rename handleEvents to handleEvent 2025-11-07 12:21:43 +01:00
Benoit Marty fdd4e2115c Always use the handleEvent(s) function the same way. 2025-11-03 18:49:00 +01:00
Benoit Marty 07b6148035 Remove context(parentNode: Node) and provide the parent Node as a parameter. 2025-10-31 12:04:57 +01:00
Benoit Marty 6298209ad9 Create Fake classes in test modules 2025-10-30 18:32:31 +01:00
Benoit Marty f174084942 Use context parameter for the parentNode 2025-10-30 16:32:53 +01:00
Benoit Marty 02dc71c4c3 Remove NodeBuilder to ensure that Params and Callback are always provided. 2025-10-30 16:32:52 +01:00
Benoit Marty be03c50aaf Ensure a Callback and only one is provided in the Plugin. Also reduce boilerplate code in Nodes. 2025-10-30 16:32:51 +01:00
Benoit Marty 43972dba68 Rename fun in Callback for clarity. 2025-10-30 16:32:48 +01:00
ElementBot b1addb4521 Sync Strings from Localazy (#5610)
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2025-10-27 13:53:07 +01:00
Benoit Marty 705b1b08f2 Remove dependency on AppNavigationStateService from DefaultGetCurrentPushProvider 2025-10-23 15:03:04 +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 c5da479065 Improve API and documentation 2025-10-21 11:53:36 +02:00
Benoit Marty 38908a42a2 Update API around brandColor. 2025-10-20 16:33:46 +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 bfe01e602c Fix test. 2025-10-17 12:38:56 +02:00
Benoit Marty 4b76ddaddc Improve and fix tests. 2025-10-17 12:38:54 +02:00
Benoit Marty 0043e462a4 Ensure labs feature are ordered as they are declared. 2025-10-17 12:38:53 +02:00
Benoit Marty 87a1b79726 Perform toImmutableList() less often. 2025-10-17 12:38:52 +02:00
Benoit Marty c98601c3c3 Extract EnabledFeature. 2025-10-17 12:38:51 +02:00
Benoit Marty 1a2255013d Show a ProgressDialog during Clear cache action. 2025-10-17 12:38:50 +02:00
Benoit Marty de2a4bc8c6 Improve FeatureFlagService API. 2025-10-17 12:38:49 +02:00
Benoit Marty a770716984 Fix warning 2025-10-17 12:38:48 +02:00
Benoit Marty 999a1f6a59 Improve fun api. 2025-10-17 12:38:47 +02:00
Benoit Marty 164cd26b1e Let the order of FeatureFlag follow the order they are declared in the code.
Using map.keys does not guarantee that the order is kept, so using List instead.
2025-10-17 12:38:45 +02:00
Benoit Marty 6d779770d7 Merge remote-tracking branch 'origin/develop' into feature/bma/assetReader 2025-10-16 20:34:38 +02:00
Benoit Marty cdd0b29527 Add a way to reset the colors. 2025-10-16 15:19:19 +02:00
Benoit Marty 19e3d5901d Always show dividers. 2025-10-16 12:19:48 +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 26683bd939 Remove comment. Default values will be detected by the existing Konsist test Data class state MUST not have default value 2025-10-14 14:31:19 +02:00
Benoit Marty d441c43993 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 8f4cc52ea4 Sync Strings from Localazy (#5515)
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2025-10-13 08:01:58 +02:00
Benoit Marty c93561c513 Replace Uri by String in State that are used in Composable function. 2025-10-10 17:44:50 +02:00
Benoit Marty 271ae19436 Remove useless Immutable annotation 2025-10-09 18:22:33 +02:00
Benoit Marty cd31ff0f9f Make AboutState stable 2025-10-09 18:22:20 +02:00
Benoit Marty fe51f65aff Fix instability of Uri 2025-10-09 18:22:19 +02:00
Benoit Marty c2560ad91c Merge pull request #5490 from element-hq/feature/bma/improveImmutables
Ensure that we are using Immutable instead of Persistent
2025-10-09 11:48:32 +02:00
Benoit Marty 67c9daa0bf Add Konsist test to check that toPersistentList() is not used.
Same for `toPersistentSet()` and `toPersistentMap()`.
Fix existing issues.
2025-10-08 15:51:18 +02:00
bmarty cb7186cf69 Sync Strings from Localazy 2025-10-08 10:23:22 +00:00
Benoit Marty a584a5c1c6 Update Localazy config and sync all the strings. 2025-10-07 15:53:53 +02:00
Jorge Martin Espinosa 9714abe032 Add Labs screen for beta testing of public features (#5465)
* Add Labs screen:

- Make `Feature` have an `isInLabs` boolean to distinguish private feature flags from public ones.
- Have `FeatureFlagsService` provide the list of available flags.
- Display the labs item in the settings screen only if there are available public features.
- Remove public feature toggles from developer options.
- Implement the labs screen with the public features.
- Add a clear cache step to the threads feature toggle
- Update screenshots

---------

Co-authored-by: ElementBot <android@element.io>
2025-10-07 10:02:54 +00:00