-
Notifications
You must be signed in to change notification settings - Fork 782
filtered room list at home #6724
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
# Conflicts: # vector/src/main/java/im/vector/app/features/home/HomeDetailFragment.kt # vector/src/main/java/im/vector/app/features/home/room/list/home/HomeRoomListAction.kt # vector/src/main/java/im/vector/app/features/home/room/list/home/HomeRoomListFragment.kt # vector/src/main/java/im/vector/app/features/home/room/list/home/HomeRoomListViewModel.kt # vector/src/main/java/im/vector/app/features/home/room/list/home/HomeRoomSection.kt
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Small improvements, on top of conflicts to fix
<?xml version="1.0" encoding="utf-8"?> | ||
<resources> | ||
|
||
<style name="Widget.App.TabLayout" parent="Widget.MaterialComponents.TabLayout"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's do Widget.Vector.TabLayout
for consistent with other styles in the app
|
||
class HomeRoomListViewModel @AssistedInject constructor( | ||
@Assisted initialState: HomeRoomListViewState, | ||
private val session: Session, | ||
private val spaceStateHandler: SpaceStateHandler, | ||
private val vectorPreferences: VectorPreferences, | ||
private val spaceStateHandler: SpaceStateHandler |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we add a trailing comma here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
private val spaceStateHandler: SpaceStateHandler | |
private val spaceStateHandler: SpaceStateHandler, |
# Conflicts: # vector/src/main/java/im/vector/app/features/home/room/list/home/HomeRoomListFragment.kt # vector/src/main/java/im/vector/app/features/home/room/list/home/HomeRoomListViewModel.kt
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|
||
class HomeRoomListViewModel @AssistedInject constructor( | ||
@Assisted initialState: HomeRoomListViewState, | ||
private val session: Session, | ||
private val spaceStateHandler: SpaceStateHandler, | ||
private val vectorPreferences: VectorPreferences, | ||
private val spaceStateHandler: SpaceStateHandler |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
private val spaceStateHandler: SpaceStateHandler | |
private val spaceStateHandler: SpaceStateHandler, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Implementation looks good but can we get a .wip
changelog file please?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ty for the changes
SonarCloud Quality Gate failed. |
Type of change
Content
Motivation and context
part of #6502
closes #6505
Screenshots / GIFs