Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move IScriptHostControl functions to IBrowseRepo #11324

Merged
merged 3 commits into from
Nov 4, 2023

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
3 of 4 checks passed
@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.

None yet

2 participants