gitbutler/src-tauri
Nikita Galaiko e4f1edfc83 Refactor search result to include total count
This commit refactors the search result to include the total count of matches found, alongside the limited search results (page) for better pagination support. Changes made include:

- Modified the return type from `Vec<SearchResult>` to `SearchResults` structure, to include a total count.
- Updated the search function implementation to handle the new data structure.
- Adapted the test cases to account for the updated search result format.

In addition to the previous changes, this commit addresses the issue of not knowing the total number of search results when using pagination, which can now be easily obtained from the `SearchResults` structure.
2023-03-23 16:11:39 +01:00
..
icons add an icon for fun 2023-02-17 16:03:29 +01:00
src Refactor search result to include total count 2023-03-23 16:11:39 +01:00
.gitignore simple tauri example 2023-01-31 15:55:57 +01:00
build.rs simple tauri example 2023-01-31 15:55:57 +01:00
Cargo.lock log tauri commands execution time 2023-03-22 15:02:16 +01:00
Cargo.toml log tauri commands execution time 2023-03-22 15:02:16 +01:00
tauri.conf.json allow production url in csp 2023-03-01 12:04:29 +01:00
tauri.conf.release.json show footer and link to cloud if the project is syncing 2023-02-23 12:21:21 +01:00