Skip to content

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

Merged
PankajBhojwani merged 2 commits intomicrosoft:masterfrom
PankajBhojwani:flow
Jun 28, 2019
Merged

App now initializes the connection instead of term control.#1676
PankajBhojwani merged 2 commits intomicrosoft:masterfrom
PankajBhojwani:flow

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