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
[ODC-5071]: Update web terminal to explain the reason why the workspace was stopped #7199
[ODC-5071]: Update web terminal to explain the reason why the workspace was stopped #7199
Conversation
Hi @JPinkney. Thanks for your PR. I'm waiting for a openshift member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Nice usability enhancement for the Web Terminal. Can we get this reviewed and merged for 4.7 @christianvogt ? |
FYI, In order for this to be exposed in the Dev Console, WTO 1.2 is needed ( currently planned for a couple weeks after 4.7 GA ) |
@JPinkney Could you describe the expected behavior with these changes and WTO 1.1? Thx |
If WTO 1.1 is installed it just defaults to the old error "The terminal connection has closed" since the |
Tested on crc with custom-built images and works as expected and demoed in the video. One minor comment that is not really related to the purpose of this PR. It may be better to limit the scope of this PR and do not add the proposed changes even if they make sense. |
Yeah, I think we can go that as an improvement in the future just so we can have this code reviewed and merged asap |
frontend/packages/console-app/src/components/cloud-shell/CloudShellExec.tsx
Outdated
Show resolved
Hide resolved
frontend/packages/console-app/src/components/cloud-shell/CloudShellExec.tsx
Outdated
Show resolved
Hide resolved
frontend/packages/console-app/src/components/cloud-shell/CloudShellExec.tsx
Outdated
Show resolved
Hide resolved
frontend/packages/console-app/src/components/cloud-shell/CloudShellExec.tsx
Outdated
Show resolved
Hide resolved
frontend/packages/console-app/src/components/cloud-shell/CloudShellTerminal.scss
Outdated
Show resolved
Hide resolved
/ok-to-test |
/lgtm |
/retest Please review the full test history for this PR and help us cut down flakes. |
Signed-off-by: Josh Pinkney <joshpinkney@gmail.com>
Signed-off-by: Josh Pinkney <joshpinkney@gmail.com>
Signed-off-by: Josh Pinkney <joshpinkney@gmail.com>
Signed-off-by: Josh Pinkney <joshpinkney@gmail.com>
@christianvogt I'm a bit confused, the tests are failing with what looks like |
Did you run the |
Signed-off-by: Josh Pinkney <joshpinkney@gmail.com>
Ah I didn't know I had to run |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: christianvogt, JPinkney, sleshchenko The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/retest Please review the full test history for this PR and help us cut down flakes. |
16 similar comments
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
/retest Please review the full test history for this PR and help us cut down flakes. |
This PR updates the web terminal to look into the custom resource annotation
controller.devfile.io/stopped-by
to determine why the workspace has stopped. Additionally, when that error is thrown it shows a button that allows you to restart your web terminal.If WTO 1.1 is installed it just defaults to the old error "The terminal connection has closed" since the
controller.devfile.io/stopped-by
annotation does not exist in the CR.Before: https://www.youtube.com/watch?v=2S4inkX5sKc
After: https://www.youtube.com/watch?v=YUld4YKFeoU
Signed-off-by: Josh Pinkney joshpinkney@gmail.com