mirror of
https://github.com/cpvalente/ontime.git
synced 2026-09-07 07:19:16 +00:00
25eb68452c
AutomationForm rendered all three output kinds inline, so the file mixed the form's own concerns with the fields of every protocol it can speak. Each kind now has a component next to OntimeActionForm, which was already there and was the odd one out, and OutputCard owns the chrome they share. The form drops from ~700 lines to ~540 and the map over the outputs reads as three cases. Three copies of an inline structural cast existed only to reach an output field's error by name, which react-hook-form cannot resolve through a union. One OutputErrors type replaces all of them. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AfDKsy6PE3Rbyt32Fg4YKf