Skip to content

feat(demo-admin-dashboard): campaign taxonomy types, fixtures, and docs#1246

Open
Darkdante9 wants to merge 1 commit into
Stellar-Mail:mainfrom
Darkdante9:feat/campaign-taxonomy-252
Open

feat(demo-admin-dashboard): campaign taxonomy types, fixtures, and docs#1246
Darkdante9 wants to merge 1 commit into
Stellar-Mail:mainfrom
Darkdante9:feat/campaign-taxonomy-252

Conversation

@Darkdante9

Copy link
Copy Markdown

Summary

  • Adds CampaignGroup, CampaignRecord, CampaignMessageLink, and CampaignRelationshipMap types under types/campaignTaxonomy.ts
  • Adds deterministic fixtures covering 4 campaign groups, 7 campaign records across 5 audience segments, and 8 message links in fixtures/campaignTaxonomyFixtures.ts
  • Adds 17 relationship-integrity tests in __tests__/campaignTaxonomy.test.ts (all passing)
  • Adds docs/CAMPAIGN_TAXONOMY.md with entity model, field tables, and an example relationship tree
  • Exports all new types and fixtures from index.ts

All data is fake, deterministic, and safe for public review. No files outside src/features/demo-admin-dashboard/ were changed.

Test plan

  • npx vitest run src/features/demo-admin-dashboard/__tests__/campaignTaxonomy.test.ts — 17/17 pass
  • No modifications to inbox, reader, calendar, sender policy, protocol, or API files

Closes #252

…d docs (Stellar-Mail#252)

Defines how campaign records, campaign groups, audiences, and demo messages
relate inside the demo admin dashboard. Adds CampaignGroup, CampaignRecord,
CampaignMessageLink, and CampaignRelationshipMap types; deterministic fixtures
covering five audience segments across four campaign groups; 17 relationship
integrity tests; and a CAMPAIGN_TAXONOMY.md reference doc.
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.

Build campaign dataset taxonomy for demo admin

1 participant