Instatic
Instatic copied to clipboard
fix(editor): replace hidden layer badge with eye-off icon
What changed
- Replaced the Layers panel hidden text badge with the vendored
EyeOffSolidIcon. - Styled the hidden marker as a compact muted icon using existing editor color tokens.
- Added regression coverage for hidden layer rows so the text badge does not return.
Why
Hidden layers were marked with a low-contrast hidden text badge that was barely visible in the Explorer. The row already exposes hidden state through its accessible label, so the visual marker can be a clearer icon-only status indicator.
Impact
Authors now see a muted crossed-eye icon on hidden Layers rows instead of the faint badge text. No page rendering or persistence behavior changes.
Verification
bun test src/__tests__/panels/domPanel.test.tsxbun run lintbun run buildbun testnpx react-doctor@latest --verbose --scope changed --base origin/main --blocking warning