Skip to content

Introduce new version designs #15397

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

Merged
merged 1 commit into from
Dec 20, 2022
Merged

Introduce new version designs #15397

merged 1 commit into from
Dec 20, 2022

Conversation

filiptronicek
Copy link
Member

Description

Related Issue(s)

Fixes #15194

How to test

Release Notes

NONE

Documentation

Werft options:

  • /werft with-local-preview
    If enabled this will build install/preview
  • /werft with-preview
  • /werft with-large-vm
  • /werft with-integration-tests=all
    Valid options are all, workspace, webapp, ide, jetbrains, vscode, ssh

@werft-gitpod-dev-com
Copy link

started the job as gitpod-build-ft-ide-versions-ui.1 because the annotations in the pull request description changed
(with .werft/ from main)

@github-actions github-actions bot added team: IDE team: webapp Issue belongs to the WebApp team labels Dec 16, 2022
@filiptronicek
Copy link
Member Author

filiptronicek commented Dec 17, 2022

Currently what I have done with the styles in the preview environment: cc @gtsiolis

image

@@ -176,42 +176,40 @@ function renderIdeOption(
version: IDEOption["imageVersion"],
onSelect: () => void,
): JSX.Element {
const label = option.type === "desktop" ? "" : option.type;
const shouldShowOptionType = option.type !== "desktop" || option.title === "VS Code"; // Force show of "Desktop" in the list for VS Code Desktop
Copy link
Member

Choose a reason for hiding this comment

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

taking a note on hardcoding, let's go with it for now

Copy link
Member Author

Choose a reason for hiding this comment

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

Alternatively, we could add something like forceShowType in https://github.com/gitpod-io/gitpod/blob/main/install/installer/pkg/components/ide-service/ide_config_configmap.go to VS Code Desktop to remove this.

Copy link
Member

@akosyakov akosyakov left a comment

Choose a reason for hiding this comment

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

looks good

/hole

since commits should be squashed

@gtsiolis
Copy link
Contributor

gtsiolis commented Dec 19, 2022

Looking at this now! 👀

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.

Thanks for making this change, @filiptronicek! 🔮 🧙

Left some minor comments below about spacing and colors. The font stack comments can be resolved separately. Let me know if anything looks unclear how to proceed. 🛹

@@ -4,12 +4,14 @@
* See License.AGPL.txt in the project root for license information.
*/

export type PillType = "info" | "warn" | "success";
export type PillType = "info" | "warn" | "success" | "warnStrong" | "subtle";

const PillClsMap: Record<PillType, string> = {
info: "bg-blue-50 text-blue-500 dark:bg-blue-500 dark:text-blue-100",
Copy link
Contributor

Choose a reason for hiding this comment

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

thought: Going with the same subtle (neutral) label could be nice with the upcoming changes in #15389, see relevant designs in #15287 (comment). Cc @svenefftinge

Alternatively, using the info variant could be also a good way forward. But in any case, going with the neutral and improving the label designs (colors) (#15218) in the future sounds good.

Using neutral label variant Using info label variant
Frame 269 Frame 269-1

@gtsiolis
Copy link
Contributor

gtsiolis commented Dec 19, 2022

@filiptronicek I accidentally missed uploading these BEFORE / AFTER screenshots to clarify some of the suggestions in the UX review above in #15397 (review). Let me know if anything looks unclear, and let's open follow-up issues for anything that can be tackled in next iterations. 🛹

BEFORE AFTER
cards-before cards-after

@roboquat roboquat merged commit 96f3027 into main Dec 20, 2022
@roboquat roboquat deleted the ft/ide-versions-ui branch December 20, 2022 16:05
@roboquat roboquat added the deployed: webapp Meta team change is running in production label Dec 21, 2022
@roboquat roboquat added deployed: IDE IDE change is running in production deployed Change is completely running in production labels Jan 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: dashboard deployed: IDE IDE change is running in production deployed: webapp Meta team change is running in production deployed Change is completely running in production release-note-none size/M team: IDE team: webapp Issue belongs to the WebApp team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update the design of the editor selection cards
5 participants