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

adding cancelable launch prompts to NodeShell #2360

Merged
merged 1 commit into from
Dec 24, 2023

Conversation

wjiec
Copy link
Contributor

@wjiec wjiec commented Dec 22, 2023

Originally when launching NodeShell the whole view would freeze until the shell was entered or the launch timed out (takes 100 seconds!).

This PR adds a launch prompt to NodeShell and can interrupt execution. It also reduces the wait time with more frequent checks.

@wjiec
Copy link
Contributor Author

wjiec commented Dec 22, 2023

what it looks like now
image

Copy link
Owner

@derailed derailed left a comment

Choose a reason for hiding this comment

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

@wjiec Nice! Thank you for this cool upgrade Jayson!
Small pick no sure about the naming here as we are not really prompting?
Perhaps progress or cancelable might be good.
For the future it could be cool to show progress ie x of y or a progress bar on this dialog.

@@ -0,0 +1,57 @@
package dialog
Copy link
Owner

Choose a reason for hiding this comment

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

This is not really prompting. Perhaps progress or wait might be a better name?

Copy link
Owner

@derailed derailed left a comment

Choose a reason for hiding this comment

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

@wjiec We can adjust in a subsequent PR.

@derailed derailed merged commit f8ad4aa into derailed:master Dec 24, 2023
2 of 3 checks passed
@derailed derailed mentioned this pull request Dec 24, 2023
@wjiec wjiec deleted the feat/node-shell-prompt branch December 25, 2023 01:48
thejoeejoee pushed a commit to thejoeejoee/k9s that referenced this pull request Feb 23, 2024
placintaalexandru pushed a commit to placintaalexandru/k9s that referenced this pull request Apr 3, 2024
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.

2 participants