goinfinite / ez

From server to PaaS in no time. User-friendly, lightweight, free.
https://goinfinite.net/ez/
Other
11 stars 0 forks source link

fix(front): new and update props for accounts and container profiles #68

Closed ntorga closed 3 months ago

ntorga commented 4 months ago

Thanks to goinfinite/ez#84, the following props have been renamed:

There is a new prop called "storagePerformanceUnits" which should be used on accounts and container profiles.

Account updates

diskBytes and inodes

Those were cosmetic changes, just need to be renamed.

storagePerformanceUnits

That's a new prop used during account creation. One storage performance units = 5MB/s and 250 IOPS for Read and 5MB/s and 250 IOPS for Write. That means if an account has 10 storage performance units, its containers will be able to perform 50MB/s and 2500 IOPS for read and for writes. Got it? Simple as that.

Again, you don't need to update the ContainerProfile pages, but that must be shown on the Account pages. You don't need to show the StoragePerformanceUnits on the ContainerProfile tags you see on the containers lists and modals, ONLY on the Account pages and modals.

Add a message explaining what 1 storage performance units is equal to on the create/update account modal please.

By the way, you may set the limit of the range selector to 100 cause I highly doubt someone will use more than that on a single account. 1 should be enough for small deployments and most people probably won't ever set to 100. If the person wants more, use the number input instead of the slider. Easy.