Skip to content

feat(editorial): preview and apply curated post reclassification without losing legacy categories - #117

Merged
EagleFox31 merged 3 commits into
mainfrom
feat/insight-curated-post-reclassification-20261012
Oct 12, 2026
Merged

EagleFox31 merged 3 commits into
mainfrom
feat/insight-curated-post-reclassification-20261012

Conversation

@EagleFox31

@EagleFox31 EagleFox31 commented Oct 12, 2026 •

Copy link
Copy Markdown
Owner

What

  • Reviewed canonical primary rubric for all 21 live Payload documents: 18 published + 3 drafts, verified directly in the production Neon branch.
  • New canonical rubric is first in categories; every legacy category ID is preserved as a secondary relationship.
  • One authenticated Payload admin interface: Preview reclassification then Confirm. No production edits occur until a logged-in editor clicks Confirm. Never writes from GET/build. No direct SQL or bypassed CMS hooks.
  • Optimistic updatedAt check before each write; skips concurrent editorial changes and unknown posts.
  • No modification of article body, locale text, publication status, slug, publication date or citations. Old category IDs stay attached as secondary associations, while canonical primary category exclusively controls public rubric listings. Allows drafts to remain drafts.
  • Re-runnable; already-classified records skip automatically. No migration or new DB tables.
  • Tests guard mapping, alias preservation and idempotency, and committed admin import map.

Validation

  • CI lint/typecheck/unit tests
  • Vercel preview READY; verify Payload sidebar.
  • Inspect live Payload preview plan before applying to production; expect 21 eligible records before changes.
  • Confirm number of published and draft documents unchanged.
  • After applying, verify FC 27 → Gaming, Whisp → Made in Africa, Driivio remains draft, finance vs technology, canonical URL unchanged.
  • Follow up separately on untranslated Whisp EN (issue [Editorial i18n] Correct French-language content exposed in English article routes #114); no made-up English content.

Connected to existing rubric PR #111 and editorial follow-up #112.

@vercel

vercel Bot commented Oct 12, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
trigenys-insight Ready Ready Preview Oct 12, 2026 7:56am UTC

@EagleFox31
EagleFox31 marked this pull request as ready for review October 12, 2026 07:56
@EagleFox31
EagleFox31 merged commit 1386390 into main Oct 12, 2026
3 checks passed

This branch was successfully deployed

1 active deployment
Preview — c5d46ddd Deployed Oct 12, 2026 by vercel[bot]
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.

1 participant