Repository navigation
Description
Adds a Dev Mode inspect experience so developers can review existing annotations.
Features:
- added a Dev Mode inspect experience, with a dashboard of annotated pages and previous/next step navigation
- added implement and test guidance from existing annotations (web and native); Color blindness is skipped in inspect
- added developer-focused step tips while keeping Design Mode playbook links
- scans other Figma pages in Dev Mode so annotations are not limited to the current page
- dashboard grid reflows as the Dev Mode panel is resized
Bug fixes:
- guard document writes in read-only Dev Mode (annotation key migration, designer checks, layer visibility) so opening inspect no longer throws
- fix contrast sampling using the wrong corner of a text node
- check native touch targets against the native minimum size
- fix collapsed step tip layout
- fix Dev Mode step footer scrolling out of view
- clicking a focus group in Dev Mode now zooms to and selects the Group Area layer
- tightened inspect copy across annotation steps
Open source code:
- updated manifest to use
editorType: ["figma", "dev"]withcapabilities: ["inspect"] - centralized plugin constants (sizes, WCAG values, loading timeouts)
- added an
<ErrorBoundary />fallback - ignore non-plugin iframe window messages so listeners do not crash
- added prettier format scripts and a combined
lint:allcommand