-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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] Re-implement default IDE switch for new dashboard #3482
Conversation
bee5373
to
10692da
Compare
Werft already called it a day 😂 /werft run 👍 started the job as gitpod-build-jx-dash2-default-ide.5 |
cfe3107
to
6e82249
Compare
Now looks good and has a few other visual improvements. It's just lacking a global Settings commit mechanism to actually change the value on the user. |
👍
|
Thanks!
I can hide it when
I agree. @gtsiolis do you have an alternative sub-text in mind? Maybe something like "Choose which IDE your workspaces should use."? EDIT: ✅ |
It's not the workspace that uses an IDE but the user. So how about:
|
Ok, the page now actually changes the user settings in the DB:
However, my new workspaces still all start with Theia for some reason. 🤔 EDIT: TODO: Disable on click, re-enable on server response. Maybe also drive-by fix Create > New Workspace button. |
ba3051a
to
8ff6ed7
Compare
<p className="text-sm text-gray-400 pb-4">This action will remove all the data associated with your account in Gitpod.</p> | ||
<button className="border-red-900 bg-red-500 hover:bg-red-700" onClick={() => setModal(true)}>Delete Account</button> | ||
<button className="border-red-600 text-red-600 bg-white hover:border-red-800 hover:text-red-800" onClick={() => setModal(true)}>Delete Account</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.
Is that bg-white
based on a design I missed?
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.
That's a secondary button (outline vs plain color), cc @gtsiolis
Currently, it seems that all <button>
have bg-green-600
by default:
gitpod/components/dashboard/src/index.css
Lines 31 to 33 in 8ff6ed7
button { | |
@apply cursor-pointer px-3 py-1 my-auto bg-green-600 hover:bg-green-700 border-2 border-green-800 text-gray-100 text-sm rounded-md; | |
} |
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.
For more context, see relevant specs in #3395.
I don't know I just see it :-) But you can really remove all the code around a custom IDE image for now, as we are not sure we want to go down that path. |
95bd263
to
2d3d4f0
Compare
Works well now! |
Also fix styling of Account and other Settings pages.
TODOs:
Reimplement a global Settings commit mechanism to actually change values for the user