Commit Graph

11783 Commits

Author SHA1 Message Date
ganfra
6b6cf93167 Merge pull request #5436 from element-hq/feature/fga/space_list_destroy
Misc : destroy SpaceRoomList
2025-10-01 12:21:43 +02:00
ganfra
0944ab0c28 misc (space) : update tests after rework 2025-10-01 11:52:41 +02:00
ganfra
388cb31700 misc (space) : ensure SpaceRoomList is destroyed 2025-10-01 10:49:35 +02:00
ganfra
250667b5b5 di : clean some code 2025-10-01 10:23:10 +02:00
Benoit Marty
0cd264937d Merge pull request #5420 from element-hq/feature/bma/metroAssistedInject
Ensure Metro `@AssistedInject` is used.
2025-09-30 15:39:23 +02:00
Benoit Marty
519a42dcff Add default value 2025-09-30 13:09:44 +02:00
ElementBot
16cf3b1a9c Update screenshots 2025-09-30 10:33:23 +00:00
Benoit Marty
03e92bac25 Add Preview 2025-09-30 12:19:21 +02:00
Benoit Marty
f5df8dcad9 Remove Progress from splashscreen to follow design requirements. 2025-09-30 12:15:25 +02:00
Benoit Marty
bfb51e188e loadingNode: hide ProgressIndicator in some cases. 2025-09-30 11:54:43 +02:00
Benoit Marty
1cd75af666 No need of DI for the LoadingNode. 2025-09-30 11:50:17 +02:00
Jorge Martin Espinosa
80e869c93e Follow permalinks to and from threads (#5414)
* Implement navigation to event inside a thread when a permalink is used

* Fix permalink navigation in threads to rooms

* Fix navigating to a different thread from a permalink in an existing thread

* Fix tests

* Add missing tests for thread navigation

* Reduce number of diff between ThreadedMessagesNode.kt and MessagesNode.kt

* Navigate back to the room when a link to the current room is clicked in a thread.

---------

Co-authored-by: Benoit Marty <benoitm@element.io>
Co-authored-by: Benoit Marty <benoit@matrix.org>
2025-09-30 09:18:13 +00:00
Benoit Marty
19ceee2680 Merge pull request #5426 from element-hq/feature/bma/incomingVerificationA11y
Improvement and bugfix on incoming verification request screen
2025-09-29 18:38:52 +02:00
ElementBot
9f7027d3f8 Update screenshots 2025-09-29 16:10:45 +00:00
Benoit Marty
095ea59b8f Merge branch 'develop' into feature/bma/incomingVerificationA11y 2025-09-29 17:57:00 +02:00
Andy Balaam
53f79b49a1 Update the strings for the device verification flow (#5419)
* Update the strings for the device verification flow

Part of https://github.com/element-hq/element-meta/issues/2898
2025-09-29 16:42:10 +01:00
ElementBot
c6d4a367d3 Sync Strings from Localazy (#5427)
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2025-09-29 15:10:21 +00:00
Benoit Marty
65b6b6b4aa Update test. 2025-09-29 17:05:02 +02:00
ElementBot
0bf4b80163 Update screenshots 2025-09-29 14:24:32 +00:00
Benoit Marty
2dc078c431 Improve fun VerificationUserProfileContent 2025-09-29 16:08:07 +02:00
Benoit Marty
873a43f589 Fix layout issue 2025-09-29 16:03:08 +02:00
Benoit Marty
7aa79b6434 Fix mapping issue. 2025-09-29 15:59:55 +02:00
Benoit Marty
ef29c4ba97 Remove code duplication around UserProfile mapper. 2025-09-29 15:38:08 +02:00
Benoit Marty
fd2041a7ef SessionVerificationRequestDetails: map deviceDisplayName. 2025-09-29 15:38:07 +02:00
Benoit Marty
c8090b136b Add a11y preview for incoming verification request.
We want to see the string a11y_session_verification_time_limited_action_required.

tom
2025-09-29 15:38:03 +02:00
Benoit Marty
332a82ca49 Merge pull request #5425 from element-hq/feature/bma/leaveSpaceWording
Leave spave: iteration on string value.
2025-09-29 15:10:16 +02:00
ElementBot
f41185d2f0 Update screenshots 2025-09-29 12:59:33 +00:00
Benoit Marty
4b641dbe1a Do not use plurals in this case since it can lead to lint issues since there is no %d in the value for one and this triggers a warning in some languages. 2025-09-29 14:43:16 +02:00
Benoit Marty
6be09fedc7 Fix issue after rebase. 2025-09-29 10:44:23 +02:00
Benoit Marty
71b61a13a6 Fix compilation issue. 2025-09-29 10:06:31 +02:00
Benoit Marty
733ac57928 Create a LoadingNode to reduce code duplication. 2025-09-29 09:34:37 +02:00
Benoit Marty
598d4047b0 Use AssistedInject instead of Inject. 2025-09-29 09:32:45 +02:00
Benoit Marty
9b6df78bac Add Konsist test to check Metro annotation. 2025-09-29 09:32:44 +02:00
Benoit Marty
e3fd465005 Update metro to v0.6.8 (#5422)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-29 08:58:30 +02:00
renovate[bot]
b9fb8d6278 Update metro to v0.6.8 2025-09-26 22:12:39 +00:00
Benoit Marty
d096256a41 Merge pull request #5354 from element-hq/feature/bma/leaveSpace
Leave space - UI
2025-09-26 16:58:53 +02:00
renovate[bot]
d277008669 Update dependency com.posthog:posthog-android to v3.22.0 (#5415)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-09-26 16:52:45 +02:00
Benoit Marty
e26aae4ac8 Address review comments. 2025-09-26 16:28:13 +02:00
ElementBot
3214607ce5 Update screenshots 2025-09-26 14:01:17 +00:00
Benoit Marty
a6720078b4 Merge branch 'develop' into feature/bma/leaveSpace 2025-09-26 15:46:57 +02:00
Benoit Marty
73a6ba2849 Multi accounts - experimental first implementation (#5285)
* Multi account - Do not reset analytics store on sign out.

Else when 1 of many accounts is removed, the analytics opt in screen is displayed again.

* Multi accounts - first implementation.

* Multi accounts - Prevent user from logging twice with the same account

* Multi accounts - ignore automatic GoBack in case of error.

* Multi accounts - update first view when adding an account.

* Rename method storeData to addSession.

* Multi accounts - handle account switch when coming from a notification

* Multi accounts - handle login link when there is already an account.

* Multi accounts - handle click on push history for not current account.

* Multi accounts - improve layout and add preview.

* Add accountselect modules

* Multi accounts - incoming share with account selection

* Multi accounts - check the feature flag before allowing login using login link.

* Multi accounts - swipe on account icon

* Cleanup

* Multi accounts - fix other implementation of SessionStore

* Multi accounts - fix PreferencesRootPresenterTest

* Multi accounts - Add test on AccountSelectPresenter

* Multi accounts - Fix test on HomePresenter - WIP

* Update database to be able to sort accounts by creation date.

* Add unit test on takeCurrentUserWithNeighbors

* Fix test and improve code.

* Add exception

* Multi accounts - handle permalink

* Code quality

* Multi accounts - localization

* Fix issue after rebase on develop

* Fix issue after rebase on develop

* Fix tests

* Fix tests

* Fix tests

* Fix tests

* Update Multi accounts flag details.

* Add missing test on DatabaseSessionStore

* Add missing preview on LoginModeView

* Remove dead code.

* Add missing preview on PushHistoryView

* Document API.

* Rename API and update test.

* Remove MatrixAuthenticationService.loggedInStateFlow()

* Update screenshots

* Remove unused import

* Add exception

* Fix compilation issue after rebase on develop.

* Update screenshots

* Fix test

* Avoid calling getLatestSession() twice

* Rename `matrixUserAndNeighbors` to `currentUserAndNeighbors`

* Extract code to its own class.

* Add comment to clarify the code.

* Init current user profile with what we now have in the database.

It allows having the cached data (user display name and avatar) when starting the application when no network is available.

* Let the RustMatrixClient update the profile in the session database

* Fix test.

* When logging out from Pin code screen, logout from all the sessions.

tom

* Make PushData.clientSecret mandatory.
Also do not restore the last session as a fallback, it can lead to error in a multi account context, or even when a ghost pusher send a Push.

* Change test in RustMatrixAuthenticationServiceTest

* Do not use MatrixAuthenticationService in RootFlowNode, only use SessionStore

* Remove MatrixAuthenticationService.getLatestSessionId()

* Fix compilation issue after merging develop

* Add test on DefaultAccountSelectEntryPoint

* Fix compilation issue after merging develop

* Introduce LoggedInAccountSwitcherNode, to improve animation when switching between accounts.

* Rename Node to follow naming convention.

* Fix navigation issue after login.

* Remove unused import

* Revert "Fix navigation issue after login."

This reverts commit e409630856d7a7e741548016d7afe174ff1b40f7.

* Revert "Rename Node to follow naming convention."

This reverts commit 883b1f37c7207512d9f6605749977ad9045846a1.

* Revert "Introduce LoggedInAccountSwitcherNode, to improve animation when switching between accounts."

This reverts commit 9c698ff8152aceb5fd2b8b5ab5f609d28de64d24.

* Metro now have `@AssistedInject`.

* Update screenshots

* Introduce DelegateTransitionHandler and use it in RootFlowNode

---------

Co-authored-by: ElementBot <android@element.io>
Co-authored-by: ganfra <francoisg@element.io>
2025-09-26 15:45:06 +02:00
ElementBot
8c145497de Update screenshots 2025-09-26 12:33:35 +00:00
Benoit Marty
01e022eeae Metro now have @AssistedInject. 2025-09-26 14:15:02 +02:00
Benoit Marty
6608d29fa0 Cleanup to be able to merge. 2025-09-26 14:14:06 +02:00
Benoit Marty
3c64eeb1c4 Update tests 2025-09-26 14:14:05 +02:00
Benoit Marty
7035a81e0f Update UI 2025-09-26 14:14:05 +02:00
Benoit Marty
3b7180a012 Select all rooms by default 2025-09-26 14:14:04 +02:00
Benoit Marty
8ceea9ed0c Add unit test on LeaveSpaceState 2025-09-26 14:14:03 +02:00
Benoit Marty
4b60475821 Add the (Admin) info. 2025-09-26 14:14:02 +02:00
Benoit Marty
04e4316c3e Remove translations (key values have changed).
Translations will be back during the next Localazy sync.
2025-09-26 14:14:01 +02:00