Skip to content
This repository has been archived by the owner on Apr 4, 2023. It is now read-only.

Adapt terminal widget to the upstream #750

Merged
merged 2 commits into from
May 19, 2020
Merged

Adapt terminal widget to the upstream #750

merged 2 commits into from
May 19, 2020

Conversation

svor
Copy link
Contributor

@svor svor commented May 18, 2020

Signed-off-by: svor vsvydenk@redhat.com

What does this PR do?

Adds get processInfo(): Promise<TerminalProcessInfo> method to make it possible to run debug commands in internalTerminal.

Upstream changes: eclipse-theia/theia@5e45d2b#diff-29ae8bb3747051f34ef7d32716b705e6

What issues does this PR fix or reference?

eclipse-che/che#16805

Signed-off-by: svor <vsvydenk@redhat.com>
@svor
Copy link
Contributor Author

svor commented May 18, 2020

@vzhukovskii this fix should resolve eclipse-che/che#16856 as well

@che-bot
Copy link
Contributor

che-bot commented May 18, 2020

✅ E2E Happy path tests succeed 🎉

Try Che-Theia editor only Try Che-Theia with Java/maven example Try Che-Theia with NodeJs example

See Details

name link
che-theia docker.io/maxura/che-theia:750
che-theia-endpoint-runtime-binary docker.io/maxura/che-theia-endpoint-runtime-binary:750

Tested with Eclipse Che Single User on K8S (minikube v1.1.1)

@@ -37,6 +37,11 @@ export interface RemoteTerminalWidgetFactoryOptions extends Partial<TerminalWidg
created: string
}

export interface TerminalProcessInfo {
Copy link
Member

Choose a reason for hiding this comment

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

Can't this interface be reused from upstream's base-terminal-protocol.ts?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It can, thx! Fixed

Signed-off-by: svor <vsvydenk@redhat.com>
@vzhukovs
Copy link
Contributor

@vzhukovskii this fix should resolve eclipse/che#16856 as well

Sounds promising. Let me check 🤞

@svor
Copy link
Contributor Author

svor commented May 18, 2020

crw-ci-build

@che-bot
Copy link
Contributor

che-bot commented May 18, 2020

✅ E2E Happy path tests succeed 🎉

Try Che-Theia editor only Try Che-Theia with Java/maven example Try Che-Theia with NodeJs example

See Details

name link
che-theia docker.io/maxura/che-theia:750
che-theia-endpoint-runtime-binary docker.io/maxura/che-theia-endpoint-runtime-binary:750

Tested with Eclipse Che Single User on K8S (minikube v1.1.1)

Copy link
Contributor

@vzhukovs vzhukovs left a comment

Choose a reason for hiding this comment

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

It fixes also eclipse-che/che#16856! Beer from me! 🍺

@svor svor merged commit ff0d89a into eclipse-che:master May 19, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants