Draft
Replace resource number spinners with preset dropdowns in container Resources#419
Conversation
Copilot
AI
changed the title
[WIP] Fix storage inputs in the Resources for better user experience
Replace resource number spinners with preset dropdowns in container Resources
Jul 17, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The RAM/Swap/Storage editors used a raw number input whose up/down arrows nudged megabyte values by a single step, making it tedious to reach useful sizes like 4096 MB.
Changes
ResourceValueInputcomponent — a preset dropdown of common sizes with a Custom… option that reveals a number input for precise editing. MB presets that divide evenly render as whole GB (e.g.4096→4 GB).ResourcesSectionwiring — added per-resourcepresetsand bumped the custom-editstepto multiples of 1024 (RAM/Swap) and 10 (RootFS); swapped the inline number input forResourceValueInput.Presets: RAM
256 MB–32 GB, Swap0 MB–16 GB, CPUs1–32, RootFS5–500 GB.The editable number field is retained via Custom…, so arbitrary values are still supported. Both the dropdown and input carry ARIA labels.