Problem or use case
The Source Control panel currently uses a fixed group order: Changes, Staged Changes, then Untracked Files.
That order is useful because unresolved conflicts are assigned to the Changes area, so they stay near the top. However, the panel is also commit-oriented: the commit controls sit directly above the file list, and staged files are the files that will actually be committed.
Different users may reasonably prefer different workflows:
- Commit review workflow:
Staged Changes, Changes, Untracked Files
- Conflict/change-first workflow:
Changes, Staged Changes, Untracked Files
- Cleanup workflow: maybe
Untracked Files earlier
A fixed order makes one workflow feel optimized and the others secondary.
Proposed solution
Add a setting to configure the Source Control group order.
The default can remain the current order to preserve existing behavior:
Changes
Staged Changes
Untracked Files
Users who prefer a commit-oriented panel could change it to:
Staged Changes
Changes
Untracked Files
Important constraint: unresolved conflicts should remain highly visible regardless of the configured order. A good implementation could keep conflict entries pinned above the normal groups, or otherwise ensure conflict visibility is not degraded when Staged Changes is configured first.
Alternatives or additional context
A simpler alternative would be to change the default order to Staged Changes, Changes, Untracked Files, but that may not fit every workflow and could reduce conflict visibility.
Related Source Control work:
Problem or use case
The Source Control panel currently uses a fixed group order:
Changes,Staged Changes, thenUntracked Files.That order is useful because unresolved conflicts are assigned to the
Changesarea, so they stay near the top. However, the panel is also commit-oriented: the commit controls sit directly above the file list, and staged files are the files that will actually be committed.Different users may reasonably prefer different workflows:
Staged Changes,Changes,Untracked FilesChanges,Staged Changes,Untracked FilesUntracked FilesearlierA fixed order makes one workflow feel optimized and the others secondary.
Proposed solution
Add a setting to configure the Source Control group order.
The default can remain the current order to preserve existing behavior:
ChangesStaged ChangesUntracked FilesUsers who prefer a commit-oriented panel could change it to:
Staged ChangesChangesUntracked FilesImportant constraint: unresolved conflicts should remain highly visible regardless of the configured order. A good implementation could keep conflict entries pinned above the normal groups, or otherwise ensure conflict visibility is not degraded when
Staged Changesis configured first.Alternatives or additional context
A simpler alternative would be to change the default order to
Staged Changes,Changes,Untracked Files, but that may not fit every workflow and could reduce conflict visibility.Related Source Control work: