Commit Graph

907 Commits

Author SHA1 Message Date
ganfra
f56ec5908d change(room members): moderation sheet design updates 2025-11-13 17:13:45 +01:00
Benoit Marty
185d4fadde Let notifications use avatar fallback.
Extract code which handles Matrix image to its own api / impl / test modules.
2025-11-12 11:28:42 +01:00
Benoit Marty
1292da2a72 Copyright: Add Element Creations Ltd. copyright 2025-11-10 11:05:05 +01:00
Benoit Marty
b748fcc631 Copyright: Add final period 2025-11-10 10:13:41 +01:00
Benoit Marty
0a0224b586 Copyright: run command uv run license-editor --repository ../element-x-android 2025-11-10 10:09:26 +01:00
Skye Elliot
400db77e46 chore: Remove unused import. 2025-11-07 15:24:24 +00:00
Skye Elliot
ec3103b788 fix: Use Icon(imageVector = icon) over rememberVectorPainter(icon) 2025-11-07 15:18:08 +00:00
Skye Elliot
ef56d15ef4 refactor: Extract ComposerAlertMoleculeParamsProvider to new file. 2025-11-07 15:15:00 +00:00
Skye Elliot
7abbb1bb19 Merge branch 'develop' into kaylendog/history-sharing/alert 2025-11-07 15:10:29 +00:00
ganfra
c08f4a183c Merge branch 'develop' into feature/fga/role_and_permissions_rework 2025-11-06 13:51:04 +01:00
Skye Elliot
87ef2179a1 feat: Convert ComposerAlertMolecule to use alert levels. 2025-11-06 12:44:02 +00:00
ganfra
de4f0e7ce3 design: improve PreferenceDropdown 2025-11-06 10:59:50 +01:00
Benoit Marty
f8d8830194 Rename preview. 2025-11-06 09:33:43 +01:00
ganfra
fca62a333e change(roles and permissions): clean code 2025-11-05 15:40:34 +01:00
ganfra
849dfa4a5e design: PreferenceDropdown now uses DropdownMenu 2025-11-05 10:21:09 +01:00
ganfra
fb1e83fdf9 design: update DropdownMenu to better match figma 2025-11-05 10:16:51 +01:00
Benoit Marty
bfc13c37a9 Extract SaveChangesDialog to its own file 2025-11-04 15:58:59 +01:00
ganfra
08227d4403 change(roles and permissions): update change permission design 2025-11-03 21:40:42 +01:00
Jorge Martin Espinosa
45b5783b23 Display only valid emojis in recent emoji list (#5612)
* Create `:libraries:recentemojis` and move `AddRecentEmoji` and `GetRecentEmojis` there

- Make sure `GetRecentEmojis` won't return duplicate or invalid emojis.
- `ActionListPresenter` now handles merging suggested and recent emojis, not `ActionListView`.
2025-10-30 15:27:51 +00:00
Benoit Marty
8bfb86683d Fix "Arrow is redundant when parameter list is empty"
And other issues that ktlint now reports
2025-10-30 14:33:25 +01:00
Jorge Martin Espinosa
1f5f6896c6 Fix marking a room as read re-instantiates its timeline (#5628)
* Add `Timeline.markAsRead` to avoid reinstantiating the timeline using `Room.markAsRead`

* Mark as read when exiting the room screen, destroy the timeline when fully closed

* Ensure `MarkAsFullyReadAndExit` event can only be processed once

* Fix `DelayedVisibility` not being displayed in previews
2025-10-30 08:39:06 +01:00
ganfra
eb2b527236 design(home) : use enterAlwaysScrollBehavior for the RoomListFiltersView 2025-10-23 16:41:43 +02:00
Benoit Marty
7829c1fb54 Add missing icon in the list 2025-10-22 16:14:06 +02:00
Benoit Marty
c9e65a7c7d Remove icon preview duplication.
We now have IconsCompoundPreview with the same content in only one image.
2025-10-22 16:11:41 +02:00
Benoit Marty
c2c77aad2a Improve API and fix theme glitch when switching between accounts. 2025-10-22 09:32:15 +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
Benoit Marty
8b703ed046 Let the enterprise build be able to update the colors. 2025-10-15 11:25:58 +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
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
Benoit Marty
e6cd8d5fb5 Remove useless Immutable annotation 2025-10-09 18:22:33 +02:00
ganfra
3c9b322fa8 Merge pull request #5493 from element-hq/feature/fga/space_description
feature(space): make sure to handle topic properly
2025-10-09 15:39:15 +02:00
Benoit Marty
5671a5fc07 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
7ce2c08f6e 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
ganfra
cb50262b13 misc(design) : introduce SimpleModalBottomSheet component 2025-10-09 11:25:54 +02:00
Benoit Marty
b03391e3f3 Reduce number of Preview for Avatar.
It will cover more cases, and it will limit the risk of conflict on screenshot, which happen each time we touch AvatarSize.
2025-10-09 09:55:19 +02:00
ganfra
6f4af1dda4 feature(space): make sure to handle topic properly 2025-10-09 09:37:59 +02:00
Benoit Marty
a13664456c Disable Avatar cluster for now. 2025-10-08 18:08:08 +02:00
Benoit Marty
da78386d25 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
Benoit Marty
99cca81978 Add a preview for all icons.
It will help to investigate icon rendering issue using Showkase browser.
2025-10-08 11:45:12 +02:00
Benoit Marty
1502a3ffbe Use "BETA" word from Localazy and ensure layout is correct in IconTitleSubtitleMolecule if the title is long. 2025-10-07 14:46:20 +02:00
Benoit Marty
4660fe428d Use semantics colors. 2025-10-03 15:07:41 +02:00
Benoit Marty
8664b2ce90 Add a way to use the primary color for the icon. 2025-10-03 00:14:27 +02:00
Benoit Marty
6e9ba7760e Add Composable for a Beta label 2025-10-03 00:14:24 +02: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
Benoit Marty
bc465d724a Leave space - Add screen to leave a space. 2025-09-26 14:14:00 +02:00