Skip to content
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

feat: add vm tier setting when creating a devbox #8360

Merged
merged 4 commits into from
Feb 22, 2024
Merged

Conversation

alexnm
Copy link
Contributor

@alexnm alexnm commented Feb 22, 2024

Pro has up to Medium as a choice and Micro as default
image

Free as up to Micro as a choice and Nano as default + mention of more specs on Pro
image

Copy link

codesandbox bot commented Feb 22, 2024

Review or Edit in CodeSandbox

Open the branch in Web EditorVS CodeInsiders

Open Preview

danilowoz
danilowoz previously approved these changes Feb 22, 2024
@@ -109,6 +109,11 @@ export const CreateBoxForm: React.FC<CreateBoxFormProps> = ({
createAs: type,
permission,
editor: type === 'sandbox' ? 'csb' : editor, // ensure 'csb' is always passed when creating a sandbox
customVMTier:
// Only pass customVMTier if user selects something else than the default
availableTiers.length > 0 && selectedTier !== defaultTier
Copy link
Member

Choose a reason for hiding this comment

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

It's tricky, but it looks good to me

@alexnm alexnm merged commit ca88a05 into master Feb 22, 2024
12 of 15 checks passed
@alexnm alexnm deleted the draft/zen-waterfall branch February 22, 2024 15:49
Copy link

sentry-io bot commented Mar 6, 2024

Suspect Issues

This pull request was deployed and Sentry observed the following issues:

  • ‼️ TypeError: Cannot read properties of undefined (reading 'filter') <anonymous>(src/app/components/Create/CreateBox... View Issue

Did you find this useful? React with a 👍 or 👎

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants