Repository navigation
feat(source-control): add Stage Files primary button - #1670
Merged
Merged
Conversation
When there are unstaged/untracked changes but nothing staged yet, the Source Control primary button now reads "Stage Files" and bulk-stages all unstaged + untracked paths in one shot, so users can immediately hit Commit on the next click without manually staging first. This replaces the previous behavior where Pull/Sync/Push/Publish could appear as the primary on a dirty tree and then fail with "Please commit or stash them". Co-authored-by: Orca <[email protected]>
AmethystLiang
force-pushed
the
show-commit-msg-instead-of-pull
branch
from
May 10, 2026 21:45
241bfc0 to
e728d4a
Compare
enrick-dev
pushed a commit
to enrick-dev/orca
that referenced
this pull request
Oct 15, 2026
When there are unstaged/untracked changes but nothing staged yet, the Source Control primary button now reads "Stage Files" and bulk-stages all unstaged + untracked paths in one shot, so users can immediately hit Commit on the next click without manually staging first. This replaces the previous behavior where Pull/Sync/Push/Publish could appear as the primary on a dirty tree and then fail with "Please commit or stash them". Co-authored-by: Orca <[email protected]>
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
stageprimary action kind to Source Control: when there are unstaged/untracked changes but nothing is staged yet, the primary button shows Stage Files instead of Commit/Push/SyncbulkStagecall, so the user lands directly in commit-ready statestageis intentionally excluded fromDropdownActionKindto keep existing dropdown behavior pristinedocs/source-control-stage-files-primary.mdTest plan
All 7 Electron scenarios validated green.
Made with Orca 🐋