Skip to content

Add quota inputs to silo create form - #1858

Merged
david-crespo merged 4 commits into
mainfrom
add-quota-inputs-to-silo-create-form
Dec 14, 2023
Merged

david-crespo merged 4 commits into
mainfrom
add-quota-inputs-to-silo-create-form

Conversation

@charliepark

Copy link
Copy Markdown
Contributor

Should have gotten in on my last PR, but I thought there'd be more to this form. There are a few more things we should do to polish it (some tooltip descriptions; smarter defaults), but this at least sets it up so users can set quotas when creating a silo.

Screenshot 2023-12-14 at 11 32 36 AM

@vercel

vercel Bot commented Dec 14, 2023 •

Copy link
Copy Markdown

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

Name Status Preview Updated (UTC)
console ✅ Ready (Inspect) Visit Preview Dec 14, 2023 10:00pm

@david-crespo david-crespo left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

This solves the immediate problem! I think I'd like to see the silo create E2E test put something in these fields. Do they have the default min value of 1?

Is there a design for showing this on silo detail? It should be extremely easy, there's already a whole separate silo detail page so you don't have to put it in the table.

Comment thread app/forms/silo-create.tsx Outdated
/>
<NumberField
control={form.control}
label="Disk quota"

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I think for consistency with the API, we should call this Storage quota.

@just-be-dev

Copy link
Copy Markdown
Contributor

Thank you so much @charliepark for tackling this!

This branch was successfully deployed

1 active deployment
Preview — c81955e3 Deployed Dec 14, 2023 by vercel[bot]
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