Commit Graph

4240 Commits

Author SHA1 Message Date
Benoit Marty
137dc3bf25 Add UT on SpaceListUpdateProcessor 2025-09-11 09:57:18 +02:00
ganfra
00d07f970a Iterate on SpaceRoomCache thanks to SpaceRoomCacheTest 2025-09-10 21:42:25 +02:00
Benoit Marty
54daa6251c Add test on SpaceRoomCache and fix implementation 2025-09-10 18:18:16 +02:00
Benoit Marty
884231e1e1 Add test on SpacePresenter 2025-09-10 16:30:21 +02:00
Benoit Marty
aa63d9420a Introduce MatrixClient.rememberHideInvitesAvatar() extension to reduce code duplication. 2025-09-10 15:48:08 +02:00
Benoit Marty
c6b522e5ad Fix test compilation issues. 2025-09-10 15:48:07 +02:00
Benoit Marty
d7c6cbc78c Code cleanup, remove dead code and fix compilation issue 2025-09-10 14:47:07 +02:00
ganfra
65961ad404 feature (space) : add space cache and navigation to sub space/room 2025-09-10 14:31:44 +02:00
ganfra
6b9afd9e6f feature (space) : iterate on space list (and space screen) 2025-09-10 14:30:10 +02:00
ganfra
2fe56f834f feature(spaces) : start introducing SpaceScreen 2025-09-10 14:28:55 +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
2c8329e9ca Use createShortcutId() in the test. 2025-09-09 09:05:39 +02:00
Benoit Marty
6d6cdfc55b Introduce filterBySession() extension 2025-09-09 09:03:06 +02:00
Benoit Marty
a6f3a16d5f Introduce createShortcutId to enforce the same computation of shortcut ids.
Fixes https://github.com/element-hq/element-x-android/pull/5192#discussion_r2326482795
2025-09-09 08:59:57 +02:00
Benoit Marty
ef738a4210 Merge pull request #5192 from frebib/frebib/conversation-notification
Set shortcut ID on received notifications to make them appear as a Conversation
2025-09-09 08:52:32 +02:00
Benoit Marty
ebbcdc7478 Detect mime type when picking a file
The file picker will now try to detect the mime type of the selected file.
If it cannot be detected, it will fallback to `application/octet-stream`.
2025-09-08 11:23:26 +02:00
ElementBot
943bbee131 Sync Strings from Localazy (#5290)
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2025-09-08 09:37:13 +02:00
Jorge Martin Espinosa
a050f64196 Add emoji search to the reaction emoji picker (#5255)
* Add emoji search to the reaction emoji picker

* Update screenshots

* Fix tests and lint issues.

Fixing the tests required addressing some underlying issues in `SearchBar`

---------

Co-authored-by: ElementBot <android@element.io>
2025-09-05 17:11:40 +00:00
Benoit Marty
d977ed25a4 Merge pull request #5273 from element-hq/feature/bma/spaceNextStep
Space: add content in home screen
2025-09-05 17:55:14 +02:00
Benoit Marty
ff84e15ec7 Fix RustMatrixClientTest 2025-09-05 17:09:43 +02:00
Benoit Marty
cd4c765143 Code quality 2025-09-05 17:09:43 +02:00
Benoit Marty
dab9e374e6 Add tests on HomeSpacesPresenter 2025-09-05 17:09:42 +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
Benoit Marty
aee66d6316 Other cleanup 2025-09-05 16:54:45 +02:00
Benoit Marty
4e720cecb1 Rename anvil modules to annotations and codegen 2025-09-05 14:26:27 +02:00
Benoit Marty
911aee9375 Sync strings again 2025-09-05 11:22:33 +02:00
Benoit Marty
2959036c82 Sync strings again 2025-09-05 10:39:44 +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
2907cef47e Some cleanup:
- Remove unnecessary `GlobalScope`.
- Rename `Component` to `Graph`, `DaggerComponentOwner` to `DependencyInjectionGraphOwner`.
- Rename component builders to factories, where necessary.
2025-09-04 16:49:21 +02:00
Jorge Martín
36bca71a46 Improve the fix for push notifications and MessagingReceiver being unknown to the DI 2025-09-04 16:49:21 +02:00
Jorge Martín
298fda8bcf Fix push notification bindings 2025-09-04 16:49:21 +02:00
Jorge Martín
dca1c5b516 Remove dagger and anvil dependencies, try to simplify gradle build scripts a bit 2025-09-04 16:49:21 +02:00
Jorge Martín
f23a493d4c Fix module still using dagger annotation 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
Jorge Martin Espinosa
2eacce47c0 Reload member list after moderation actions (#5268)
* Reload member list after moderation actions

The previous `runActionAndWaitForMembershipChange` logic wasn't really doing anything, as the modified flow was never used.

* Make sure we always set the value in the member list state flow, even if the underlying coroutine scope is no longer there.

With `emit`, the `Ready` state was not emitted if the member list was loaded way too fast.
2025-09-04 12:56:46 +00:00
Jorge Martin Espinosa
fb764d2b72 Set a custom request config for the Client (#5266)
This is the default HTTP request configuration that will be used. I matches iOS.
2025-09-03 12:09:40 +00:00
Benoit Marty
280f9570ec Refactor: Move InMemorySessionStore to test module (#5252)
* Refactor: Move InMemorySessionStore to test module

- Delete `libraries/session-storage/impl-memory` module
- Move `InMemorySessionStore.kt` to `libraries/session-storage/test`

* Cleanup tests.

* Fix error.
2025-09-01 17:29:43 +02:00
Benoit Marty
a3fa1744b2 Fix error. 2025-09-01 16:41:12 +02:00
Jorge Martin Espinosa
f5b5bb39ba [a11y] Add click action to the message bottom sheet handle (#5228) 2025-09-01 15:27:40 +02:00
João Breno
fbca1b3dfe Update state in runUpdatingState when CancellationException occurs (#5243) 2025-09-01 15:07:32 +02:00
Benoit Marty
a00623e490 Cleanup tests. 2025-09-01 15:03:41 +02:00
Benoit Marty
5f223f3c89 Refactor: Move InMemorySessionStore to test module
- Delete `libraries/session-storage/impl-memory` module
- Move `InMemorySessionStore.kt` to `libraries/session-storage/test`
2025-09-01 14:47:42 +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
Jorge Martin Espinosa
ace078f12e [a11y] Add content descriptions to room list item indicators (#5236)
* [a11y] Add content descriptions to room list item indicators. These can now be read aloud as 'ongoing call', 'new messages', 'new mentions'.

* Add `contentDescription` to `UnreadIndicatorAtom` as an optional value

* Make the 'ongoing call', 'new messages', etc. indicators be read aloud before the latest event of the room summary

---------

Co-authored-by: ElementBot <android@element.io>
2025-08-27 17:14:59 +02:00
Strac Consulting Engineers Pty Ltd
c45a1ca842 Spelling correction in Update FeatureFlags.kt (#5232)
Spelling correction L74 (flog to flag)
2025-08-27 11:31:28 +02:00