-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Add IDE versions to the dashboard #15139
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
Conversation
started the job as gitpod-build-ft-add-ide-versions-dashboard.1 because the annotations in the pull request description changed |
5382413
to
fffef66
Compare
fffef66
to
c5a4f9c
Compare
function renderIdeOption( | ||
option: IDEOption, | ||
selected: boolean, | ||
version: IDEOption["imageVersion"], |
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.
Wouldn't the version already be inside the option: IDEOption
param?
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.
option has 2 versions stable and latest, passed version is a selection one of another depending on a user choice (line 98 above)
// TODO: Compatible with ide-config not deployed, need revert after ide-config deployed | ||
delete ideopts.options["code-latest"]; | ||
delete ideopts.options["code-desktop-insiders"]; | ||
delete ideOptions.options["code-latest"]; | ||
delete ideOptions.options["code-desktop-insiders"]; |
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.
What does this relate to? Can we remove this logic?
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.
yes, it can be removed already cc @mustard-mh
@filiptronicek very nice job ⭐ @mustard-mh Could you test please it to bring it in, looking forward! 🚀 |
/werft run 👍 started the job as gitpod-build-ft-add-ide-versions-dashboard.7 |
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.
LGTM
/hold for you to merge when ready
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.
Regarding the comment above in #15139 (review), force reloading helped, not sure if something didn't load ok on the first run. 🤷 Cc @filiptronicek |
function renderIdeOption( | ||
option: IDEOption, | ||
selected: boolean, | ||
version: IDEOption["imageVersion"], |
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.
question: When selecting the latest release, VS Code version remains the same. Is this expected?
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.
I think here it's because in preview environments, we just use the stable version as Insiders. Should be expected
@iQQBot please correct me if I'm wrong here 😄 🙏
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.
Thanks, @filiptronicek! OK, let's see how this behaves in production, then. 🎣
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.
Leaving one last comment, following up from a relevant discussion (internal), it should be ok to merge this and create follow-up issues or PRs for the outstanding design details.
Looping in @filiptronicek, @mustard-mh, and @akosyakov to release the hold break if this sounds ok. 🏓
Cross-posting for visibility:
Maybe using a different label variant to not associate these two kinds of information.
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, UX LGTM.
Tested with preview env, worked like a charm 🎉
Seems like this breaks the dashboard UX. ❗
@gtsiolis Maybe related to network issue? you can check your DevTool Console and Network tabs next time you faced it. 🙏
ide-service
will need to fetch and process image information when it first start, during this time, server
will not get data. So it can happen also when server
has no cache for it yet, and ide-service
is starting. But it should not be your case, as no one is going to restart it.
We need to handle healthy check in ide-service
properly.
Can be unhold? |
/unhold |
@filiptronicek Did you want me to re-review the UX changes in #15139 (comment)? Seems like not much changed from UX perspective. |
@gtsiolis I guess you need approve to unblock Not sure why it is not mergeable |
Sorry for the confusion, @gtsiolis 🙏. The re-request was triggered because I thought it would unblock merging, it seems that just dismissing your review did the trick (thanks Anton!). |
Thanks @filiptronicek & @akosyakov! Opened follow-up issue #15194 to keep track of the design nitpicks based on our discussion (internal). |
Description
This PR is simply adding versions below the icons of all IDEs in the IDE switcher component (used during on-boarding and always available in the user preferences).
This is partially a lie because we don't associate VS Code Desktop with a version, but it holds true for the rest.

It's a relatively easy win because we:
version
#14055)ide-service
so that it returns the IDE versions along the IDE options (Add IDE versions to ide service #15081)With this we can do two things at once:
How to test
Release Notes
Documentation
Werft options:
If enabled this will build
install/preview
Valid options are
all
,workspace
,webapp
,ide
,jetbrains
,vscode
,ssh