Skip to content
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

feat(ui,ffi): Add the favourite room list filter #3137

Merged
merged 4 commits into from
Feb 19, 2024

Conversation

Hywan
Copy link
Member

@Hywan Hywan commented Feb 19, 2024

This PR adds the favourite room list filter.

This PR should be be reviewed commit-by-commit, though the patches are rather simple.


@Hywan Hywan requested a review from a team as a code owner February 19, 2024 12:24
@Hywan Hywan requested review from bnjbvr and removed request for a team February 19, 2024 12:24
Copy link
Member

@bnjbvr bnjbvr left a comment

Choose a reason for hiding this comment

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

lgtm!

This patch adds the `favourite` filter, to filter out rooms that are not
marked as favourite.
…ters`.

This patch adds missing documentation for the `filters` module.
This patch implements the `RoomListEntriesDynamicFilterKind::Favourite`
variant.
@Hywan Hywan force-pushed the feat-ui-room-list-filters-favourite branch from feef04e to 12d5f51 Compare February 19, 2024 12:30
@Hywan Hywan enabled auto-merge February 19, 2024 12:33
@Hywan Hywan merged commit 88d7a2f into matrix-org:main Feb 19, 2024
34 checks passed
Copy link

codecov bot commented Feb 19, 2024

Codecov Report

Attention: 4 lines in your changes are missing coverage. Please review.

Comparison is base (9228ad2) 83.87% compared to head (9e6252c) 83.86%.
Report is 6 commits behind head on main.

Files Patch % Lines
...-sdk-ui/src/room_list_service/filters/favourite.rs 50.00% 4 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3137      +/-   ##
==========================================
- Coverage   83.87%   83.86%   -0.02%     
==========================================
  Files         230      231       +1     
  Lines       23830    23838       +8     
==========================================
+ Hits        19987    19991       +4     
- Misses       3843     3847       +4     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

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.

[RoomList Filters] Create the "Favourites" filter
2 participants