saleor-dashboard-loading
Skill1.1k starsChanged 8 days agoBSD-3-ClauseView on GitHub
Geist-aligned loading, skeleton, and empty-state rules for Saleor Dashboard entity views. Use when adding loading shells, Skeleton placeholders, spinners, empty states, or fixing flashes of default/form UI before async data resolves. Covers page-level gates vs in-card skeletons, aria-busy, and anti-patterns (fake selected defaults).
Trending
Less talk lately.about the whole repository
Who's talking about saleor/saleor-dashboard
- saleor/saleor“Unable to update Company info from Dashboard”GitHub · May 31, 2022 · 2 reactions
- saleor/apps“Implement logo field in AppManifest”GitHub · Feb 22, 2023 · 1 reactions
- saleor/saleor“Support for payment transaction actions”GitHub · Aug 11, 2022 · 1 reactions
- saleor/saleor“feat(attribute): add staff-only internalDescription to Attribute”GitHub · Oct 15, 2026
- waelhe/app-java-v3“docs(admin): plan Saleor Dashboard adaptation for marketplace”GitHub · Oct 15, 2026
The biggest 5 of 50 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 50
Talked about on GitHub (50 times).
On GitHub · 50
- May 31, 2022Unable to update Company info from Dashboard — saleor/saleor2 reactions · 3 comments
- Feb 22, 2023Implement logo field in AppManifest — saleor/apps1 reaction · 3 comments
- Aug 11, 2022Support for payment transaction actions — saleor/saleor1 reaction · 27 comments
- Oct 15, 2026feat(attribute): add staff-only internalDescription to Attribute — saleor/saleor0 reactions · 1 comment
- Oct 15, 2026docs(admin): plan Saleor Dashboard adaptation for marketplace — waelhe/app-java-v30 reactions · 3 comments
45 more on GitHub
- Jul 31, 2026feat(avatax): add tax code action to Dashboard command palette — saleor/apps0 reactions · 5 comments
- Jul 13, 2026Add reason for price override — saleor/saleor0 reactions · 1 comment
- Jul 8, 2026Improved Gift Card APIs — saleor/saleor0 reactions · 1 comment
- Jun 9, 2026[Feature] Support pasting boolean values in other that English — WillSmithTE/saleor-saleor-dashboard0 reactions · 1 comment
- Jun 9, 2026Fix Background task provider tests — WillSmithTE/saleor-saleor-dashboard0 reactions
- Jun 9, 2026Missing filter when calling exportGiftCards mutation for selected giftcards — WillSmithTE/saleor-saleor-dashboard0 reactions
- Jun 9, 2026Variant view, no scroll on warehouse list and only first 50 warehouses displayed for the user — WillSmithTE/saleor-saleor-dashboard0 reactions
- Jun 9, 2026[Bug]: `requestPasswordReset` mutation returns incorrect error when user is not staff user — WillSmithTE/saleor-saleor-dashboard0 reactions
- Jun 9, 2026Missed info about no access to the channels — WillSmithTE/saleor-saleor-dashboard0 reactions
- Jun 9, 2026 `create order` button should be disabled in case of no permissions — WillSmithTE/saleor-saleor-dashboard0 reactions
- Jun 9, 2026User can create group with permission from plugin but cannot assign members via UI — WillSmithTE/saleor-saleor-dashboard0 reactions
- Jun 9, 2026[Enhancement]: Misleading UI when charge is pending — WillSmithTE/saleor-saleor-dashboard0 reactions · 1 comment
- Jun 9, 2026[Bug]: Modal leave without saving after logout — WillSmithTE/saleor-saleor-dashboard0 reactions
- Jun 9, 2026[Feature]: Change navigation structure — WillSmithTE/saleor-saleor-dashboard0 reactions
- Jun 9, 2026[Bug]: Only first 50 warehouses are loaded in the grid — WillSmithTE/saleor-saleor-dashboard0 reactions
- Jun 9, 2026[Bug]: Weight rate create - not consistent error messages — WillSmithTE/saleor-saleor-dashboard0 reactions
- Jun 9, 2026[Bug]: Price rate and weight base availability button inactive — WillSmithTE/saleor-saleor-dashboard0 reactions
- Jun 9, 2026[Bug]: Changing attribute value on product triggers SKU fail — WillSmithTE/saleor-saleor-dashboard0 reactions
- Jun 9, 2026[Bug]: Restrict order weight in shipping method not saved — WillSmithTE/saleor-saleor-dashboard0 reactions
- Jun 9, 2026[Bug]: Datagrids jump to end when resizing column — WillSmithTE/saleor-saleor-dashboard0 reactions
- Jun 9, 2026Enable refunding specific product lines — WillSmithTE/saleor-saleor-dashboard0 reactions · 1 comment
- Jun 9, 2026[Bug]: Deleting variant attribute changes variant name — WillSmithTE/saleor-saleor-dashboard0 reactions · 1 comment
- Jun 9, 2026[Bug]: Column picker refinement — WillSmithTE/saleor-saleor-dashboard0 reactions
- Jun 9, 2026No information about required fields in product variant form — WillSmithTE/saleor-saleor-dashboard0 reactions
- Jun 9, 2026Error handling in product variant page - user can delete required field and still be able to save - then success banner shows up followed by error banner — WillSmithTE/saleor-saleor-dashboard0 reactions
- Jun 9, 2026[Bug]: Remove add product — WillSmithTE/saleor-saleor-dashboard0 reactions · 1 comment
- Jun 9, 2026[Bug]: Not all attributes are validated — WillSmithTE/saleor-saleor-dashboard0 reactions · 1 comment
- Jun 9, 2026[Bug]: Error label misplaced — WillSmithTE/saleor-saleor-dashboard0 reactions
- Jun 9, 2026[Bug]: Error messages missmatch — WillSmithTE/saleor-saleor-dashboard0 reactions
- Jun 9, 2026[Epic]: Improve UX flow for order refunds using Transactions API — WillSmithTE/saleor-saleor-dashboard0 reactions
- Jun 9, 2026[Bug]: Can not refund fulfilled order — WillSmithTE/saleor-saleor-dashboard0 reactions · 1 comment
- Jun 9, 2026[Bug]: Incorrect background in label cell — WillSmithTE/saleor-saleor-dashboard0 reactions
- Jun 9, 2026[Bug]: City and Postal code is getting cleared while modifying and saving the country field and country area in warehouse modification — WillSmithTE/saleor-saleor-dashboard0 reactions · 1 comment
- Jun 9, 2026[Bug]:Error displayed while selecting Category name header checkbox and click pagination in category Listing Page — WillSmithTE/saleor-saleor-dashboard0 reactions · 1 comment
- Jun 9, 2026[Bug]: dashboard not using all settings field in query (Can't set limitQuantityPerCheckout) — WillSmithTE/saleor-saleor-dashboard0 reactions · 1 comment
- Jun 3, 2026Add support for editorJS table syntax — saleor/saleor0 reactions · 1 comment
- May 5, 2026HOMEPAGE_WIDGETS types for manifest — saleor/app-sdk0 reactions · 2 comments
- Mar 25, 2026Fix LSP not loading `.js` and `.ts` files correctly — graphql/graphiql0 reactions · 5 comments
- Mar 13, 2026Add proper gift card events when gift card is used as a payment method — saleor/saleor0 reactions · 1 comment
- Mar 12, 2026Fix smoke tests - add prefix for artifact upload — saleor/apps0 reactions · 3 comments
- Mar 6, 2026Introduce password login mode — saleor/saleor0 reactions · 2 comments
- Mar 5, 2026Add SaleorGiftcardPaymentMethodDetails to transaction — saleor/saleor0 reactions · 2 comments
- Feb 25, 2026Fix failing smoke tests workflow — saleor/apps0 reactions · 3 comments
- Feb 13, 2026document payment method details in dashboard — saleor/saleor-docs0 reactions · 1 comment
- Feb 10, 2026Refund reasons phase 2 (POC) — saleor/saleor0 reactions · 1 comment
In this repository15 other files it gives its agents.
- AGENTS.mdAGENTS.md
- pinactSkill
- saleor-dashboard-cloud-extensionsSkill
- saleor-dashboard-detail-pagesSkill
- saleor-dashboard-entity-detailSkill
- saleor-dashboard-feedbackSkill
- saleor-dashboard-formsSkill
- saleor-dashboard-github-workflowsSkill
- saleor-dashboard-graphql-batchingSkill
- saleor-dashboard-listsSkill
- saleor-dashboard-microcopySkill
- saleor-dashboard-pr-quality-checkSkill
- saleor-dashboard-security-auditSkill
- saleor-dashboard-smooth-shadowSkill
- saleor-dashboard-stylesSkill
The file
We split this skill into the rules it gives an agent
5 rules. About 0 are common, 5 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 33
If the user can see “Entire order” selected for a Free shipping voucher for one frame, the design is wrong — keep the skeleton (or don’t …
- Distinctive: line 47
Never: use Skeleton as decoration or as a stand-in for empty.
- Distinctive: line 56
When the primary entity query is unresolved:
- Distinctive: line 84
After the page has revealed, a sub-list may still load (e.g.
- Distinctive: line 98
Prefer blocks that mirror tiles, inputs, and metric numbers — not one anonymous bar for a three-tile selector.
≈ “Common” is an estimate: at least 1 in 5 of the 372,429 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Saleor Dashboard Loading
How merchants wait for data — without flashing wrong defaults or layout jumps.
Inspired by Geist Skeleton and Vercel product UI
discipline. Implement with macaw-ui-next Skeleton / existing spinners — do not
install Geist packages.
Also see: saleor-dashboard-entity-detail
(page anatomy), saleor-dashboard-feedback
(errors vs loading), saleor-dashboard-styles
(tokens).
Canonical dogfood: voucher details —
VoucherDetailsPageLoading + gate Form until voucher (and first codes settle).
Principle
Loading UI must look like the final layout, not like a guessed answer. Never show a selected radio, filled metric, or form default that will change when data arrives.
If the user can see “Entire order” selected for a Free shipping voucher for one frame, the design is wrong — keep the skeleton (or don’t mount the form) until truth is known.
Pick the right indicator
| Indicator | When | Examples |
| Skeleton | Async data fills a known layout (cards, grids, table rows) | Detail page shell, discount type tiles, lists |
| Spinner | Single in-flight action (button, dialog confirm) | Save, delete, modal submit |
| LoadingDots | Indeterminate inline wait without a fixed box shape | Rare; prefer Skeleton when shape is known |
| EmptyState | Query finished and there is nothing to show | No codes, no channels |
Never use Skeleton as decoration or as a stand-in for empty. When there’s no data after load, render EmptyState.
Page vs region
Page-level shell (entity not loaded)
When the primary entity query is unresolved:
- Render a dedicated
*DetailsPageLoading(or equivalent) that mirrorsDetailPageLayout— TopNav title skeleton, skeleton section-nav labels, card titles/intros (static copy OK on cards), skeleton bodies, disabled Savebar. - Do not mount
Form/ controlled selection UIs untilentityexists. - Remount the form with
key={entity.id}when navigating between entities so invent defaults never leak across IDs.
Card titles/intros may stay visible (stable copy). The section map/nav should be skeletons — labels are part of the unknown layout (optional Countries/Catalogue) and reading real nav while the page is empty is premature chrome.
Anything that encodes entity-specific truth (selected discount type, usage counts, schedule status) must be skeleton or hidden until known.
Shape fidelity checklist (compare shell ↔ loaded UI):
- Skeleton the section map/nav labels (correct item count, including reserved optional slot)
- Reserve header actions that always exist (
+ Add,Manage) as disabled controls - Match list/table chrome (header + row + pagination), not one anonymous bar
- Match variant-specific blocks (e.g. shipping callout vs amount controls)
- Sidebar cards: reuse real card components with
loadingso info callouts / intros stay - Type-dependent nav count: reserve one optional slot only while entity is unknown; once known, pass real visibility (do not keep a fake Countries row for entire-order vouchers)
Region skeleton (secondary query)
After the page has revealed, a sub-list may still load (e.g. voucher codes pagination). Skeleton inside that card only — do not tear down the whole page on refetch.
Optional: on first paint, keep the page shell until the primary secondary query
settles once, so users don’t see “correct form + one skeleton card” flash. Use a
hasRevealedContent flag keyed by entity.id; subsequent refetches use in-card
skeletons only.
Shape & motion (Geist)
- Match final width / height / shape so reveal doesn’t reflow (CLS).
- Prefer blocks that mirror tiles, inputs, and metric numbers — not one anonymous bar for a three-tile selector.
- Skeletons are decorative; wrap the loading region in
aria-busy="true". - No focusable controls inside skeleton regions (no enabled Save, Add, Manage).
- Respect
prefers-reduced-motionwhere we own animation (macaw Skeleton handles common cases; don’t add custom infinite shimmer that ignores it).
Anti-patterns
| Don’t | Do |
Mount Form with ENTIRE_ORDER / 0 used / “Redeemable now” | Gate Form; skeleton metrics and status |
| Show selected choice tiles before data | Skeleton the tile grid |
| Reveal type-dependent nav (catalogue/countries) early | Hide until type known |
| Full-page spinner for a known card grid | Layout-shaped Skeleton |
| Skeleton forever when empty | EmptyState after load |
| Fake progress / invented counts | Skeleton or “—” only if product copy allows |
Checklist (new / refactored detail views)
- Gate — no Form / selection UI until primary entity exists;
key={id}on remount - Shell — loading layout matches final grid (nav + cards + sidebar + savebar)
- No fake truth — no default selected radios, metrics, or schedule status while loading
- Secondary lists — in-card skeleton after reveal; optional first-paint wait
- a11y —
aria-busyon loading regions; controls disabled in shell - Empty ≠ loading — EmptyState only after query settles with zero items
Reference implementation
| Piece | Path |
| Page loading shell | src/discounts/components/VoucherDetailsPage/VoucherDetailsPageLoading.tsx |
| Gate + form key | src/discounts/components/VoucherDetailsPage/VoucherDetailsPage.tsx |
| Section skeletons | VoucherDiscountSection, VoucherInfo, VoucherLimits, … |
| Sidebar metrics while loading | VoucherRedemptionsCard (loading hides used/status copy) |
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

