Repository navigation
Conversation
This branch has not been deployed
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.
The "Quick search" works directly in the history tree. It is able to filter the list to show only the matching items.
(some other PRs of mine are also visible on this screenshot)
Add quick search to the dashboard history so users can find and navigate matching commits directly in the graph. Move the existing Commit Search and settings icons into a dedicated toolbar above the column headers.
The toolbar includes a search field styled like the sidebar filter, a match counter, previous/next buttons, and a funnel toggle. Enabling the funnel shows only matching commits and gives the search field a yellow background in both light and dark themes.
Search uses the Mixed matching rules: literal, case-insensitive matching of a SHA prefix, author name/email, or the full commit message. It searches only commits already loaded in history, respecting the current history filters and commit limit. The implementation is independent of the separate Mixed Commit Search feature.
Search selects a matching commit and scrolls it into view, including during match navigation and filter changes. Filtered graphs collapse hidden ancestry and remove transitive ancestor links, retaining meaningful branches without accumulating redundant parallel lanes. Original commit parent hashes remain unchanged.
Queries are debounced and cancellable, and stream full messages from one read-only Git process. Searching with the funnel disabled does not rebuild the graph.
Validation:
dotnet format --verify-no-changes src/SourceGit.csproj --no-restorepassed (the formatting check used by CI).dotnet run --project tests/HistoryQuickSearchChecks --artifacts-path C:\sourcegit\build\history-graph-checkspassed all 54 checks, including Git matching, cancellation, keyboard input, offscreen navigation, filtering, hidden merges, and redundant ancestry.fix:matches were checked at the first and last results; the filtered graph remained compact (46 units versus 94 for the full graph).Based on the latest upstream
developand targetingdevelop, as required by the contributing guidelines.