Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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
base: develop
Choose a base branch
Loading
from heartacker:soloModeCommit

Conversation

Copy link
Contributor

@heartacker heartacker commented Aug 7, 2025
edited
Loading

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 click

a. This will add HEAD and current_HEAD_sha to filter, current_HEAD_sha IT will be usefull if HEAD is changed in future

solo 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

Mixaill reacted with thumbs up emoji
Copy link
Contributor Author

@heartacker heartacker force-pushed the soloModeCommit branch 6 times, most recently from 871d7da to 159466d Compare August 7, 2025 15:03
@heartacker heartacker marked this pull request as draft August 8, 2025 00:15
@heartacker heartacker marked this pull request as ready for review August 8, 2025 02:38
- 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
Copy link
Contributor Author

这种模式对多分支并行的项目实在是太有用了 🔥
This mode is really useful for projects with multiple parallel branches.

PixPin_2025年08月09日_11-32-05.mp4

Copy link
Contributor Author

heartacker commented Aug 9, 2025
edited
Loading

在版本对比中,使用Solo 模式,并配合提交已选记忆,非常方便 👯
In version comparison, using Solo mode Cooperating with PR:selected-commits-memories is very convenient.

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

1 participant

AltStyle によって変換されたページ (->オリジナル) /