Skip to content

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

Merged
merged 10 commits into from
Aug 11, 2022
Merged

filtered room list at home #6724

merged 10 commits into from
Aug 11, 2022

Conversation

fedrunov
Copy link
Contributor

@fedrunov fedrunov commented Aug 3, 2022

Type of change

  • Feature
  • Bugfix
  • Technical
  • Other :

Content

Motivation and context

part of #6502
closes #6505

Screenshots / GIFs

Light Dark Black
Screenshot 2022-08-03 at 10 55 01 Screenshot 2022-08-03 at 10 54 34 Screenshot 2022-08-03 at 10 54 48

output-optimised

@fedrunov fedrunov requested review from a team and yostyle and removed request for a team August 3, 2022 11:13
NIkita Fedrunov added 2 commits August 3, 2022 13:32
# 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
@fedrunov fedrunov requested a review from ericdecanini August 3, 2022 11:36
@fedrunov fedrunov assigned amshakal and unassigned amshakal Aug 3, 2022
@fedrunov fedrunov requested a review from amshakal August 3, 2022 11:37
Copy link
Contributor

@ericdecanini ericdecanini left a 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">
Copy link
Contributor

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
Copy link
Contributor

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?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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
Copy link
Contributor

@yostyle yostyle left a 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
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
private val spaceStateHandler: SpaceStateHandler
private val spaceStateHandler: SpaceStateHandler,

@fedrunov fedrunov requested a review from ericdecanini August 11, 2022 09:48
Copy link
Contributor

@ericdecanini ericdecanini left a 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?

@fedrunov fedrunov requested a review from ericdecanini August 11, 2022 12:11
Copy link
Contributor

@ericdecanini ericdecanini left a 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

@sonarqubecloud
Copy link

SonarCloud Quality Gate failed.    Quality Gate failed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

0.0% 0.0% Coverage
0.0% 0.0% Duplication

@fedrunov fedrunov merged commit e0e21d4 into develop Aug 11, 2022
@fedrunov fedrunov deleted the feature/nfe/edit_layout_filters branch August 11, 2022 14:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

App Layout: List filters
5 participants