search: Add included and excluded history navigation support for project search (#15082)
Currently, had done the function for support included and excluded history navigate, but the code is more duplicate, I will dive into find better method to decrease the duplicate code. Release Notes: - N/A --------- Co-authored-by: Piotr Osiewicz <24362066+osiewicz@users.noreply.github.com>
This commit is contained in:
parent
497356b2ba
commit
182f0f2ac8
3 changed files with 168 additions and 45 deletions
|
@ -25,6 +25,13 @@ pub enum SearchResult {
|
|||
LimitReached,
|
||||
}
|
||||
|
||||
#[derive(Clone, Copy, PartialEq)]
|
||||
pub enum SearchInputKind {
|
||||
Query,
|
||||
Include,
|
||||
Exclude,
|
||||
}
|
||||
|
||||
#[derive(Clone, Debug)]
|
||||
pub struct SearchInputs {
|
||||
query: Arc<str>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue