Instatic icon indicating copy to clipboard operation
Instatic copied to clipboard

fix(editor): replace hidden layer badge with eye-off icon

Open DavidBabinec opened this issue 5 months ago • 0 comments

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.tsx
  • bun run lint
  • bun run build
  • bun test
  • npx react-doctor@latest --verbose --scope changed --base origin/main --blocking warning

DavidBabinec avatar Jul 01 '26 19:07 DavidBabinec