-
Notifications
You must be signed in to change notification settings - Fork 94
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
Update environment check for Theia compatability #1010
Conversation
…tionName as env.appName Signed-off-by: Lauren Li <45975633+lauren-li@users.noreply.github.com>
Signed-off-by: Lauren Li <45975633+lauren-li@users.noreply.github.com>
Signed-off-by: Lauren Li <45975633+lauren-li@users.noreply.github.com>
Signed-off-by: Lauren Li <45975633+lauren-li@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tested this fix successfully in VS Code, Theia 1.3, and CRW 2.3 (which is Che 7.16.2)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for fixing this. I wonder if instead of hard-coding the value "2", will vscode detect the variable vscode.UIKind.Web instead?
I tested several of the Theia branching code that we have (copy path, merge conflict, filter prompt, etc) and they all worked as expected.
@crawr Yes, (I didn't use it earlier because my capitalization was |
Signed-off-by: Lauren Li <45975633+lauren-li@users.noreply.github.com>
Codecov Report
@@ Coverage Diff @@
## master #1010 +/- ##
=======================================
Coverage 91.61% 91.61%
=======================================
Files 50 50
Lines 4830 4830
Branches 852 852
=======================================
Hits 4425 4425
Misses 403 403
Partials 2 2 Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Retested and it still works.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Proposed changes
Fixes issue #1009 and restores general Theia compatability.
Release Notes
Milestone: 1.9.0
Changelog: Update environment check for Theia compatability.
Types of changes
What types of changes does your code introduce to Zowe Explorer?
Put an
x
in the boxes that applyChecklist
Put an
x
in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This checklist will be used as reference for both the contributor and the reviewernpm run vscode:prepublish
has been executed