Skip to content

[Auto-QA] Cards missing demo data support #21285

Description

@clubanderson

Auto-QA [Demo Mode]: Demo Data Coverage

Detected: 2026-07-19T14:00:41.305Z | Focus: Demo Mode | Commit: 294a689 | Run: View

Findings

### Cards without demo data support
Add demo data for offline/demo mode:
  - `CardActionMenu.tsx` (435 lines) — no demo data support
  - `PendingSwapNotification.tsx` (81 lines) — no demo data support
  - `InfoTooltip.tsx` (159 lines) — no demo data support


### Cards with loading state but no Skeleton component
Use Skeleton for consistent loading UX:
  - `GitHubActivityItems.tsx`
  - `CardActionMenu.tsx`
  - `PendingSwapNotification.tsx`
  - `InfoTooltip.tsx`
  - `InstallCTAFlow.tsx`


### Stat blocks without demo data (9 files)

ClusterZone.tsx
AddCardModal.tsx
CardCatalogSection.tsx
DashboardCustomizer.tsx
StatsConfig.tsx
StatBlockModePicker.tsx
Skeleton.stories.tsx
Skeleton.tsx
StatsConfig.tsx

Suggested Improvements

  • Cards using useCached* hooks already have demo data via the demoData: parameter in useCache()
  • Cards using isDemoFallback/isDemoData from hooks are already covered
  • For new cards: use useCached* hooks or pass demoData to useCache()
  • Games and pure UI components (modals, animations) do not need demo data
  • Test with localStorage.setItem("kc-demo-mode", "true")

PR Guidance: Keep PRs small and focused. Smaller PRs have higher acceptance rates.


This issue was automatically created by the Auto-QA workflow during Demo Mode focus day.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions