Skip to content

Add filterbox in Staged area (just like in Unstaged area) #1155

Closed

Description

@goran-w

Add a searchfilter-box at the top of the Staged area under Local Changes, just like the one at the top of the Unstaged area.

This makes for a more symmetric and flexible handling of Staged/Unstaged:

  • We should not have to Unstage All just to be able to apply a filter to the list.
  • The Unstage All button should benefit from filtering, just like the Stage All button does.

NOTE - If a Staged-filter is active, a Commit could include more changes than the ones visible in the Staged area. To avoid such surprises (whenever a Staged-filter is active) we could either:

  • Simply disallow committing (via App.RaiseException() warning), or
  • Ask the user to confirm committing despite active Stage-filter (similar to ConfirmCommitWithoutFiles()).

Activity

  1. self-assigned this
    on Apr 7, 2025
  2. love-linger commented on Apr 7, 2025

    @love-linger
    Collaborator

    Done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions