Skip to content

feat(web): choose the size for a new VM with one provider too - #104

Merged
vkpdeveloper merged 1 commit into
mainfrom
feat/new-vm-size
Nov 25, 2026
Merged

vkpdeveloper merged 1 commit into
mainfrom
feat/new-vm-size

Conversation

@vkpdeveloper

@vkpdeveloper vkpdeveloper commented Nov 25, 2026 •

Copy link
Copy Markdown
Owner

New VM created a VM right away with the default size when only one provider was set up. You could only pick a size with two or more providers.

Now New VM always opens the picker. Size is always there. Provider shows only when there are several. Right-click New VM on the canvas still creates right away.

Checked with bun run check (549 pass) and screenshots from a throwaway bridge:

One provider Two providers

Summary by CodeRabbit

  • New Features
    • Creating a VM now opens a picker to choose its size, even when only one provider is available. The provider selector appears only when multiple providers are available.

@vercel

vercel Bot commented Nov 25, 2026

Copy link
Copy Markdown

Deployment failed for project vmbridge with the following error:

Resource is limited - try again in 24 hours (more than 100, code: "api-deployments-free-per-day").

Learn More: https://vercel.com/vkpdevelopers-projects?upgradeToPro=build-rate-limit

@coderabbitai

coderabbitai Bot commented Nov 25, 2026 •

Copy link
Copy Markdown

Explain Change →

Caution

Review failed

The pull request is closed.

Walkthrough

The New VM action now opens the picker regardless of provider count. The picker requests a size before creation and shows provider selection only when multiple providers are available.

Changes: New VM Picker

Layer / File(s) Summary
Open picker and conditionally show providers
apps/web/src/Canvas.tsx
Clicking New VM toggles the picker. The provider field appears only when multiple providers exist; providers in the building state remain disabled. The comment now describes requesting a size first and asking for a provider only when needed.

Estimated code review effort: 2 (Simple) | ~8 minutes

Change: Feature

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@vkpdeveloper
vkpdeveloper merged commit 5159c1b into main Nov 25, 2026
1 of 3 checks passed
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.

1 participant