Commit graph

4887 commits

Author SHA1 Message Date
Benoit Marty
6b59c82a5c Improve InMemoryAnnouncementStore 2025-10-08 10:29:15 +02:00
Benoit Marty
7d922bbd03 Rename key and value 2025-10-08 10:26:15 +02:00
Benoit Marty
184bfeb209 Rename method. 2025-10-08 10:22:30 +02:00
Benoit Marty
752e846b1c Improve AnnouncementService. 2025-10-08 10:13:02 +02:00
Benoit Marty
98637b8fc5 Show new notification sound banner logic 2025-10-07 15:53:59 +02:00
Benoit Marty
df384f6365 Add isFreshInstall Boolean to allow the miration to behave in a different way for an application upgrade or a fresh install.
We cannot restore the previous code which existed because of https://github.com/element-hq/element-x-android/pull/3535
2025-10-07 15:53:57 +02:00
Benoit Marty
58fca2e9e2 New notification sound banner 2025-10-07 15:53:56 +02: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
ganfra
a497703a90
Merge pull request #5468 from element-hq/feature/fga/space_tweaks
Spaces : some tweaks around ui
2025-10-07 10:55:05 +02:00
ganfra
adb4828da4 feature(space): fix space tests compilation 2025-10-07 10:24:48 +02:00
Benoit Marty
69c86232c4
Merge pull request #5466 from element-hq/feature/bma/replaceFunByVal
Replace fun by val in MatrixClient
2025-10-06 22:34:39 +02:00
Benoit Marty
3f54017ec3
Merge pull request #5462 from element-hq/feature/bma/enableSpaces
Add support for Spaces
2025-10-06 22:34:14 +02:00
ganfra
17f9673a0f feature(space): introduce SpaceRoomVisibility and remove room count 2025-10-06 20:50:05 +02:00
Benoit Marty
77647a3f11 Let MatrixClient exposes val instead of fun for the services. 2025-10-06 15:12:35 +02:00
ganfra
8d94df09ac feature(space): compute space room name locally 2025-10-06 14:21:01 +02:00
ganfra
68700d9bf9
Merge pull request #5456 from element-hq/feature/fga/space_list_scroll_position
feature(space) : keep space children in the presenter
2025-10-06 13:27:43 +02:00
Benoit Marty
3080baace2 Fix tests. 2025-10-06 12:52:59 +02:00
Hubert Chathi
d2e5b43674
Only offer to verify if a cross-signed device is available (#5433)
* Only offer to verify if a cross-signed device is available

* Fix tests

* use the right exception mapper

* adjust flag name and logic in ChooseSelfVerificationState

* add comment

* switch order of states to match previous logic
2025-10-06 12:40:52 +02:00
ElementBot
7095b460b3
Sync Strings from Localazy (#5460)
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2025-10-06 12:38:51 +02:00
Benoit Marty
95f1dc9bae Import Compound code from project https://github.com/element-hq/compound-android 2025-10-03 18:23:27 +02:00
ganfra
bfbabd84c3 feature(space) : keep space children in the presenter 2025-10-03 18:19:25 +02:00
Benoit Marty
97ae89ed96
Merge pull request #5451 from element-hq/feature/bma/spaceAnnoucement
Space annoucement
2025-10-03 16:48:49 +02:00
Benoit Marty
0c63d0cb4f
Merge pull request #5432 from element-hq/feature/bma/leaveSpace
Leave space: use SDK API.
2025-10-03 16:43:45 +02:00
Benoit Marty
729959026d Fix lint issue by removing old translations 2025-10-03 16:11:25 +02:00
Benoit Marty
3af56b64a5 Space announcement: iterate on wording. 2025-10-03 15:12:07 +02:00
Benoit Marty
e69dd05434 Improve LeaveSpacePresenter and add a retry mechanism if loading the rooms fails. 2025-10-03 14:43:47 +02:00
ganfra
0bec8f038c
Merge pull request #5449 from element-hq/feature/fga/room_list_space_invite
Room list space invite
2025-10-03 13:17:28 +02:00
Benoit Marty
d7f39c332f Introduce Announcement enum. 2025-10-03 12:05:06 +02:00
Benoit Marty
93c273468e Do not expose AnnouncementState in the api module 2025-10-03 11:57:06 +02:00
Benoit Marty
26106365ef Add test on SpaceAnnouncementView 2025-10-03 11:39:51 +02:00
Benoit Marty
e8e958137c Use onContinue method in the back handler 2025-10-03 10:52:45 +02:00
Benoit Marty
a831412946 Add test on DefaultAnnouncementService 2025-10-03 10:11:58 +02:00
Benoit Marty
c39f1f402f Remove unused Node 2025-10-03 10:00:22 +02:00
Benoit Marty
831eaca43d Add unit test on SpaceAnnouncementPresenter 2025-10-03 09:54:42 +02:00
Benoit Marty
15896c2668 Add unit test on AnnouncementPresenter 2025-10-03 09:43:01 +02:00
Benoit Marty
2907f762f6 Announcement for Spaces 2025-10-03 00:15:27 +02:00
Benoit Marty
c459af6e61 Leave space: use the SDK API. 2025-10-02 17:26:02 +02:00
Benoit Marty
c83fda1cad Leave space: Fix UI issue on top bar. 2025-10-02 17:25:35 +02:00
Benoit Marty
ccf34dc631 Enable leave space entry point. 2025-10-02 17:25:34 +02:00
ganfra
0d4e2dd2fb feature(space) : ensure RoomSummaryRow can display space invites 2025-10-02 16:15:33 +02:00
Benoit Marty
4fee19c099 Fix test. 2025-10-02 10:14:01 +02:00
Benoit Marty
8d476b5f98 Improve SignedOutPresenter.
We can now provide a SessionId in the Factory.
2025-10-02 09:37:56 +02:00
Benoit Marty
7dd081f0ed We do not need CurrentSessionIdHolder anymore.
The SessionId can be provided by SessionMatrixModule and injected in constructors directly.
2025-10-01 17:57:13 +02:00
Benoit Marty
5e0e0f0061 Add unit test on SpaceView 2025-10-01 14:29:21 +02:00
Benoit Marty
bb5a4f4954 Merge branch 'develop' into feature/fga/space_list_join_action 2025-10-01 12:41:22 +02:00
Benoit Marty
2db01facac Add unit test on SpacePresenter 2025-10-01 12:35:33 +02:00
ganfra
ef44861096 misc (space) : update tests after rework 2025-10-01 11:52:41 +02:00
Benoit Marty
dc5be7ca8a Add unit test on SpaceState 2025-10-01 11:44:20 +02:00
Benoit Marty
32be0e2c25 Remove code duplication. 2025-10-01 11:21:36 +02:00