Repository navigation
feat: add recursive file search - #123
Merged
Merged
Conversation
Select/View (Ctrl+F) opens the on-screen keyboard; Done searches the current folder by name (case- and accent-insensitive), with an explicit include-subfolders toggle and no indexing. Results are a virtual SearchLocation in AppController: enumeration runs off the UI thread and results reach the list in bounded batches. The footer shows partial, completed, cancelled or limit-reached state and folders skipped for permission. East/B cancels keeping partial results; opening a result navigates to its folder with focus on the item. Search never descends into junctions, symlinks or other reparse points. Co-Authored-By: Claude Opus 5.5 <[email protected]>
nextestudios
force-pushed
the
feature/46-recursive-search
branch
from
September 27, 2026 03:26
bb73438 to
3615827
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
SearchLocationinAppController(PaneState.Search/ActiveSearch). Enumeration runs on a background task (IFileSystemProvider.Search); a batcher delivers results to the UI thread at most one pending batch at a time and at most every 150 ms, merged into the sorted list without re-sorting (FileListState.AppendItems). Hard cap of 10,000 results ("refine the term").LocalFileSystemProvider.Searchwalks folders breadth-first withEnumerationOptions { RecurseSubdirectories = false, IgnoreInaccessible = false }and never descends into entries withReparsePoint(junctions, symlinks); the link itself may be listed as a result.Tests (CI, Windows)
SearchJourneyTests.Search_streams_results_in_subfolders_and_opening_one_focuses_it_in_its_folder: first result visible while the search is still running (partial), completion, open result → folder with item focused, Back → results, Back → original folder/focus.SearchJourneyTests.Back_cancels_a_running_search_keeping_partial_results_and_stops_enumerating.SearchIntegrationTests.Search_never_descends_into_a_junction(junction in a temp dir pointing outside the tree).SearchIntegrationTests.Folder_without_permission_is_reported_not_silently_skipped(deny ACL on a temp folder).Manual checks (docs/TESTING.md)
UI responsiveness on a ~50,000-file tree with a controller, cancel latency, real permission-denied folders on
C:\, OneDrive on-demand folders (reparse points are not traversed by design). Not verifiable in CI.Closes #46
🤖 Generated with Claude Code