-
Notifications
You must be signed in to change notification settings - Fork 255
Solo commits filter #1691
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
heartacker
wants to merge
7
commits into
sourcegit-scm:develop
Choose a base branch
from
heartacker:soloModeCommit
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Solo commits filter #1691
+228
−12
Conversation
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
871d7da
to
159466d
Compare
afb4e66
to
6764fc7
Compare
b02d01f
to
5996ab5
Compare
- Add new filter type for solo commits to the filter options. - Enhance history filtering to support solo commits by including or excluding their associated refs. - Add new localization string for solo commits option in context menu. - Add methods to filter and query commits by solo commit mode and refs containing a specific commit. - Add a menu option to filter commits by focusing on a specific commit.
- Add a new localization string for solo mode functionality on HEAD. - Add a solo mode button to the repository toolbar for toggling the current head view. - Add solo commit filter mode for the current HEAD branch. - Add `HEAD` and `HEAD_SHA` both is usefull and comparable while HEAD is Changed
- Add solo commits filter option to the context menu for commit selection. - it will be useful for compare those branchs/tags/commits
- Add branch and tag navigation support to the repository view model. - Increase filter item height and replace text block with clickable button for navigation. - Add navigation functionality for different filter types in the repository view.
- it is usefull for multi selection. - like two revision compare, it will keep those selection for compare while filter changed
- do not clear the commit filter while changing the branch - do not change the filter if thereis `HEAD` filter while changing branch
5996ab5
to
0db270b
Compare
这种模式对多分支并行的项目实在是太有用了 🔥 PixPin_2025-08-09_11-32-05.mp4 |
在版本对比中,使用Solo 模式,并配合提交已选记忆,非常方便 👯 PixPin_2025-08-09_11-57-00.mp4 |
- Add commit filtering by SHA patterns and track filtered head commits. - Add property to track if commit is a filter head in commit model. - Add filter support to commit graph by introducing a new DotType and handling filter head commits. - Enhance commit querying by adding support for solo commit filters in the history view. - Add new filter dot type visualization to the commit graph.
201ada5
to
febb6ee
Compare
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.
Introducing the whole new solo mode Now:
Based the commit(s), the Solo mode will show the commit and its contians decorators(branchs/tags/etc.), make you focus on your work , Eliminate other interferences
solo
Head
just one clicka. This will add
HEAD
and current_HEAD_sha to filter, current_HEAD_sha IT will be usefull ifHEAD
is changed in futuresolo commit
You can select commit and add this commit to solo-commit filter
solo Commits
You can select multi commits and add those commits to solo-commit filter. That is great to focus/compare branch/tag/etc
navigate
Fantastically, you can navigate the branch/tag/commit filter in graph view now.
PixPin_2025-08-08_10-26-57.mp4