Add initial include/exclude project search UI
This commit is contained in:
parent
3115c8381d
commit
915154b047
10 changed files with 212 additions and 14 deletions
|
@ -4548,7 +4548,10 @@ async fn test_project_search(
|
|||
// Perform a search as the guest.
|
||||
let results = project_b
|
||||
.update(cx_b, |project, cx| {
|
||||
project.search(SearchQuery::text("world", false, false), cx)
|
||||
project.search(
|
||||
SearchQuery::text("world", false, false, Vec::new(), Vec::new()),
|
||||
cx,
|
||||
)
|
||||
})
|
||||
.await
|
||||
.unwrap();
|
||||
|
|
|
@ -716,7 +716,10 @@ async fn apply_client_operation(
|
|||
);
|
||||
|
||||
let search = project.update(cx, |project, cx| {
|
||||
project.search(SearchQuery::text(query, false, false), cx)
|
||||
project.search(
|
||||
SearchQuery::text(query, false, false, Vec::new(), Vec::new()),
|
||||
cx,
|
||||
)
|
||||
});
|
||||
drop(project);
|
||||
let search = cx.background().spawn(async move {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue