-
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] Add org resources to the top of the workspace list #20520
Conversation
Todo: - [ ] only enable on dedicated installs - [ ] add org setting for org-wide suggestions - [ ] possibly adopt `Recommended` badges from figma - [ ] open configurationId instead of cloneUrl if possible
@@ -42,7 +42,7 @@ export const SetupCompleteStep: FC<Props> = ({ onComplete }) => { | |||
<Subheading>Your teammates can now sign in to Gitpod using single sign-on (SSO).</Subheading> | |||
|
|||
<div className="flex flex-row items-center space-x-2 mt-4"> | |||
<div className="flex flex-row items-center space-x-1 font-mono text-sm text-gray-500 dark:text-gray-600"> | |||
<div className="flex flex-row items-center space-x-1 font-mono text-sm text-pk-content-secondary"> |
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 is a drive-by. I noticed that in the installation setup, the contrast of this text with the background is too small.
@@ -344,7 +344,7 @@ export class OrganizationServiceAPI implements ServiceImpl<typeof OrganizationSe | |||
"onboardingSettings can only be set on enterprise installations", | |||
); | |||
} | |||
if (req.onboardingSettings.internalLink?.length ?? 0 > 255) { | |||
if ((req.onboardingSettings.internalLink?.length ?? 0) > 255) { |
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 is a fix for a regression from #20508. Operator precedence is hard :P
<Header title="Workspaces" subtitle="Manage recent and stopped workspaces." /> | ||
<Header | ||
title="Workspaces" | ||
subtitle="Manage, start and stop your personal development environments in the cloud." |
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.
Copy comes from this Figma.
Looks all very clean and ready to go! I have two smaller comments:
|
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.
Code LGTM, tested and works ✔️
Left comments here, leaving it up to you how/when to tackle them. 👍
Description
This PR introduces a couple of quick links to the top of the workspaces page.
👆 this is how the cards look like when there is an
internalLink
configured as part of the organization's onboarding settings. If there's none, this card will be shown instead:Related Issue(s)
Fixes CLC-1063
How to test
https://ft-suggest2ff3f7fd93.preview.gitpod-dev.com
/hold