Manufacturing 0.4.2: The machine form no longer crashes on the Operations and Files tabs
Manufacturing 0.4.2 fixes the machine form: typing or saving on its Operations or Files tab crashed the page.
Those tabs are part of the same form as General but carry none of its fields. Every keystroke in a time norm override, every dropped file and every save from them crashed the form. Typing there now works, and saving from these tabs keeps what was last typed on the General tab, so a name entered before switching tabs is saved instead of lost.
Also changed: the manufacturing dashboard uses the full width of the admin page instead of a narrow centred column, and the filter forms of the machines list keep a half-typed value after the connection drops and comes back.
Full release notes: Manufacturing 0.4.2
0.4.2 · 13 September 2026
Fixed
-
Saving or editing on the machine form’s Operations / Files tab crashed the LiveView. Those tabs sit inside the same
#machine-formas General but render none of themachine[...]inputs, so theirphx-change(typing in a time-norm override, dropping a file) andphx-submitpayloads carry no"machine"key — and both handlers pattern-matched on it, raising aFunctionClauseErroron every keystroke and on Save.validateis now a no-op there, and Save falls back to the params of the last General-tabvalidate, so a name typed on General before switching tabs is saved rather than dropped. -
Machines list per-column filter forms now carry stable ids, so LiveView can restore a half-typed filter after a reconnect (they were
phx-changeforms with noid, which LiveView warns about). -
Test suite against the current lock (
phoenix_kit2.23,phoenix_kit_comments0.4.7): the fake test scope now wraps a real%PhoenixKit.Users.Auth.User{}(the embedded comments component runs it throughRoles.user_has_role_owner?/1, which heads on the struct), the delete-flow test targets the table row menu instead of an ambiguous selector that also matched the card view, and the Operations-tab tests submit what the browser actually sends from that tab.
Changed
- The manufacturing dashboard uses the full admin content width instead of a centred 768px column (#11).
- Dependency updates (
phoenix_kit2.23.0,phoenix_kit_entities0.4.12,phoenix_kit_comments0.4.7,phoenix_kit_locations0.4.2,phoenix_live_view1.2.11).
Manufacturing 0.4.2. Install or update: {:phoenix_kit_manufacturing, "~> 0.4"}, then mix deps.get && mix phoenix_kit.update. Full history: CHANGELOG.