-
Notifications
You must be signed in to change notification settings - Fork 899
feat(site): Show warning if startup script is running #7326
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
Conversation
@@ -100,6 +75,11 @@ const TerminalPage: FC< | |||
applicationsHost, | |||
} = terminalState.context | |||
const reloading = useReloading(isDisconnected) | |||
const shouldDisplayStartupWarning = workspaceAgent | |||
? ["starting", "starting_timeout", "start_error"].includes( |
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.
This start_error
is a permanent state when error is encountered (until shutdown). The workspace will never be ready
. Perhaps we should show a different kind of warning in that case?
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.
Ahhh I see. I totally agree.
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.
approved ;) (left a question, but I am not sure of it)
Co-authored-by: Mathias Fredriksson <mafredri@gmail.com>
…coder into bq/show-alert-on-terminal
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!
Preview:

Close #6819