Jorge Martín
49646f2bef
Add an empty state to the room list.
...
- Make `RoomListDataSource.allRooms` a `SharedFlow` so we can know when we don't have a value yet.
- Map its output in `RoomListPresenter` to `AsyncData`.
- Display the new empty state when the room list has loaded and has no items.
9 months ago
ganfra
b15597509d
favorite : branch RoomNotableTags methods
9 months ago
jmartinesp
f7abfb2f5a
Sync Strings from Localazy
9 months ago
bmarty
7b0dcbe6a5
Sync Strings from Localazy
9 months ago
Benoit Marty
c5fc45e7fb
Fix test compilation issue.
9 months ago
Benoit Marty
c7f29bfe8e
Ensure the icon stay grey if the global setting is set to mention only.
...
Implement the iOS logic #2282
9 months ago
Benoit Marty
429effc706
Rework: improve OnGoingCallIcon API.
9 months ago
Benoit Marty
78bd91de2f
Rework: extract sub fun composable.
9 months ago
Benoit Marty
6ea76d9acd
Map `roomInfo.numUnreadNotifications` to `RoomSummaryDetails.numUnreadNotifications`
9 months ago
Benoit Marty
958e97f89c
Make `isTimestampHighlighted` a computed val.
9 months ago
Benoit Marty
dd12071ea2
Use new Rust fields `numUnreadMessages` and `numUnreadMentions`, and iterate on the room badge rendering.
9 months ago
Benoit Marty
bbd871031a
Fix detekt issue:
...
Use `?.let {}` instead of if/else with a null block when checking for nullable values [UseLet]
9 months ago
Benoit Marty
5caebaaa1b
Introduce RoomListRoomSummaryFactory and remove RoomListRoomSummaryPlaceholders.
9 months ago
Benoit Marty
7832eb74b9
Remove default value for constructor of RoomListRoomSummary.
9 months ago
Benoit Marty
8eba12593b
Ensure there is no timestamp in RoomListRoomSummary if lastMessage is null.
9 months ago
Benoit Marty
ed1112f09b
Ensure roomId are unique in the list.
9 months ago
Benoit Marty
7fee884677
Use aRoomListRoomSummary function instead of invoking the constructor.
9 months ago
Benoit Marty
579f4d6a4e
`fun aRoomListRoomSummary`: make internal, add all fields and reorder to match RoomListRoomSummary constructor order.
9 months ago
Benoit Marty
4924f86d3b
Do not use the function for preview in test.
9 months ago
Benoit Marty
cf6bcca9cd
Preview with a last message by default.
10 months ago
Benoit Marty
9d586bf2bb
Improve aRoomListRoomSummary method.
10 months ago
Benoit Marty
782f73fb7c
Remove `notificationMode` to `userDefinedNotificationMode` to match SDK name.
10 months ago
Benoit Marty
ecb000b8ed
Remove `hasOngoingCall` to `hasRoomCall` to match SDK name.
10 months ago
Benoit Marty
be0da18a7b
Rename `userAvatarURLString` to `userAvatarUrl`
10 months ago
Benoit Marty
d1c7520065
Rename `avatarURLString` to `avatarUrl`
10 months ago
Jorge Martin Espinosa
27f55c0bc4
Replace 'leave room' text with 'leave conversation' for DMs ( #2231 )
...
* Replace 'leave room' text with 'leave conversation' for DMs
* Add `isDm` property to both `RoomSummary` and `RoomListRoomSummary`
* Remove redundant `leave_conversation_alert_subtitle_*` texts
* Fix maestro flow
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
10 months ago
ElementBot
6bc080c279
Sync Strings ( #2230 )
...
Co-authored-by: bmarty <bmarty@users.noreply.github.com>
10 months ago
Benoit Marty
5d086ad82d
Fix moar ktlint issues
10 months ago
Benoit Marty
a831f05f6e
Fix ktlint issues
10 months ago
renovate[bot]
c8bd362397
Update plugin ktlint to v12.1.0 ( #2200 )
...
* Update plugin ktlint to v12.1.0
* Run `./gradlew ktlintFormat` and fix some issues manually.
* Fix other issues reproted by Ktlint
* Limit false positives, KtLint removes unnecessary curly brace in String templates.
* Remove useless Unit
* Minor improvements over ktlint changes
* Restore `AlertDialogContent` behaviour
* Update screenshots
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Benoit Marty <benoit@matrix.org>
Co-authored-by: Jorge Martín <jorgem@element.io>
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
10 months ago
Benoit Marty
dd4aa681c6
Remove now useless ExperimentalLayoutApi opt in
10 months ago
bmarty
e6f4a7364f
Sync Strings from Localazy
10 months ago
Jorge Martin Espinosa
cbf34929af
Revert "Room list badges"
11 months ago
Benoit Marty
91027f82e9
Fix test.
11 months ago
Benoit Marty
02fe9c4580
Handle PR review.
11 months ago
Benoit Marty
3a7804b3b0
We can have numUnreadMentions > 0 and numUnreadMessages == 0, in this case, display both icons.
11 months ago
Benoit Marty
f2c989cbd6
Iterate on indicators on room list #2079
11 months ago
Benoit Marty
c18959f0a0
Use VideoCallSolid and also delete local ic_video_call.xml icon.
11 months ago
Jorge Martin Espinosa
0e1d9e82f5
Font size on 'All Chats' was changing mid animation ( #2073 )
...
* Font size on 'All Chats' was changing mid animation
11 months ago
Benoit Marty
3d9fbe70d4
Fix timestamp font #2065
11 months ago
Benoit Marty
03a00330a6
Add RoomListConfig to be able to hide menu items. And hide them #2062 .
11 months ago
bmarty
e60508a631
Sync Strings from Localazy
11 months ago
Benoit Marty
0129fdd370
Attempt to fix test on CI...
11 months ago
Benoit Marty
39cca2ce09
Sync localazy using fixed script
11 months ago
Benoit Marty
24d3981261
Run the script again.
11 months ago
Benoit Marty
fd42c78b15
Sync again
11 months ago
Benoit Marty
fa590202c3
Add Konsist test to check that `assertThat` is imported, and fix existing issues.
11 months ago
bmarty
fced91addb
Sync Strings from Localazy
11 months ago
Jorge Martin Espinosa
ba4d3a70c7
Try to make all collections used in Compose code immutable ( #1922 )
...
* Try to make all collections used in Compose code immutable.
Mark sealed interfaces as `@Immutable` too
* Add gradle code to check the compose compiler reports
* Fix some more unstable classes
11 months ago
Jorge Martin Espinosa
087d2728d5
Extract compound tokens and theming to `compound-android` library ( #1888 )
...
* Replace tokens & icons with the external Compound ones
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
11 months ago