Skip to content

fix(web): offer unstage for partially staged files in the filtered diff views - #105

Merged
MTVaught merged 1 commit into
mainfrom
t3code/unstage-partial-in-filtered-views
Sep 20, 2026
Merged

MTVaught merged 1 commit into
mainfrom
t3code/unstage-partial-in-filtered-views

Conversation

@MTVaught

Copy link
Copy Markdown
Owner

Problem

The Partially staged badge shows in every working tree view, but the Unstage button added in #103 only appeared in the All view. In the Unstaged view a partially staged file still offered only Stage.

Fix

Both buttons are now derived from the file's index state in every view: Stage when the file has edits outside the index, Unstage when it has entries in it. The filtered views still imply their one direction when the index state has not arrived yet.

Follow-up to #103.

Built with Claude Fable 5.1 via Claude Code in T3 Code.

@github-actions github-actions Bot added vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. size:S labels Sep 20, 2026
@MTVaught
MTVaught merged commit 2f26026 into main Sep 20, 2026
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:S vouch:trusted PR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant