Skip to content

Add campaign diff panel#1050

Open
Errordog2 wants to merge 1 commit into
Stellar-Mail:mainfrom
Errordog2:codex/campaign-diff-panel-274
Open

Add campaign diff panel#1050
Errordog2 wants to merge 1 commit into
Stellar-Mail:mainfrom
Errordog2:codex/campaign-diff-panel-274

Conversation

@Errordog2

Copy link
Copy Markdown

Summary

  • add a pure campaignDiff helper for comparing campaign snapshot metadata, tags, and draft inventories
  • add a dashboard-only CampaignDiffPanel that surfaces added, removed, changed, and unchanged items
  • cover identical snapshots, metadata edits, tag churn, and draft add/remove/change cases with focused tests

Closes #274

Validation

px prettier --check src/features/demo-admin-dashboard/campaignDiff.ts src/features/demo-admin-dashboard/components/CampaignDiffPanel.tsx src/features/demo-admin-dashboard/tests/campaignDiff.test.ts src/features/demo-admin-dashboard/index.ts

  • git diff --check
  • sensitive scan for payment/account/private-key markers returned no matches

px vitest run src/features/demo-admin-dashboard/tests/campaignDiff.test.ts could not start locally because this fresh checkout is missing the Vite config packages (@cloudflare/vite-plugin, @tailwindcss/vite, @tanstack/react-start/plugin/vite, @vitejs/plugin-react, �ite, �ite-tsconfig-paths)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add campaign diff panel

1 participant