Skip to content

Fix default workspace class is not selected #12436

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
Aug 29, 2022

Conversation

Furisto
Copy link
Member

@Furisto Furisto commented Aug 26, 2022

Description

Show the workspace class that will be used if no workspace class has been selected yet by the user.

Related Issue(s)

Fixes #12435

How to test

  • Open the workspace settings in the preview environment
  • Check that Default is selected even though now workspace class has been selected yet

Release Notes

None

Werft options:

  • /werft with-preview

@werft-gitpod-dev-com
Copy link

started the job as gitpod-build-furisto-default-workspace-class-12435.2 because the annotations in the pull request description changed
(with .werft/ from main)

@roboquat roboquat added size/M and removed size/XS labels Aug 26, 2022
@Furisto Furisto force-pushed the furisto/default-workspace-class-12435 branch 3 times, most recently from 0004d16 to 51fc7bd Compare August 26, 2022 17:36
@Furisto Furisto marked this pull request as ready for review August 26, 2022 17:56
@Furisto Furisto requested a review from a team August 26, 2022 17:56
@github-actions github-actions bot added the team: webapp Issue belongs to the WebApp team label Aug 26, 2022
@@ -265,6 +266,9 @@ const gitpodServiceMock = createServiceMock({
},
};
},
getBillingModeForUser: async () => {
Copy link
Member

Choose a reason for hiding this comment

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

This seems unrelated to the PR, why is this change needed?

Copy link
Member Author

Choose a reason for hiding this comment

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

The settings page calls this method and if it is not there the page cannot be displayed when using the service mock.

Copy link
Member

@easyCZ easyCZ left a comment

Choose a reason for hiding this comment

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

LGTM
Will require a rebase

@Furisto Furisto force-pushed the furisto/default-workspace-class-12435 branch from 51fc7bd to a93f029 Compare August 29, 2022 09:23
@roboquat roboquat merged commit 8fa7544 into main Aug 29, 2022
@roboquat roboquat deleted the furisto/default-workspace-class-12435 branch August 29, 2022 09:41
@roboquat roboquat added deployed: webapp Meta team change is running in production deployed Change is completely running in production labels Aug 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deployed: webapp Meta team change is running in production deployed Change is completely running in production feature: workspace classes release-note-none size/S team: webapp Issue belongs to the WebApp team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Default workspace class is not selected if no selection has been made by user
3 participants