Commit Graph

4703 Commits

Author SHA1 Message Date
Benoit Marty e634952a99 normalizedPowerLevel has been removed from the SDK (and was not used). 2025-09-11 08:52:02 +02:00
Jorge Martin Espinosa 7e0931c299 Increase Element Call audio init delay (#5315)
This fixed the wrong audio stream being used when starting a call locally.
2025-09-10 10:47:12 +00:00
Benoit Marty 1876a53677 Merge pull request #5291 from element-hq/feature/bma/fixAudioSending
Detect mime type when picking a file
2025-09-09 08:52:08 +02:00
Benoit Marty 4b338bcc98 Merge pull request #5292 from element-hq/feature/bma/hideEmptySpaces
Hide the home navigation bar if the user is not a member of any Space.
2025-09-09 08:50:49 +02:00
Benoit Marty e3f7865193 Compute the content in the LaunchEffect 2025-09-08 17:09:23 +02:00
Benoit Marty c8bf49dde7 Improve rendering of title of the folder view 2025-09-08 16:56:59 +02:00
Benoit Marty 88f38a0523 Format files. 2025-09-08 16:45:54 +02:00
Benoit Marty f0291b21da Restore commented out code.
Fix regression from #5253
2025-09-08 16:42:58 +02:00
Benoit Marty 7f1355fabd Hide the home navigation bar if the user is not a member of any Space.
https://github.com/element-hq/element-meta/issues/2906: `The tab bar with the option to view joined spaces is only shown when the user has at least one space that they have joined (because otherwise they have no clue what to do in here).`
2025-09-08 15:22:20 +02:00
Benoit Marty 5ffd5b8f95 Remove useless annotation 2025-09-08 11:23:28 +02:00
Benoit Marty 255d786b70 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 f852fb4f82 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 bdb9acfd32 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 a2dd455f22 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 ba12e26b20 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 a8a6a51953 Allow replying to a message with an attachment (#5261) 2025-09-05 17:36:54 +02:00
Benoit Marty d09bc71f32 Fix compilation issue after rebase on develop. 2025-09-05 17:27:01 +02:00
Benoit Marty c24d5fc608 Code quality 2025-09-05 17:09:43 +02:00
Benoit Marty 63706c0558 Add tests on HomeSpacesPresenter 2025-09-05 17:09:42 +02:00
Benoit Marty a22ab5e663 Add space header. 2025-09-05 17:09:40 +02:00
Benoit Marty a0ec8658af Take into account hiding avatars from invitation 2025-09-05 17:09:40 +02:00
Benoit Marty 81d82fb0de Space List
Extract InviteButtonsRowMolecule
Take into account seenSpaceInvites
2025-09-05 17:09:39 +02:00
Benoit Marty 8d533e8a20 Other cleanup 2025-09-05 16:54:45 +02:00
Benoit Marty e88743bd6a Rename anvil modules to annotations and codegen 2025-09-05 14:26:27 +02:00
Benoit Marty aaaca12aa7 Sync strings again 2025-09-05 10:39:44 +02:00
Benoit Marty 2e5a4bc414 Fix compilation issue. 2025-09-05 10:13:51 +02:00
bmarty 8027ce9dca Sync Strings from Localazy 2025-09-05 07:44:19 +00:00
Jorge Martín e8328858ab Fixes after rebase 2025-09-04 16:49:21 +02:00
Jorge Martín 08bbe3fdaa 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 badd8aa8a1 Fix push notification bindings 2025-09-04 16:49:21 +02:00
Jorge Martín de8de61b2e Remove dagger and anvil dependencies, try to simplify gradle build scripts a bit 2025-09-04 16:49:21 +02:00
Jorge Martín 4ab62a6a38 Redo DI gradle setup code 2025-09-04 16:49:20 +02:00
Jorge Martín 29a97fc0d9 Fix lint issues and restore commented out code 2025-09-04 16:49:18 +02:00
Jorge Martín b76a71ebf5 Start migrating Anvil KSP to Metro 2025-09-04 16:48:34 +02:00
Jorge Martin Espinosa d4d57b1e21 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 0927a502f5 Do not let default enterprise impl module be implemented for enterprise build. 2025-09-04 13:33:37 +02:00
renovate[bot] 98cc918a3e 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 00ca73f342 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 66eb876b2d [a11y] Add click action to the message bottom sheet handle (#5228) 2025-09-01 15:27:40 +02:00
Benoit Marty 025131841b Cleanup tests. 2025-09-01 15:03:41 +02:00
Benoit Marty 75a640b986 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 02c9549bc0 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 cc3d04ad84 [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 1632706121 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 ab5dd2765e Rename test. 2025-08-26 10:24:48 +02:00
Benoit Marty 1a0e625fa9 Add unit test on DefaultOnBoardingLogoResIdProvider 2025-08-26 09:41:10 +02:00
Benoit Marty 6e4f034bc1 Rename custom_logo to onboarding_logo 2025-08-26 09:36:26 +02:00
Jorge Martin Espinosa 6e6440940f 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 4150ed5d7c 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 4c45346160 Add a way to customize the on boarding logo. 2025-08-25 14:47:41 +02:00