Commit Graph

4692 Commits

Author SHA1 Message Date
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
2315044232 Cleanup our DI solution and add documentation about the migration to Metro (#5287)
* Format

* Rename anvil modules to annotations and codegen

* Add documentation to migrate from Dagger/Anvil to Metro

* Other cleanup

* Cleanup kover config.
2025-09-05 17:39:56 +02:00
Jorge Martin Espinosa
1fb5e63c30 Allow replying to a message with an attachment (#5261) 2025-09-05 17:36:54 +02:00
Benoit Marty
5493180e48 Fix compilation issue after rebase on develop. 2025-09-05 17:27:01 +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
cbcf86b1c9 Take into account hiding avatars from invitation 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
2959036c82 Sync strings again 2025-09-05 10:39:44 +02:00
Benoit Marty
31c4da111a Fix compilation issue. 2025-09-05 10:13:51 +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
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
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
Benoit Marty
9daadb384e Do not let default enterprise impl module be implemented for enterprise build. 2025-09-04 13:33:37 +02:00
renovate[bot]
b3e7e7b2c3 Update dependency io.element.android:emojibase-bindings to v1.4.3 (#5250)
* Update dependency io.element.android:emojibase-bindings to v1.4.3

* Fix breaks in API

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
2025-09-02 09:20:21 +02: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
Jorge Martin Espinosa
f5b5bb39ba [a11y] Add click action to the message bottom sheet handle (#5228) 2025-09-01 15:27:40 +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
Benoit Marty
516ba08f9c Remove LoginUserStory.
No that we do not have the WaitList screen anymore, this interface and implementation are useless.
2025-08-27 15:20:20 +02:00
Benoit Marty
299e1c2c6d Rename test. 2025-08-26 10:24:48 +02:00
Benoit Marty
62ef4db2e8 Add unit test on DefaultOnBoardingLogoResIdProvider 2025-08-26 09:41:10 +02:00
Benoit Marty
dbc511ba1b Rename custom_logo to onboarding_logo 2025-08-26 09:36:26 +02:00
Jorge Martin Espinosa
d9dde270b2 Add extra logs for sending media (#5218)
* Add extra logs for sending media

We have some issues with stuck media uploads that could use some logs to understand where the process gets stuck.

* Fix mocks for test
2025-08-26 07:02:15 +00:00
Benoit Marty
20979b9824 Merge pull request #5217 from element-hq/bma/customSplash
Custom logo on on boarding screen.
2025-08-25 18:01:37 +02:00
Benoit Marty
ce20a01ac0 Add a way to customize the on boarding logo. 2025-08-25 14:47:41 +02:00
Benoit Marty
61e2ae2606 Merge pull request #5214 from element-hq/feature/bma/a11yScreenshotTest
Introduce a11y screenshot test
2025-08-25 12:23:02 +02:00
Benoit Marty
14ff83b5bb Merge pull request #5215 from element-hq/feature/bma/cleanupInject
AnalyticsOptInStateProvider does not need to have an injected constructor
2025-08-25 12:19:07 +02:00
Benoit Marty
0e09617a8d AnalyticsOptInStateProvider does not need to have an injected constructor. 2025-08-25 12:08:15 +02:00
Benoit Marty
2b42271615 Split module deeplink to api and impl. 2025-08-25 11:36:42 +02:00
Benoit Marty
ef230e3bda Remove dependency to Anvil from modules that do not use it. 2025-08-25 11:36:42 +02:00
ElementBot
2ec3053d77 Sync Strings from Localazy (#5211)
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2025-08-25 11:15:38 +02:00
Benoit Marty
c13d9a935b Test previews with a11y details and add a first example with HomeViewA11yPreview. 2025-08-25 11:10:23 +02:00
Benoit Marty
4653164572 Merge pull request #5207 from element-hq/feature/bma/spaceInfoUi
Add UI components for spaces.
2025-08-23 16:16:39 +02:00
Benoit Marty
ec53561de0 Let JoinRule and AllowRule be Immutable. 2025-08-22 16:13:55 +02:00
Jorge Martin Espinosa
e9f065c479 Allow replying to any remote message in a thread (#5201)
* Allow replying to any remote message in a thread.

This will open the thread screen based on the selected event:

- If it was already part of a thread, it will open that thread.
- Otherwise, it'll open the thread timeline screen so you can start a thread from the event.

* Add the feature flag to decide which action to perform. Also, rename the feature flag to something easier to understand.

* Display the reply in thread action based on the feature flag too

---------

Co-authored-by: ElementBot <android@element.io>
2025-08-22 16:07:13 +02:00
Jorge Martin Espinosa
2f2e886e9f Handle preference stores corruption by clearing them (#5086)
* Handle preference stores corruption by clearing them:
    - Use the centralised `PreferenceDataStoreFactory` instead of `preferences by`.
    - Add `DefaultPreferencesCorruptionHandlerFactory.replaceWithEmpty` to its `create(name)` method so all preference stores are cleared if they're corrupted.

* Add detekt rule to make sure we use `PreferenceDataStoreFactory` instead of `by preferencesDataStore`

* Remove `@SingleIn` annotations as the annotated class no longer have to be singletons
2025-08-22 06:59:06 +00:00