What problem does it solve?
Saleor Dashboard entity detail pages (products, customers, warehouses, collections) often drift into inconsistent layouts, inline metadata forms, and ad-hoc header actions. This Skill codifies the conventions for building or refactoring those detail views so every entity page follows the same structure.
Core Features & Use Cases
- Detail page layout conventions: Prescribes
DetailPageLayout, DetailPageSectionLayout with DetailSectionNav, and DetailGroupBox foldable sections instead of the legacy Accordion.
- Metadata in header modal: Provides a checklist and reference implementations for moving inline
<Metadata> forms into a TopNav.MetadataButton plus an entity-specific MetadataDialog wired through URL dialog state.
- TopNav action ordering: Defines the standard header action set (metadata button, translations, menu with extensions and delete last) and
actionsGap usage.
- Use Case: When refactoring a customer detail page, follow the checklist to add a
view-metadata URL action, create a CustomerMetadataDialog, remove inline metadata from the update submit, and align the TopNav buttons.
Quick Start
Ask the assistant to refactor a Saleor Dashboard entity detail page to move its metadata into a header modal following this skill's checklist.