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

App now initializes the connection instead of term control. #1676

Merged
merged 2 commits into from
Jun 28, 2019

Conversation

PankajBhojwani
Copy link
Contributor

Summary of the Pull Request

We want TermControl to be agnostic to the type of connection, so the connection initialization has been moved to TerminalApp.

References

PR Checklist

  • Closes #xxx
  • CLA signed. If not, go over here and sign the CLA
  • Tests added/passed
  • Requires documentation to be updated
  • I've discussed this with core contributors already. If not checked, I'm ready to accept this work might be rejected in favor of a different grand plan. Issue number where discussion took place: #xxx

Detailed Description of the Pull Request / Additional comments

The TermControl constructor has been modified to take in a connection, thus TermControl does not need to initialize a connection anymore. Instead, TerminalApp initializes the connection and passes it into the TermControl constructor. Thus once we start allowing different types of connections (an Azure connection for example), the detection of the type of connection only needs to happen in TerminalApp.

Validation Steps Performed

Copy link
Contributor

@DHowett-MSFT DHowett-MSFT left a comment

Choose a reason for hiding this comment

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

I love this so much.

Copy link
Member

@carlos-zamora carlos-zamora left a comment

Choose a reason for hiding this comment

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

:shipit:

@PankajBhojwani PankajBhojwani merged commit b353ad8 into microsoft:master Jun 28, 2019
@PankajBhojwani PankajBhojwani deleted the flow branch June 28, 2019 17:56
mcpiroman pushed a commit to mcpiroman/terminal that referenced this pull request Jul 2, 2019
…t#1676)

* App now initializes the connection instead of term control.
mcpiroman pushed a commit to mcpiroman/terminal that referenced this pull request Jul 23, 2019
…t#1676)

* App now initializes the connection instead of term control.
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.

4 participants