mirror of
https://github.com/cozystack/cozystack.git
synced 2026-11-30 04:06:34 +09:00
The form took its defaults from the schema in the browser, which cannot see the installation defaults the API now applies on create, so it could show values the created application would not have. The page sends one dry-run create when it opens and fills the form and the YAML editor from the spec the server returns. There are no further previews while the user edits. A preview that fails, or gets no answer within 8 seconds, opens the form without installation values and shows a notice with Retry. Deploy still works then, because the real create applies the defaults itself. After a failed preview a dropdown stays empty instead of selecting the cluster's default option: a value the user did not choose would be sent and win over the platform default the API applies to omitted fields. A cleared plain text field leaves its key out, as it did before, so clearing a field still resets it. Assisted-by: LLM Signed-off-by: Myasnikov Daniil <myasnikovdaniil2001@gmail.com>