Skip to content

Conversation

mstv
Copy link
Member

@mstv mstv commented Nov 3, 2023

Fixes first part of #11321 (comment)

Proposed changes

  • Move all current IScriptHostControl functions to IBrowseRepo because
    • RevisionGridControl access is provided via IGitUICommands.BrowseRepo
    • RevisionGridControl access is needed in addition to other script hosts in the future
      That's why keep the empty IScriptHostControl.
  • Provide IWin32Window owner to FormQuickItemSelector.ShowDialog
  • Remove obsolete property virtual RevisionGridControl? GitModuleForm.RevisionGridControl

Screenshots

N/A

Test methodology

  • adapt existing tests
  • reactivate ignored test

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.

because
- RevisionGridControl access is provided via IGitUICommands.BrowseRepo
- RevisionGridControl access is needed in addition to other script hosts
@mstv mstv merged commit 4e4a135 into gitextensions:master Nov 4, 2023
@mstv mstv deleted the reduce_iscripthostcontrol branch November 4, 2023 23:29
@ghost ghost added this to the vNext milestone Nov 4, 2023
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