backend.ai-webui icon indicating copy to clipboard operation
backend.ai-webui copied to clipboard

Let's make app dialog appears after the session is completely in running status.

Open lizable opened this issue 4 years ago • 0 comments

Is your feature request related to a problem? Please describe. When the user starts a single session, the app execution dialog showed even if the session is in preparing status, which makes Internal server error(error code: 500) when user clicks one of the apps that session can execute.

Describe the solution you'd like It would be great to pop up the app execution dialog just after the session is in running status.

Describe alternatives you've considered since the list of session has been received by the server by 5 seconds interval, So, the worst case could be happened, and that is user have to wait until 5 seconds more when the session already started. If the app execution dialog is not that important part to be shown, we can simply remove exposing the dialog instead.

Additional context Here's the code block for retrieving session list from the server in every 5 sec. (https://github.com/lablup/backend.ai-console/blob/4a131e2ddab5020685c1b58c8f37c6ec8edd0fae/src/components/backend-ai-session-list.ts#L570-L594)

lizable avatar Nov 24 '20 01:11 lizable