bmarty
a614b0d91e
Sync Strings from Localazy
9 months ago
Benoit Marty
4a170bd57e
Fix test compilation after change on other PR getting merged.
9 months ago
Benoit Marty
3e34461007
Mark as unread: add a feature flag, disabled on release build.
9 months ago
Benoit Marty
f79e0cd56a
Fix test in release.
9 months ago
Benoit Marty
75b0a12a81
Remove extra new lines
9 months ago
Benoit Marty
69acc684b5
Introduce `RoomListBottomSheetEvents` "scope" for Events from the Room List Bottom Sheet.
9 months ago
Benoit Marty
b6dcadd980
Simplify a bit the API.
9 months ago
Benoit Marty
3c38201b2c
Add test for `RoomListContextMenu`
9 months ago
Benoit Marty
e304913030
Introduce function `aContextMenuShown` to create `RoomListState.ContextMenu.Shown`
9 months ago
Benoit Marty
525de38ee2
Fix test after default value change on parameter of `createRoomListRoomSummary`.
9 months ago
Benoit Marty
4dc4e5bef8
Remove unnecessary parenthesis
9 months ago
Benoit Marty
50859b62de
Add more tests
9 months ago
Benoit Marty
17f23304d0
Give `0` has default value for fixtures creators.
...
Also increases the readability of tests.
9 months ago
Benoit Marty
c4f72ecfbc
Add test to check behavior of `isMarkedUnread` parameter
9 months ago
Benoit Marty
25768c7e87
Move `RoomListRoomSummary` factory to a dedicated file, more tests will be added.
9 months ago
Benoit Marty
9d461a4917
Add ability mark as unread / mark as read a room.
9 months ago
Benoit Marty
b104dba845
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.
9 months ago
Jorge Martin Espinosa
d06e5c23cb
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>
9 months ago
ganfra
5dcc9fba29
RoomListFilters : first iteration on the design
9 months ago
Benoit Marty
afc2e6c7fe
Remove LogCompositions.
...
It was used at the beginning of the project, but is not useful anymore.
9 months ago
Benoit Marty
706ce1d0cd
Do not use a key for the LazyColumn, or the scroll will not behave as expected if a room is moved to the top of the list.
9 months ago
bmarty
03c95555e3
Sync Strings from Localazy
9 months ago
ganfra
d9017a098c
Favorite : rework and add tests
9 months ago
Jorge Martín
5f064a4b27
Only display placeholder list when the room list hasn't loaded yet
9 months ago
Jorge Martín
02fe07a6bd
Tweak room list behaviour:
...
- Instead of an extra item, use `contentPadding`.
- Make sure each item has an unique id.
9 months ago
Jorge Martín
e9c0aee96e
Fix full placeholder screen
9 months ago
Jorge Martín
aa32123c82
Make the `RoomListRoomSummaryFactory.createPlaceholder` and `RoomListRoomSummaryFactory.createFakeList` functions static ones
9 months ago
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.
10 months ago
Benoit Marty
bbd871031a
Fix detekt issue:
...
Use `?.let {}` instead of if/else with a null block when checking for nullable values [UseLet]
10 months ago
Benoit Marty
5caebaaa1b
Introduce RoomListRoomSummaryFactory and remove RoomListRoomSummaryPlaceholders.
10 months ago
Benoit Marty
7832eb74b9
Remove default value for constructor of RoomListRoomSummary.
10 months ago
Benoit Marty
8eba12593b
Ensure there is no timestamp in RoomListRoomSummary if lastMessage is null.
10 months ago
Benoit Marty
ed1112f09b
Ensure roomId are unique in the list.
10 months ago
Benoit Marty
7fee884677
Use aRoomListRoomSummary function instead of invoking the constructor.
10 months ago
Benoit Marty
579f4d6a4e
`fun aRoomListRoomSummary`: make internal, add all fields and reorder to match RoomListRoomSummary constructor order.
10 months ago
Benoit Marty
4924f86d3b
Do not use the function for preview in test.
10 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