Skip to content

fix(frontend): prefill saved monitoring intervals - #1040

Merged
marcel-breuer merged 1 commit into
mainfrom
fix/1038-monitoring-interval-prefill
Oct 24, 2026
Merged

marcel-breuer merged 1 commit into
mainfrom
fix/1038-monitoring-interval-prefill

Conversation

@marcel-breuer

Copy link
Copy Markdown
Owner

What changed

  • Render website interval options as strings so the existing string state matches the selected <option> value.
  • Add coverage for the edit form-options API response and the select option type.

Why

The edit form stores check_interval_minutes as a string, while the interval options were numeric. The browser could therefore fall back to the first option instead of showing the saved interval.

Validation

  • Docker Pest: InternalUiMonitoringApiTest.php and SvelteKitQualityGateTest.php — 50 passed, 748 assertions, one warning.
  • Docker Svelte check — passed with 0 errors and 0 warnings.
  • Docker frontend build (docker build --target sveltekit_build .) — passed.
  • git diff --check — passed.

Risks

No API or database behavior changed.

Closes #1038

@marcel-breuer
marcel-breuer force-pushed the fix/1038-monitoring-interval-prefill branch from a04ffc6 to 708df50 Compare October 24, 2026 11:04
@marcel-breuer
marcel-breuer merged commit ffabb6d into main Oct 24, 2026
5 checks passed
@marcel-breuer
marcel-breuer deleted the fix/1038-monitoring-interval-prefill branch October 24, 2026 11:07
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.

fix: prefill saved monitoring intervals in edit forms

1 participant