Commit graph

4741 commits

Author SHA1 Message Date
Benoit Marty
4d7d0ac8d0 Avoid using AndroidJUnit4 runner to test Entrypoint implementations. 2025-09-16 14:38:32 +02:00
Benoit Marty
c90332bb6e Split long line 2025-09-16 14:38:32 +02:00
Benoit Marty
cca195a1a5 Add more tests. 2025-09-16 14:38:32 +02:00
Benoit Marty
86dca3f04b Cleanup 2025-09-16 14:38:32 +02:00
Benoit Marty
bebde0e9dd Cleanup 2025-09-16 14:38:32 +02:00
Benoit Marty
a1aeb24f23 Add test on DefaultEntryPoints 2025-09-16 14:38:32 +02:00
Benoit Marty
a575019760 Use DependencyHandlerScope.testCommonDependencies() 2025-09-16 14:38:31 +02:00
Benoit Marty
bc9ba9ae06 Add test on DefaultAnalyticsEntryPoint 2025-09-16 14:38:31 +02:00
Benoit Marty
a69cf58a5b Add test on DefaultSpaceEntryPoint 2025-09-16 14:38:31 +02:00
Benoit Marty
ba51b29d23
Cleanup nodes (#5358)
* Remove unused NavTarget.Empty

* Let SpaceEntryPoint.Inputs implement NodeInputs.

* Small cleanup

* Small cleanup

* Method can be private.

* Simplify code

* Rename to follow naming convention

* Rename Node to follow naming convention

* Add Konsist test.

* Remove useless line of code.
2025-09-16 14:36:43 +02:00
Benoit Marty
0955866dcd Rename to follow naming convention 2025-09-16 10:36:35 +02:00
Benoit Marty
d6acd94dee Simplify code 2025-09-16 10:33:18 +02:00
Valere Fedronic
5d1154083b
Call: MSC4310 sending RTC decline event and listening for Decline from other sessions
MSC4310 RTC decline event support
2025-09-16 10:25:17 +02:00
Benoit Marty
7a60e46d8f Method can be private. 2025-09-16 10:24:16 +02:00
Benoit Marty
a3b160aace Small cleanup 2025-09-16 10:08:50 +02:00
Benoit Marty
9ac74af722 Small cleanup 2025-09-16 10:06:16 +02:00
Benoit Marty
8fa7f71d0d Let SpaceEntryPoint.Inputs implement NodeInputs. 2025-09-16 09:58:42 +02:00
Benoit Marty
2571bbf4ba Remove unused NavTarget.Empty 2025-09-16 09:57:21 +02:00
Jorge Martin Espinosa
d9e7d74d2d
Upgrade Rust SDK bindings to v25.09.15 (#5353)
* Upgrade Rust SDK bindings to `v25.09.15`:

This contains important changes to the APIs used to build the EC widget.

* Use the new `intent` parameter correctly, by calculating locally its behaviour based on whether the room is a DM and there is an ongoing call or not.

Using just the `intent` parameter is our end goal, but sadly this is not fully supported by the current EC embedded `v0.15.0`, so we need to add a workaround using the `skipLobby` and `preload` parameters.
2025-09-15 15:15:10 +02:00
ElementBot
23cb084126
Sync Strings from Localazy (#5349)
Co-authored-by: bmarty <3940906+bmarty@users.noreply.github.com>
2025-09-15 08:39:59 +02:00
Richard van der Hoff
120c30e076
Show progress dialog while we are sending invites in a room (#5342)
* Add `InvitePeopleState.sendInvitesAction`

Keep track of the progress on sending invites with a new state property.

* Keep `RoomInviteMembersView` open until invites are sent

* Sync strings from localazy

* extend `ProgressDialog` to support custom content

For my current design, a simple text element is insufficient. I extend
`ProgressDialog` to give more flexibility over the content of the dialog.

* Show progress dialog while invites are being sent

* Add new ProgressDialog previews to the naming exceptions list

* Update screenshots

---------

Co-authored-by: ElementBot <android@element.io>
Co-authored-by: Jorge Martín <jorgem@element.io>
2025-09-12 10:35:37 +00:00
Benoit Marty
3af4405ee3
Space list (#5320)
* feature(spaces) : introduce SpaceRoomList matrix api

* feature (space) : extract SpaceRoomItemView

* feature(spaces) : start introducing SpaceScreen

* feature (space) : iterate on space list (and space screen)

* feature (space) : add space cache and navigation to sub space/room

* feature (space) : display top bar title

* Code cleanup, remove dead code and fix compilation issue

* More compilation fixes.

* Update screenshots

* Fix test compilation issues.

* Introduce MatrixClient.rememberHideInvitesAvatar() extension to reduce code duplication.

* Add test on SpacePresenter

* Add test on SpaceRoomCache and fix implementation

* Iterate on SpaceRoomCache thanks to SpaceRoomCacheTest

* Add UT on SpaceListUpdateProcessor

* Fix quality issue.

* Add tests on RustSpaceRoomList

---------

Co-authored-by: ganfra <francoisg@matrix.org>
Co-authored-by: ElementBot <android@element.io>
2025-09-11 17:29:15 +02:00
Benoit Marty
5bbe299627 Use .value instead of .toString(). 2025-09-11 17:04:58 +02:00
Benoit Marty
0b5cb57e46 Extract plantTestTimber 2025-09-11 16:58:47 +02:00
Benoit Marty
95207ee6eb Improve log messages and comment 2025-09-11 16:37:12 +02:00
Benoit Marty
9585f59725 Code cleanup. Avoid usage of !! 2025-09-11 16:23:07 +02:00
Valere
9546a731d4 fix detekt 2025-09-11 13:41:24 +02:00
Valere
e20b3550dc Call: RTC decline event support 2025-09-11 13:33:37 +02:00
Benoit Marty
e634952a99 normalizedPowerLevel has been removed from the SDK (and was not used). 2025-09-11 08:52:02 +02:00
Benoit Marty
c982279d5c Add test on SpacePresenter 2025-09-10 16:30:21 +02:00
Benoit Marty
2128f3c059 Introduce MatrixClient.rememberHideInvitesAvatar() extension to reduce code duplication. 2025-09-10 15:48:08 +02:00
Benoit Marty
e227885345 More compilation fixes. 2025-09-10 14:58:18 +02:00
Benoit Marty
bb39a9f399 Code cleanup, remove dead code and fix compilation issue 2025-09-10 14:47:07 +02:00
ganfra
f5882fef11 feature (space) : display top bar title 2025-09-10 14:32:08 +02:00
ganfra
d4d2aa1707 feature (space) : add space cache and navigation to sub space/room 2025-09-10 14:31:44 +02:00
ganfra
b45a4c3b2c feature (space) : iterate on space list (and space screen) 2025-09-10 14:30:10 +02:00
ganfra
4048bb7fb6 feature(spaces) : start introducing SpaceScreen 2025-09-10 14:28:55 +02:00
ganfra
5d8ca6590e feature (space) : extract SpaceRoomItemView 2025-09-10 14:28:30 +02:00
ganfra
aadd8b45e2 feature(spaces) : introduce SpaceRoomList matrix api 2025-09-10 14:25:17 +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