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

sdk: Room Directory Search #3169

Merged
merged 37 commits into from Mar 20, 2024
Merged

sdk: Room Directory Search #3169

merged 37 commits into from Mar 20, 2024

Conversation

Velin92
Copy link
Contributor

@Velin92 Velin92 commented Feb 26, 2024

Implementing a service to allow for filtered public room search with pagination.


@Velin92 Velin92 requested a review from Hywan February 26, 2024 16:34
Copy link
Member

@Hywan Hywan left a comment

Choose a reason for hiding this comment

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

That's a great PR, thanks!

I've only reviewed the crates/matrix-sdk/src/room_directory_search.rs file so far, as the rest of the code will need to be changed a bit. Feel free to ping if you've question, or if you need assistance.

crates/matrix-sdk/src/room_directory_search.rs Outdated Show resolved Hide resolved
crates/matrix-sdk/src/room_directory_search.rs Outdated Show resolved Hide resolved
Copy link
Member

@Hywan Hywan left a comment

Choose a reason for hiding this comment

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

You're making great progress!

crates/matrix-sdk/src/room_directory_search.rs Outdated Show resolved Hide resolved
crates/matrix-sdk/src/room_directory_search.rs Outdated Show resolved Hide resolved
crates/matrix-sdk/src/room_directory_search.rs Outdated Show resolved Hide resolved
crates/matrix-sdk/src/room_directory_search.rs Outdated Show resolved Hide resolved
crates/matrix-sdk/src/room_directory_search.rs Outdated Show resolved Hide resolved
crates/matrix-sdk/src/room_directory_search.rs Outdated Show resolved Hide resolved
bindings/matrix-sdk-ffi/src/room_directory_search.rs Outdated Show resolved Hide resolved
bindings/matrix-sdk-ffi/src/room_directory_search.rs Outdated Show resolved Hide resolved
@Velin92 Velin92 marked this pull request as ready for review February 29, 2024 13:29
@Velin92 Velin92 requested a review from a team as a code owner February 29, 2024 13:29
@Velin92 Velin92 changed the title [WIP] Room Directory Search Room Directory Search Mar 1, 2024
@codecov-commenter
Copy link

codecov-commenter commented Mar 1, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 83.72%. Comparing base (cabab28) to head (96c7b3f).
Report is 89 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3169      +/-   ##
==========================================
+ Coverage   83.67%   83.72%   +0.04%     
==========================================
  Files         236      237       +1     
  Lines       24396    24472      +76     
==========================================
+ Hits        20413    20488      +75     
- Misses       3983     3984       +1     

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

@Velin92 Velin92 requested a review from Hywan March 5, 2024 10:44
@bnjbvr bnjbvr removed the request for review from a team March 7, 2024 09:48
improved the conversion by using a try from and changed the nex_token to a search state to indicate the current state of the search
@Velin92 Velin92 requested a review from Hywan March 13, 2024 11:46
Co-authored-by: Ivan Enderlin <ivan@mnt.io>
Signed-off-by: Mauro <34335419+Velin92@users.noreply.github.com>
@Velin92 Velin92 requested a review from Hywan March 14, 2024 09:51
crates/matrix-sdk/src/room_directory_search.rs Outdated Show resolved Hide resolved
crates/matrix-sdk/src/room_directory_search.rs Outdated Show resolved Hide resolved
Signed-off-by: Ivan Enderlin <ivan@mnt.io>
Signed-off-by: Ivan Enderlin <ivan@mnt.io>
@Hywan Hywan enabled auto-merge March 20, 2024 14:28
@Hywan Hywan merged commit 8eafaa5 into main Mar 20, 2024
35 checks passed
@Hywan Hywan deleted the mauroromito/directory_search branch March 20, 2024 14:43
@bnjbvr bnjbvr changed the title Room Directory Search sdk: Room Directory Search Mar 21, 2024
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.

Public room search service
3 participants