updated project_search text

This commit is contained in:
KCaverly 2023-08-03 17:02:46 -04:00
parent 4658bc610c
commit c14a99d8fa

View file

@ -398,7 +398,7 @@ impl View for ProjectSearchView {
match current_mode { match current_mode {
SearchMode::Text => Cow::Borrowed("Text search all files and folders"), SearchMode::Text => Cow::Borrowed("Text search all files and folders"),
SearchMode::Semantic => { SearchMode::Semantic => {
Cow::Borrowed("Search all files and folders using Natural Language") Cow::Borrowed("Search all code objects using Natural Language")
} }
SearchMode::Regex => Cow::Borrowed("Regex search all files and folders"), SearchMode::Regex => Cow::Borrowed("Regex search all files and folders"),
} }
@ -429,10 +429,13 @@ impl View for ProjectSearchView {
} else { } else {
match current_mode { match current_mode {
SearchMode::Semantic => vec![ SearchMode::Semantic => vec![
"".to_owned(),
semantic_status, semantic_status,
"ex. 'list all available languages'".to_owned(), "Simply explain the code you are looking to find.".to_owned(),
"ex. 'prompt user for permissions to index their project'".to_owned(),
], ],
_ => vec![ _ => vec![
"".to_owned(),
"Include/exclude specific paths with the filter option.".to_owned(), "Include/exclude specific paths with the filter option.".to_owned(),
"Matching exact word and/or casing is available too.".to_owned(), "Matching exact word and/or casing is available too.".to_owned(),
], ],