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

[dashboard] Improve new workspace start experience ⚡ #3510

Merged
merged 1 commit into from
Mar 19, 2021

Conversation

jankeromnes
Copy link
Contributor

@jankeromnes jankeromnes commented Mar 19, 2021

No description provided.

@jankeromnes jankeromnes force-pushed the jx/dash2-fresh-start branch 5 times, most recently from 184e36c to 65c6548 Compare March 19, 2021 17:29
@jankeromnes jankeromnes marked this pull request as ready for review March 19, 2021 17:37
@jankeromnes jankeromnes force-pushed the jx/dash2-fresh-start branch from 65c6548 to 4a8e911 Compare March 19, 2021 18:23
@jankeromnes
Copy link
Contributor Author

jankeromnes commented Mar 19, 2021

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.

@jankeromnes jankeromnes requested review from gtsiolis and svenefftinge and removed request for gtsiolis March 19, 2021 18:25
@jankeromnes
Copy link
Contributor Author

A few screenshots (note: the logo now bounces):

Checking
Screenshot 2021-03-19 at 19 34 56
Screenshot 2021-03-19 at 19 33 20
Screenshot 2021-03-19 at 19 33 28
Screenshot 2021-03-19 at 19 32 35
Screenshot 2021-03-19 at 19 34 10
Screenshot 2021-03-19 at 19 35 08

Copy link
Member

@svenefftinge svenefftinge left a comment

Choose a reason for hiding this comment

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

Much better! :-)

@jankeromnes jankeromnes merged commit 803baa6 into dashboard-v2 Mar 19, 2021
@jankeromnes jankeromnes deleted the jx/dash2-fresh-start branch March 19, 2021 22:06
Copy link
Contributor

@gtsiolis gtsiolis left a 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">&nbsp;</div>
<div>
<p className="text-gray-700 font-semibold">{this.state.workspaceInstance.workspaceId}</p>
<p>{this.state.contextUrl}</p>
Copy link
Contributor

Choose a reason for hiding this comment

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

issue: Let's truncate this as it can break the layout for this component!

Screenshot 2021-03-20 at 12 48 33 AM

Copy link
Contributor

@gtsiolis gtsiolis Mar 19, 2021

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>
Copy link
Contributor

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?

Copy link
Contributor

@gtsiolis gtsiolis Mar 19, 2021

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>
Copy link
Contributor

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.

Copy link
Contributor

@gtsiolis gtsiolis Mar 19, 2021

Choose a reason for hiding this comment

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

Moved to #3507 (comment).

@gtsiolis gtsiolis mentioned this pull request Mar 19, 2021
12 tasks
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.

3 participants