Commit Graph

1416 Commits

Author SHA1 Message Date
Benoit Marty c98ac80285 Add Konsist test on Immutable annotation 2025-10-09 15:36:06 +02:00
Benoit Marty 33089ff158 Merge pull request #5495 from element-hq/feature/bma/removeAvatarPreviews
Reduce number of Previews for Avatar.
2025-10-09 12:01:08 +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
ElementBot d12ca1f773 Update screenshots 2025-10-09 08:08:30 +00:00
ElementBot cf79c711a9 Update screenshots 2025-10-08 16:24:49 +00:00
ElementBot 0467149a8e Update screenshots 2025-10-08 15:04:35 +00: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
ElementBot a2abcfd356 Update screenshots 2025-10-08 10:03:45 +00:00
ElementBot d73573f971 Update screenshots 2025-10-07 20:12:18 +00:00
ElementBot 331583c60f Update screenshots 2025-10-07 18:33:40 +00:00
ElementBot 1532a83ab1 Update screenshots 2025-10-07 14:09:53 +00: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
ElementBot 199acc4c4d Update screenshots 2025-10-06 19:21:59 +00:00
Benoit Marty 97efdfd017 Add exception for Konsist test. 2025-10-06 10:17:31 +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
ElementBot cfe7d94450 Update screenshots 2025-10-03 13:27:43 +00:00
ElementBot 3ff3079ba7 Update screenshots 2025-10-03 13:13:53 +00:00
ElementBot 48bc32e48b Update screenshots 2025-10-02 22:32:40 +00:00
ElementBot 080280aa5f Update screenshots 2025-10-02 15:59:35 +00:00
ElementBot 99f3209b7f Update screenshots 2025-10-02 15:40:56 +00:00
Benoit Marty bb5a4f4954 Merge branch 'develop' into feature/fga/space_list_join_action 2025-10-01 12:41:22 +02:00
ElementBot 081b50ac1c Update screenshots 2025-10-01 09:04:00 +00:00
Benoit Marty 22aeac664b Merge pull request #5420 from element-hq/feature/bma/metroAssistedInject
Ensure Metro `@AssistedInject` is used.
2025-09-30 15:39:23 +02:00
ElementBot cb5c9ef8d6 Update screenshots 2025-09-30 10:33:23 +00:00
ElementBot 9aa95d4bdd Update screenshots 2025-09-29 16:10:45 +00:00
Benoit Marty 79edf4f4cf Merge branch 'develop' into feature/bma/incomingVerificationA11y 2025-09-29 17:57:00 +02:00
Andy Balaam 7ce9dc1461 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 95949e615f Sync Strings from Localazy (#5427)
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2025-09-29 15:10:21 +00:00
ElementBot 9b3ea43e9c Update screenshots 2025-09-29 14:24:32 +00:00
ElementBot ee45d6919c Update screenshots 2025-09-29 12:59:33 +00:00
Benoit Marty 0f479c1947 Add Konsist test to check Metro annotation. 2025-09-29 09:32:44 +02:00
ElementBot c78aa7cef1 Update screenshots 2025-09-26 14:01:17 +00:00
Benoit Marty 0e3efafa6d Merge branch 'develop' into feature/bma/leaveSpace 2025-09-26 15:46:57 +02:00
Benoit Marty 1e546335df 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 692111790e Update screenshots 2025-09-26 12:33:35 +00:00
Jorge Martin Espinosa a8c4d5d019 Use shared recent emoji reactions from account data (#5402)
* Use shared recent emoji reactions from account data

- Add `AddRecentEmoji` and `GetRecentEmojis` use cases to avoid injecting the whole `MatrixClient` for just one of these operations.
- Update the UI and logic of the emoji picker and message context menu to include the recent emojis.
- Add `CoroutineDispatchers.Default` with the defaults coroutines to use in the app for ease of use.

* Instead of replacing suggested emojis, concatenate recent ones removing duplicates

* Update screenshots

---------

Co-authored-by: ElementBot <android@element.io>
2025-09-26 11:04:34 +00:00
Benoit Marty 459bbecd4a Merge pull request #5387 from p1gp1g/fix
Put developer settings at the end of the view
2025-09-24 14:29:32 +02:00
Benoit Marty a953547837 Merge pull request #5401 from element-hq/feature/bma/messagesViewTopBars
Rework on messages view top bars
2025-09-24 14:15:22 +02:00
ElementBot f3a9646db2 Update screenshots 2025-09-24 09:36:41 +00:00
Benoit Marty f3f19ec476 Merge branch 'develop' into feature/fga/join_space 2025-09-24 11:20:17 +02:00
ElementBot 321c5f6497 Update screenshots 2025-09-23 20:12:48 +00:00
Jorge Martin Espinosa 0a5c178fe8 Add thread decoration with latest event details (#5355)
* Add thread decoration with latest event details
* Update screenshots

---------

Co-authored-by: ElementBot <android@element.io>
2025-09-23 14:57:50 +00:00
ganfra ad63de00df Merge branch 'develop' into fix 2025-09-23 14:38:45 +02:00
ElementBot 532dd03212 Update screenshots 2025-09-23 12:37:03 +00:00
ElementBot 46d528e207 Update screenshots 2025-09-23 08:38:58 +00:00
ElementBot e8ddee760c Update screenshots 2025-09-22 14:42:36 +00:00
Jorge Martin Espinosa 30e91e71b0 Add room info to the thread's top app bar (#5374)
* Add room info to the thread's top app bar

* Update screenshots

* Fix lint issues

---------

Co-authored-by: ElementBot <android@element.io>
2025-09-22 09:56:36 +02:00
Benoit Marty bebde0e9dd Cleanup 2025-09-16 14:38:32 +02:00
Benoit Marty a69cf58a5b Add test on DefaultSpaceEntryPoint 2025-09-16 14:38:31 +02:00