fix(#80): broker enable/disable feedback + don't validate a disable
On-hardware test feedback: - Long-press Enable/Disable was silent on success AND failure. It now confirms on success and, on failure, surfaces the device's reason (lastError) instead of nothing. - The client now refuses to quick-Enable a broker that can't work (incomplete required fields, e.g. JWT without audience/owner) and says why -- so it never reports "enabled" on a broker that won't run. (Firmware should reject too.) - The editor blocked a DISABLE on blank/invalid fields. Validation now gates ENABLING only -- disabling a slot with partial values is fine; it won't be active. Validation rules shared via BrokerConfig.enableError (editor pre-save + list quick-Enable). Full suite green. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>feat/64-observer-config
parent
bc8b285ed4
commit
0d9dc79b91
Loading…
Reference in new issue