Make the front panel on the device page match the real hardware. This covers one model so it can be checked port by port against the physical unit.
Device:USW Flex Mini (UniFi model code USMINI, 5 ports reported by UniFi)
Current state
SWITCH_LAYOUTS in static/port-inspector.js:
'USMINI':{rows:[[1,2,3,4,5]]}
This draws a plain row of five ports with no indication of the uplink or power source.
Verify against the unit or datasheet
Physical port order, which may run opposite to the on-screen order.
Which port can power the switch through PoE, and whether the USB-C power input should be drawn.
Whether this model reports PoE or other per-port data through UniFi, so the panel doesn't reserve space for data that never arrives.
Acceptance criteria
Port order matches a reference photo of the unit
The uplink and PoE input port are marked
Each port shows state, speed and neighbor without overlapping text
Clicking a port or using the keyboard opens the existing port panel, and #port-N links still work
No sideways page scroll at phone width
Reference photo or datasheet link is recorded on this issue
Make the front panel on the device page match the real hardware. This covers one model so it can be checked port by port against the physical unit.
**Device:** `USW Flex Mini` (UniFi model code `USMINI`, 5 ports reported by UniFi)
## Current state
`SWITCH_LAYOUTS` in `static/port-inspector.js`:
```js
'USMINI': { rows: [[1,2,3,4,5]] }
```
This draws a plain row of five ports with no indication of the uplink or power source.
## Verify against the unit or datasheet
- Physical port order, which may run opposite to the on-screen order.
- Which port can power the switch through PoE, and whether the USB-C power input should be drawn.
- Whether this model reports PoE or other per-port data through UniFi, so the panel doesn't reserve space for data that never arrives.
## Acceptance criteria
- [ ] Port order matches a reference photo of the unit
- [ ] The uplink and PoE input port are marked
- [ ] Each port shows state, speed and neighbor without overlapping text
- [ ] Clicking a port or using the keyboard opens the existing port panel, and `#port-N` links still work
- [ ] No sideways page scroll at phone width
- [ ] Reference photo or datasheet link is recorded on this issue
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Make the front panel on the device page match the real hardware. This covers one model so it can be checked port by port against the physical unit.
Device:
USW Flex Mini(UniFi model codeUSMINI, 5 ports reported by UniFi)Current state
SWITCH_LAYOUTSinstatic/port-inspector.js:This draws a plain row of five ports with no indication of the uplink or power source.
Verify against the unit or datasheet
Acceptance criteria
#port-Nlinks still work