mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-09-30 01:53:45 +00:00
Reshape the server-managed environment create/edit form: - Resources: replace CPU/memory/disk inputs with range sliders (CPU 1-8, memory 1-16 GB, disk 1-20 GB). Each always writes a concrete value; existing values are parsed and clamped onto range. - Image: add an Image-source selector (Image reference vs Dockerfile) that shows, requires, and sends only the selected, mutually exclusive source. - Network: replace the mode dropdown + CIDR list with a single "Block all network access" toggle (block vs allow-all). - Labels: remove from the UI entirely; they remain API-managed and are round-tripped untouched so edits never clear API-set labels. - Provider: drop the in-form provider control. "New environment" is now a dropdown of enabled sandbox providers; the chosen provider is passed via query param and fixed for the environment's lifetime. Editing can no longer switch providers. - Layout: merge Identity + Image into one "General" panel, move Environment variables up, and tuck Network + Lifecycle behind an "Advanced" progressive-disclosure section (open by default when any advanced value is non-default). Add environment-form unit tests for image-source validation and request construction. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| fabro-web | ||
| marketing | ||
| remotion | ||