-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
[dashboard] Improve new workspace start experience ⚡ #3510
Conversation
184e36c
to
65c6548
Compare
65c6548
to
4a8e911
Compare
Alrighty, workspace start-up (phases/status/controls) should be much nicer✨ and feel faster⚡ now! Also includes basic Stopping and Stopped screens. 🚀 Ready for review. |
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.
Much better! :-)
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.
Je vous remercie @jankeromnes! ⭐
Let some minor comments we can tackle in follow up issues.
<div className="rounded-full w-3 h-3 text-sm bg-gitpod-kumquat"> </div> | ||
<div> | ||
<p className="text-gray-700 font-semibold">{this.state.workspaceInstance.workspaceId}</p> | ||
<p>{this.state.contextUrl}</p> |
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.
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.
Moved to #3507 (comment).
break; | ||
|
||
// Stopping means that the workspace is currently shutting down. It could go to stopped every moment. | ||
case "stopping": | ||
statusMessage = <p className="text-base text-gray-400">Stopping …</p>; | ||
phase = StartPhase.Stopping; | ||
statusMessage = <div> |
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.
issue: Can we center align all the elements within this div and also keep a fix width for the workspace reference?
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.
Moved to #3507 (comment).
</div> | ||
<div className="mt-10 flex space-x-2"> | ||
<button className="px-4 py-2 text-gray-500 bg-white font-semibold border-gray-500" onClick={() => this.redirectTo(gitpodHostUrl.asDashboard().toString())}>Go to Dashboard</button> | ||
<button className="px-4 py-2 text-gray-50 bg-green-600 font-semibold border-green-800" onClick={() => this.redirectTo(gitpodHostUrl.asStart(this.state.workspaceInstance?.workspaceId).toString())}>Open Workspace</button> |
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.
issue: Both of these buttons lack hover state. Maybe we could add this on the button component in index.css
.
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.
Moved to #3507 (comment).
No description provided.