Commit Graph

375 Commits

Author SHA1 Message Date
Benoit Marty
73a85db574 Format code. 2025-10-08 17:54:13 +02:00
Benoit Marty
8aacdc4954 Improve and add previews. 2025-10-08 16:49:26 +02:00
ganfra
4dd9c9ab73 feature(space): use room heroes for avatar 2025-10-08 14:09:51 +02:00
Benoit Marty
e2a6ca5030 Reduce number of changes in preview. 2025-10-07 21:56:25 +02:00
ganfra
dde6dd0ed5 feature(space): use SpaceRoom.displayName from sdk 2025-10-07 20:15:46 +02:00
ganfra
824d4075f6 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
1c819e5774 feature(space): introduce SpaceRoomVisibility and remove room count 2025-10-06 20:50:05 +02:00
Benoit Marty
cabeb19ae1 Naming convention and use MatrixMediaLoader instead of MatrixClient for Coil factories. 2025-10-06 15:13:41 +02:00
Benoit Marty
67c6a1bd5f Let MatrixClient exposes val instead of fun for the services. 2025-10-06 15:12:35 +02:00
ganfra
ea08edb912 feature(space): compute space room name locally 2025-10-06 14:21:01 +02:00
Benoit Marty
b9638fb396 Add modifier parameter. 2025-10-01 11:22:46 +02:00
Benoit Marty
330f675541 Improve Previews. 2025-10-01 10:48:15 +02:00
ganfra
dbffad29d0 feature (space) : handle accept decline invite 2025-09-30 15:59:29 +02:00
ganfra
de4e3d8735 feature (space) : some code clean up 2025-09-29 21:27:41 +02:00
ganfra
7050076beb feature (space) : add trailing action to SpaceRoomItemView 2025-09-25 15:31:22 +02:00
Benoit Marty
461565fc9c Merge branch 'develop' into feature/fga/join_space 2025-09-24 11:20:17 +02:00
Jorge Martin Espinosa
3a3dce150a 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
Benoit Marty
a25797dfd3 Code cleanup 2025-09-22 14:59:43 +02:00
ganfra
dd13605085 feature (space) : add string "No space name" 2025-09-19 17:42:47 +02:00
ganfra
5cda6730c4 Merge branch 'develop' into feature/fga/join_space 2025-09-19 16:35:55 +02:00
ganfra
9b2a1a711d design (join room) : update design of join room screen 2025-09-16 14:51:11 +02:00
Benoit Marty
629fc552e5 Use DependencyHandlerScope.testCommonDependencies() 2025-09-16 14:38:31 +02:00
Benoit Marty
aa63d9420a Introduce MatrixClient.rememberHideInvitesAvatar() extension to reduce code duplication. 2025-09-10 15:48:08 +02:00
ganfra
d3a9c12ac6 feature (space) : extract SpaceRoomItemView 2025-09-10 14:28:30 +02:00
ganfra
f56ccdc786 feature(spaces) : introduce SpaceRoomList matrix api 2025-09-10 14:25:17 +02:00
Benoit Marty
cd4c765143 Code quality 2025-09-05 17:09:43 +02:00
Benoit Marty
fdea38ddb0 Add space header. 2025-09-05 17:09:40 +02:00
Benoit Marty
85d7532124 Space List
Extract InviteButtonsRowMolecule
Take into account seenSpaceInvites
2025-09-05 17:09:39 +02:00
bmarty
676d7f6c8f Sync Strings from Localazy 2025-09-05 07:44:19 +00:00
Jorge Martín
8f09fd62d9 Fixes after rebase 2025-09-04 16:49:21 +02:00
Jorge Martín
e06bacbff3 Redo DI gradle setup code 2025-09-04 16:49:20 +02:00
Jorge Martín
fc3153bd26 Fix lint issues and restore commented out code 2025-09-04 16:49:18 +02:00
Jorge Martín
92a4b8b66b Start migrating Anvil KSP to Metro 2025-09-04 16:48:34 +02:00
ElementBot
a43b907275 Sync Strings from Localazy (#5249)
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2025-09-01 12:44:49 +02:00
Benoit Marty
2ad6ca5f22 Add SpaceHeaderView. 2025-08-22 14:50:30 +02:00
Benoit Marty
a45c2a0d03 Add SpaceInfoRow to display info about a space in a space header. 2025-08-22 11:49:49 +02:00
Benoit Marty
dbf91f6dcf Use Surface API for border and shape. 2025-08-21 09:19:33 +02:00
Benoit Marty
64f455cb51 Fix preview issue. 2025-08-20 21:45:24 +02:00
Benoit Marty
31df5204a6 Introduce SpaceMembersView.
Ref: https://www.figma.com/design/G1xy0HDZKJf5TCRFmKb5d5/Compound-Android-Components?node-id=3729-605&m=dev
2025-08-20 17:40:49 +02:00
Benoit Marty
e26ef969fd Add UI component OrganizationHeader
Ref: https://www.figma.com/design/G1xy0HDZKJf5TCRFmKb5d5/Compound-Android-Components?node-id=3643-2048&m=dev
2025-08-20 15:41:22 +02:00
Benoit Marty
aadaeb78d8 Add UI component EditableOrgAvatar
Ref: https://www.figma.com/design/G1xy0HDZKJf5TCRFmKb5d5/Compound-Android-Components?node-id=3643-2678&m=dev
2025-08-20 15:17:53 +02:00
Jorge Martin Espinosa
59a8aaebff Add shortcut suggestions for rooms, remove then when leaving (#5180)
* Report shortcut usage for outgoing messages

This patch adds support for creating and pushing dynamic
long-lived shortcuts for outgoing messages. This together
with an existing reference to the roomId used by the
shortcuts as an identifer allows conversations to be
prioritized.

See https://developer.android.com/training/sharing/direct-share-targets#report-usage-outgoing

* Simplify how to get the other user in a DM room

* Add initial avatar icons to shortcuts

* Remove room shortcuts when they're no longer joined

* Try using API 33 for the new tests. They worked locally with API 30, so it's weird the CI asks for a higher API version.

* Add observers for the pin code and session logout states. With this we can prevent new shortcuts from being created and remove existing ones when needed.

* Wrap all calls to `ShortcutManagerCompat` with `runCatchingExceptions` to avoid crashes

* Make `DefaultNotificationConversationService` a singleton.

---------

Co-authored-by: networkException <git@nwex.de>
Co-authored-by: ElementBot <android@element.io>
2025-08-19 16:02:51 +02:00
Jorge Martin Espinosa
285066c206 Threads - first iteration (#5165)
* Initial threads support: parse `ThreadSummary`.

Replace several `isThreaded` values with `EventThreadInfo`, which contains the info about the event either being the root of a thread or part of it.

* Add `Threaded` timeline mode

* Add a `liveTimeline` parameter to `TimelineController`'s  constructor. This way we can customise which timeline will be used as the 'live' one. Also add `@LiveTimeline` DI qualifier for the actual live timeline of the room.

* Create `ThreadedMessagesNode`. Allow opening a thread in a separate screen.

* Add the callbacks for the list menu actions - even if they're the wrong ones and will send the data to the room instead

* Send attachments and location in threads

* Fix polls in threads, add support for sending voice messages in threads

* Display thread summaries only when the feature flag is enabled

* Use 'Reply' instead of 'Reply in thread' when in threaded timeline mode

* Remove incorrect usage of `Timeline` in `MessageComposerPresenter`. This led to replies to threaded events not appearing as actual replies.

---------

Co-authored-by: ElementBot <android@element.io>
2025-08-19 13:35:48 +00:00
Benoit Marty
dd5a3acaec Create common SelectedItem composable. 2025-08-19 10:19:12 +02:00
Benoit Marty
bf52e99295 Improve accessibility. 2025-08-19 10:02:53 +02:00
Benoit Marty
cad3b5b8ad Rename val to improve code readability 2025-08-19 09:58:31 +02:00
Benoit Marty
357d558f04 Improve preview of SelectedRoom and SelectedUser. 2025-08-19 09:54:22 +02:00
Benoit Marty
fd75b71733 Improve preview of SelectedRoom. 2025-08-19 09:48:04 +02:00
Benoit Marty
91369e9455 Update text colors when the state is disabled. 2025-08-18 17:16:46 +02:00
Benoit Marty
5d2246569f [UI] Iterate on user invite view. 2025-08-18 17:16:28 +02:00