Commit Graph

7193 Commits

Author SHA1 Message Date
Benoit Marty
e66c793fbe Simplify a bit the API. 2024-02-08 11:34:54 +01:00
Benoit Marty
8a3f33ce1a Add test for RoomListContextMenu 2024-02-08 11:34:54 +01:00
Benoit Marty
48b7f054ee Introduce function aContextMenuShown to create RoomListState.ContextMenu.Shown 2024-02-08 11:34:54 +01:00
Benoit Marty
3b68ac49d3 Fix test after default value change on parameter of createRoomListRoomSummary. 2024-02-08 11:34:54 +01:00
Benoit Marty
8665104756 Remove unnecessary parenthesis 2024-02-08 11:34:54 +01:00
ElementBot
68373a2817 Update screenshots 2024-02-08 11:34:54 +01:00
Benoit Marty
1f1ac1f021 Changelog 2024-02-08 11:34:54 +01:00
Benoit Marty
6646b068bd Add more tests 2024-02-08 11:34:54 +01:00
Benoit Marty
12da93a926 Give 0 has default value for fixtures creators.
Also increases the readability of tests.
2024-02-08 11:34:54 +01:00
Benoit Marty
0f8eda050b Add test to check behavior of isMarkedUnread parameter 2024-02-08 11:34:54 +01:00
Benoit Marty
330e760386 Move RoomListRoomSummary factory to a dedicated file, more tests will be added. 2024-02-08 11:34:54 +01:00
Benoit Marty
ca91b23512 Add ability mark as unread / mark as read a room. 2024-02-08 11:33:43 +01:00
Benoit Marty
505bd5c738 Fix potential error:
Modifier factory functions must use the receiver Modifier instance
2024-02-08 11:06:06 +01:00
Benoit Marty
5669aa27e6 Move clearFocusOnTap to the designsystem library to reduce code duplication. 2024-02-08 11:06:06 +01:00
Benoit Marty
72b89338b3 Remove Modifier parameter in private function when only default value is used.
This will improve the code coverage metrics, and this also fixes a few potential bug, where the Modifier was used several times.
2024-02-08 11:06:06 +01:00
Jorge Martin Espinosa
6f082232d3 Move migration screen to within the room list (#2361)
* Rename migration bg drawable and add night variant
* Move `migration` package from `ftue` to `messages:impl` module
* Update `SunsetPage` with light and dark modes
* Fix bloom colors when nested theme is used
* Integrate the migration screen in the room list
* Fix `WaitListView` cancel button color
* Clear migration store when removing the app's cache

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-02-08 10:01:08 +00:00
renovate[bot]
4b9fac2d9b Update dependency androidx.compose:compose-bom to v2024.02.00 2024-02-08 09:19:06 +00:00
Jorge Martin Espinosa
deb8430d80 Merge pull request #2363 from element-hq/renovate/kotlin
Update dependency androidx.compose.compiler:compiler to v1.5.9
2024-02-08 10:18:16 +01:00
Jorge Martin Espinosa
0db641dcee Merge pull request #2357 from poljar/poljar/log-olm-trace
Enable trace logging for the Olm Account
2024-02-08 09:59:10 +01:00
Jorge Martin Espinosa
1288c42bb2 Merge branch 'develop' into poljar/log-olm-trace 2024-02-08 09:50:58 +01:00
Benoit Marty
e2a05c3914 Merge pull request #2358 from element-hq/renovate/io.element.android-compound-android-0.x
Update dependency io.element.android:compound-android to v0.0.4
2024-02-07 23:30:46 +01:00
Benoit Marty
7077b8e1bd Add missing period. 2024-02-07 23:23:49 +01:00
Benoit Marty
f9599a6a6f Add tests on MessagesView 2024-02-07 23:02:32 +01:00
Benoit Marty
6c96b53d9f Add result type to EnsureCalledOnceWithParam 2024-02-07 23:02:32 +01:00
Benoit Marty
c3f6dbd1c1 Add parameter to functions which create states, to avoid copy. 2024-02-07 23:02:32 +01:00
Benoit Marty
18c1335897 Merge pull request #2360 from element-hq/feature/bma/fixTodo
Fix some todo
2024-02-07 22:57:23 +01:00
renovate[bot]
3b4d038e1c Update dependency androidx.compose.compiler:compiler to v1.5.9 2024-02-07 21:41:10 +00:00
ganfra
f2a19cfa7e RoomListFilters : first iteration on the design 2024-02-07 21:27:23 +01:00
renovate[bot]
f0136375c0 Update dependency androidx.compose.material3:material3 to v1.2.0 2024-02-07 18:05:53 +00:00
Jorge Martin Espinosa
1c9a91c44f Merge pull request #2359 from element-hq/renovate/org.matrix.rustcomponents-sdk-android-0.x
Update dependency org.matrix.rustcomponents:sdk-android to v0.1.98
2024-02-07 17:34:23 +01:00
renovate[bot]
0571864e30 Update dependency org.matrix.rustcomponents:sdk-android to v0.1.98 2024-02-07 15:34:08 +00:00
renovate[bot]
6ae9dfbef1 Update dependency io.element.android:compound-android to v0.0.4 2024-02-07 15:34:03 +00:00
Benoit Marty
125da04192 Extract session folder name computation from RustMatrixClient 2024-02-07 16:33:48 +01:00
Benoit Marty
f1f14e9fed Rename parameter, since it is also invoked in the confirmation dialog, not only for the error dialog. 2024-02-07 16:33:48 +01:00
Benoit Marty
a1f78372d6 Remove LogCompositions.
It was used at the beginning of the project, but is not useful anymore.
2024-02-07 16:33:48 +01:00
Benoit Marty
8f3bb607da Use appName from BuildMeta in the crash detection dialog. 2024-02-07 16:33:48 +01:00
Damir Jelić
b2101a1b80 Enable trace logging for the Olm Account
This should help us to track down UTD sources, it ensures that we log
the state of a Olm session when we try to decrypt an `m.olm.*` to-device
message.
2024-02-07 10:46:34 +01:00
Benoit Marty
9a5e0cdcb3 Merge pull request #2355 from element-hq/feature/bma/testTimelineView
Test timeline view
2024-02-07 10:38:32 +01:00
Benoit Marty
9e6b6c42f8 Merge remote-tracking branch 'origin/develop' into feature/bma/testTimelineView 2024-02-07 10:38:05 +01:00
Benoit Marty
3359d1b347 Use Kdoc. 2024-02-07 10:31:08 +01:00
Benoit Marty
3c36868f85 Merge pull request #2349 from element-hq/feature/bma/disableTyping
"Share presence" setting
2024-02-07 10:29:43 +01:00
Benoit Marty
2e2ecae1a6 Remove verbose flag, was added to get more details about an error. 2024-02-07 10:29:18 +01:00
Benoit Marty
61a449ab25 Merge pull request #2353 from element-hq/feature/bma/removeDuplicate
Do not use a key for the LazyColumn.
2024-02-07 09:47:02 +01:00
Benoit Marty
cebfa6560a Try to get more log from Codecov action. 2024-02-06 20:15:34 +01:00
Benoit Marty
28f26b1aae Add test for TimelineItemPollView 2024-02-06 18:30:27 +01:00
Benoit Marty
a13862e7a9 Format file 2024-02-06 17:57:18 +01:00
Benoit Marty
bae47b942e Add type hierarchy on TimelineEvents.
It is not really OK that a Event was able to invoke `LoadMore` for instance.
2024-02-06 17:57:11 +01:00
Benoit Marty
824de9cc11 Add test to ensure that TimelineView loads more Events. 2024-02-06 17:12:14 +01:00
Benoit Marty
79b8a628b1 Merge pull request #2341 from element-hq/fix/jme/forwarding-with-new-timeline-api
Fix message forwarding after SDK API change
2024-02-06 16:11:40 +01:00
Benoit Marty
866b7e9f55 Merge pull request #2350 from element-hq/feature/bma/improveSendProblemUx
Improve send problem ux
2024-02-06 16:11:16 +01:00