Skip to content

Add instance to anti-affinity group in create form #2788

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

benjaminleonard
Copy link
Contributor

Configuration might not be the best place in the advanced accordion to put it, but not sure if it justifies its own section. Added to the instanceCreate handler and a e2e test.

image

Copy link

vercel bot commented Apr 8, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
console ✅ Ready (Inspect) Visit Preview Apr 8, 2025 10:58am

@@ -169,6 +173,9 @@ export async function clientLoader({ params }: LoaderFunctionArgs) {
apiQueryClient.prefetchQuery('currentUserSshKeyList', {}),
apiQueryClient.prefetchQuery('projectIpPoolList', { query: { limit: ALL_ISH } }),
apiQueryClient.prefetchQuery('floatingIpList', { query: { project, limit: ALL_ISH } }),
apiQueryClient.prefetchQuery('antiAffinityGroupList', {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Number of groups is likely to be low. Curious if there is a threshold where its better to move this stuff after the page is loaded.

@david-crespo
Copy link
Collaborator

What if the combobox was inline instead of in a modal?

@benjaminleonard
Copy link
Contributor Author

Worth a try, but we would need to change the floating IPs one also

@benjaminleonard
Copy link
Contributor Author

There's a few other things on that, e.g. do we do that for attach disks also? Do we stack the listbox and button (like firewall rules)? For now I'd say we defer that, since I've been trying to figure out a minitable and integrated input pattern for the webhooks work and also solve confusion around fields not being added in the firewall rules modal.

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.

2 participants