Modules Documentation
Status & badge logic
How statuses transition and what badges render.
Complete
Articles do NOT carry a workflow status field in the published entity (publish-time decisions are stored in the editorial pipeline, not the entity). The visible badges are content-derived: type eyebrow, featured chip, practical chip.
Visible badges on Editorial cards
- Type eyebrow (always)
- Uppercase mono token (11px, 0.10em tracking). Format: "ANALYSIS" / "تحليل". Color: primary purple at 80% opacity.
- Featured chip (conditional)
- Renders when `isFeatured = true`. Orange (.chip-orange). Top-right of card. Limited to ~10% of articles.
- Topic chip (always)
- `.chip-primary` showing the editorial topic. Drives taxonomy-based discovery.
Type → JSON-LD @type mapping
- news → NewsArticle — News-type articles emit `NewsArticle` schema. Drives Google News eligibility and richer SERP treatment.
- analysis / commentary / interview / profile / guide → Article — All other types emit `Article`. Same fields, different SERP treatment.
