ganfra
1a77e13383
RoomListFilters : fix visibility and adjust ui
2024-02-21 12:05:23 +01:00
ganfra
7b018f7099
Merge branch 'develop' into feature/fga/room_list_filters
2024-02-20 21:22:25 +01:00
ganfra
7471e12bc5
RoomListFilters: try to improve ui with animation and fading edges
2024-02-20 21:17:16 +01:00
ganfra
31988e81fa
RoomListFilters: add feature flag
2024-02-20 12:36:20 +01:00
ganfra
648ab3b7c5
RoomListFilters : add tests
2024-02-20 11:43:01 +01:00
ganfra
33664c44ec
RoomListFilters : branch the logic
2024-02-20 11:17:15 +01:00
ganfra
c1f887e836
Merge branch 'develop' into feature/fga/room_list_filters
2024-02-19 18:00:01 +01:00
ganfra
e69b62bfa1
Merge branch 'develop' into feature/fga/add_some_analytics
2024-02-19 17:52:16 +01:00
ganfra
66030aeb64
Analytics : add analytics on read status and favorite toggles
2024-02-19 17:38:17 +01:00
Benoit Marty
973aef4c72
Add test for RoomListEvents.ToggleSearchResults.
2024-02-19 13:52:01 +01:00
Benoit Marty
f372fd27cf
Add test for RoomListEvents.DismissRecoveryKeyPrompt.
...
Also get the encryptionService from the matrixClient, instead of injecting it separately.
2024-02-19 13:36:08 +01:00
ganfra
939f24cec5
RoomList : remove direct dependency to the RoomListSearchPresenter
2024-02-16 23:41:59 +01:00
ganfra
ec162b5f90
RoomList : fix formatting
2024-02-16 19:46:56 +01:00
ganfra
ebb07de8a4
RoomList : rework how search is done to prepare for later filtering
2024-02-16 19:35:03 +01:00
ganfra
4777ee83f9
RoomListFilters : try using Row instead of LazyRow..
2024-02-16 15:05:11 +01:00
ganfra
ffec57e455
Merge branch 'develop' into feature/fga/room_list_filters
2024-02-16 11:30:20 +01:00
ganfra
3893db3c21
favorites : fix formating
2024-02-15 16:23:05 +01:00
ganfra
25047f7093
favorite : use distinctUntilChanged
2024-02-15 15:54:53 +01:00
ganfra
6ef50081bd
favorite : apply pr review remarks
2024-02-15 13:25:37 +01:00
ganfra
e5e147af47
favorites : clean up
2024-02-15 11:20:58 +01:00
ganfra
182b8c951b
favorite : simplify and branch live data again
2024-02-15 11:07:49 +01:00
ganfra
00f8e32df6
Merge branch 'develop' into feature/fga/mark_room_as_favorite
2024-02-15 10:16:43 +01:00
Jorge Martin Espinosa
aaa9b72308
Merge pull request #2389 from element-hq/renovate/org.matrix.rustcomponents-sdk-android-0.x
...
* Update dependency org.matrix.rustcomponents:sdk-android to v0.2.1
* read : use the new apis
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: ganfra <francoisg@matrix.org>
Co-authored-by: Jorge Martín <jorgem@element.io>
2024-02-14 13:38:09 +01:00
ganfra
6dc0d8706c
read : use the new apis
2024-02-14 11:09:46 +01:00
Jorge Martin Espinosa
1b690c17c1
Improve typing notification animations ( #2386 )
...
Only modify the layout for typing notifications when the first one is displayed: after that, just show/hide them using a fade animation, but keep the empty space there ready to be reused.
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-02-14 08:05:55 +00:00
ganfra
cfe9f7e38b
Merge branch 'develop' into feature/fga/mark_room_as_favorite
2024-02-13 15:23:39 +01:00
ganfra
949ffc6f8a
Favourite : add ui test on click
2024-02-12 17:46:25 +01:00
ganfra
5ad08c3279
Favourite : use localized string
2024-02-12 17:45:52 +01:00
Jorge Martin Espinosa
b69cb8175a
Update Compound to v0.0.5 and update icons ( #2380 )
...
Update Compound to `v0.0.5`:
- Make sure we fix all the breaking changes.
- Update some icons to use the compound version instead.
-Replace icons with their Compound counterparts when possible.
- Clean up unused icons.
- Fix issues with incorrect icons or sizes being used after replacing the temporary icons with the Compound ones.
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-02-12 16:41:58 +00:00
ganfra
a8bc0cb4ca
Merge branch 'develop' into feature/fga/mark_room_as_favorite
2024-02-12 17:08:36 +01:00
bmarty
a614b0d91e
Sync Strings from Localazy
2024-02-12 00:10:26 +00:00
Benoit Marty
d5c123622b
Merge pull request #2354 from element-hq/feature/bma/markUnread
...
Mark room as unread
2024-02-08 17:36:29 +01:00
Benoit Marty
3e34461007
Mark as unread: add a feature flag, disabled on release build.
2024-02-08 11:49:14 +01:00
Benoit Marty
69acc684b5
Introduce RoomListBottomSheetEvents "scope" for Events from the Room List Bottom Sheet.
2024-02-08 11:34:54 +01:00
Benoit Marty
b6dcadd980
Simplify a bit the API.
2024-02-08 11:34:54 +01:00
Benoit Marty
e304913030
Introduce function aContextMenuShown to create RoomListState.ContextMenu.Shown
2024-02-08 11:34:54 +01:00
Benoit Marty
4dc4e5bef8
Remove unnecessary parenthesis
2024-02-08 11:34:54 +01:00
Benoit Marty
9d461a4917
Add ability mark as unread / mark as read a room.
2024-02-08 11:33:43 +01:00
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.
2024-02-08 11:06:06 +01:00
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>
2024-02-08 10:01:08 +00:00
ganfra
5dcc9fba29
RoomListFilters : first iteration on the design
2024-02-07 21:27:23 +01:00
Benoit Marty
afc2e6c7fe
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
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.
2024-02-06 15:33:03 +01:00
bmarty
03c95555e3
Sync Strings from Localazy
2024-02-05 00:09:59 +00:00
ganfra
d9017a098c
Favorite : rework and add tests
2024-02-02 14:54:28 +01:00
Jorge Martín
5f064a4b27
Only display placeholder list when the room list hasn't loaded yet
2024-02-02 13:31:43 +01:00
Jorge Martín
02fe07a6bd
Tweak room list behaviour:
...
- Instead of an extra item, use `contentPadding`.
- Make sure each item has an unique id.
2024-02-02 13:05:37 +01:00
Jorge Martín
e9c0aee96e
Fix full placeholder screen
2024-02-02 13:04:56 +01:00
Jorge Martín
aa32123c82
Make the RoomListRoomSummaryFactory.createPlaceholder and RoomListRoomSummaryFactory.createFakeList functions static ones
2024-02-02 13:04:28 +01:00
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.
2024-02-02 12:39:09 +01:00