feat(demo-admin-dashboard): Campaign status, tags, and audience display tokens#306
Open
Agbasimere wants to merge 4 commits into
Open
feat(demo-admin-dashboard): Campaign status, tags, and audience display tokens#306Agbasimere wants to merge 4 commits into
Agbasimere wants to merge 4 commits into
Conversation
…onfirmation support Confined changes entirely under src/features/demo-admin-dashboard/. Added CampaignSnapshots UI component, fixtures, storage persistence helpers, and automated unit tests. Resolved pre-existing merge conflict markers.
…erence docs Defined folder-local display tokens for campaign status, tag colors, and target audience badges. Integrated styled badges in snapshots view, added dropdown status select on form, and implemented interactive documentation panel. Added unit tests.
Collaborator
|
Fix conflict |
92be360 to
164bbaf
Compare
Author
|
@kryputh Resolved. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Labels
demo-admin-dashboard,demo-data,CampaignCloses #300
Description
This PR implements Campaign Display Tokens for the Demo Admin Dashboard initiative (Campaign issue 49 of 50). It establishes local display tokens mapping campaign statuses, tag categories, and target audiences to consistent Tailwind CSS color schemes, complete with code lookup helpers, form selection, dynamic badge rendering, and an interactive reference panel.
Scope & Constraints
src/features/demo-admin-dashboard/.src/features/demo-admin-dashboard/were modified.Deliverables & Key Changes
constants/displayTokens.tsmapping status values (active,draft,needs-review,archived), tags, and audience fields to styling tokens.statusto theCampaignSnapshottype and updated preloaded fixtures to leverage status codings.README.mdto document the campaign display tokens styling rules.__tests__/displayTokens.test.tsto verify lookup behavior, case insensitivity, and defaults. All 42 folder tests pass.Testing Checklist
npx vitest run src/features/demo-admin-dashboard/__tests__/npx prettier --check src/features/demo-admin-dashboard/npx eslint src/features/demo-admin-dashboard/npm run build