Skip to content

fix: show stage all button when no files are staged#1048

Merged
arnestrickmann merged 1 commit intogeneralaction:mainfrom
jschwxrz:fix/stage-all-button
Feb 23, 2026
Merged

fix: show stage all button when no files are staged#1048
arnestrickmann merged 1 commit intogeneralaction:mainfrom
jschwxrz:fix/stage-all-button

Conversation

@jschwxrz
Copy link
Collaborator

@jschwxrz jschwxrz commented Feb 23, 2026

Shows "Stage All" Button also when no file is staged yet

fixes #1047

@vercel
Copy link

vercel bot commented Feb 23, 2026

@jschwxrz is attempting to deploy a commit to the General Action Team on Vercel.

A member of the Team first needs to authorize it.

@greptile-apps
Copy link

greptile-apps bot commented Feb 23, 2026

Greptile Summary

Removed unnecessary condition requiring staged files to exist before showing the "Stage All" button. Now the button appears whenever there are unstaged files, improving UX by allowing users to stage all files from the initial state.

Confidence Score: 5/5

  • Safe to merge - simple conditional logic simplification with no risk
  • This is a minimal, focused change that removes an unnecessary condition. The logic is straightforward: the button now appears whenever unstaged files exist, which is the expected UX behavior. No edge cases, no breaking changes.
  • No files require special attention

Important Files Changed

Filename Overview
src/renderer/components/FileChangesPanel.tsx Simplified condition to show Stage All button whenever unstaged files exist

Last reviewed commit: 61365ca

@arnestrickmann
Copy link
Contributor

@jschwxrz Thanks for opening this PR!

@arnestrickmann arnestrickmann merged commit bc08f00 into generalaction:main Feb 23, 2026
3 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

UX: Stage all button is missing if no files are staged

2 participants