The /cluster/devices/blackmagic endpoint returns one entry per port (flat array). The old SDI picker iterated over each entry and synthesised port_count buttons per entry — 4 entries × 4 synthesised ports = 16 buttons rendered as 4 identical duplicate groups. Fix: extract DevicePortPicker component that groups the flat per-port response by node_id (Map keyed on node_id, one group per physical node, ports sorted by index). One button rendered per actual API entry. Also extract ManualDevicePicker for the fallback empty-state dropdowns. Both components shared between SDI and Deltacast pickers. Visual improvements: - Port label shows device node (io0, io1…) from device path instead of redundant index number - Node header only shows model+hostname, not repeated per port - TEST CARD badge styled inline for Deltacast test-card ports |
||
|---|---|---|
| .. | ||
| public | ||
| scripts | ||
| src/css | ||
| .dockerignore | ||
| .gitignore | ||
| Dockerfile | ||
| nginx.conf | ||
| package.json | ||
| postcss.config.js | ||
| tailwind.config.js | ||