Skip to content

Conversation

mstv
Copy link
Member

@mstv mstv commented Dec 28, 2024

Proposed changes

Remove SelectedIndex API from FileStatusList

  • Add HasSelection
  • SelectedGitItems takes IReadOnlyList
  • Replace GetNextIndex with SelectNextItem
  • Use SelectFirstVisibleItem

Screenshots

unchanged

Test methodology

  • existing tests

Merge strategy

I agree that the maintainer squash merge this PR (if the commit message is clear).


✒️ I contribute this code under The Developer Certificate of Origin.

- Add HasSelection
- SelectedGitItems takes IReadOnlyList
- Replace GetNextIndex with SelectNextItem
- Use SelectFirstVisibleItem
@mstv mstv added this to the v5.3 milestone Dec 28, 2024
@mstv mstv self-assigned this Dec 28, 2024
Copy link
Member

@gerhardol gerhardol left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very brief review and usage: Looks good

@gerhardol gerhardol mentioned this pull request Jan 2, 2025
@mstv mstv removed this from the v5.3 milestone Jan 3, 2025
@mstv mstv merged commit c1aba94 into gitextensions:master Jan 3, 2025
4 checks passed
@mstv mstv deleted the refactor/filestatuslist branch January 3, 2025 18:41
@mstv mstv added this to the v5.2 milestone Jan 8, 2025
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.

2 participants