Skip to content

feat(content): publish qualified reviewers on regulated pages - #1916

Merged
gkhngyk merged 21 commits into
ansvisor:mainfrom
knockknock10:feature/content-editor-reviewed-by
Nov 1, 2026
Merged

gkhngyk merged 21 commits into
ansvisor:mainfrom
knockknock10:feature/content-editor-reviewed-by

Conversation

@knockknock10

Copy link
Copy Markdown
Contributor

Summary

This PR implements the CE-049 follow-up so that a qualified reviewer selected for a regulated page is carried into its publishing metadata separately from its author.

  • Carries the saved reviewer through Content Library reads, single-page and bulk CMS sends, and MCP content packages.
  • Adds a qualified-reviewer check to Before you publish for regulated pages.
  • Adds schema.org WebPage.reviewedBy as a Person, keeping reviewer attribution separate from the Article author.
  • Adds Reviewed by to Copy and Export metadata, including Markdown, HTML, Word, CSV and Excel.
  • Passes reviewer metadata through optional mapped fields in Webflow and Framer, and as SEO metadata in Wix.
  • Updates the Content Editor Quality and Send to CMS Help articles.

WordPress limitation: The current adapter does not support configurable custom post-meta mapping and strips JSON-LD. Therefore, WordPress reviewer publication is not claimed by this PR. It requires a registered REST-visible custom post-meta field and a corresponding connection mapping. The WordPress author field is not reused for reviewer attribution.

How to test

From web/:

yarn lint
yarn typecheck
yarn format:check
yarn test
yarn build

From server/:

npm run lint
npm run format:check
npm run test

Regression tests have been added for reviewer propagation, regulated-page checks, structured data, exports, CMS field mapping, and clearing mapped reviewer fields when no reviewer is selected.

These commands have not been run locally. CI should validate them.

Screenshots: Not attached. The application was not run in this environment, so no genuine UI screenshots were captured.

Related issue

Closes #1486

Type of change

  • feat — New feature
  • fix — Bug fix
  • chore — Maintenance / dependencies
  • docs — Documentation only
  • refactor — Code change that neither fixes a bug nor adds a feature
  • test — Adding or updating tests

Checklist

@knockknock10
knockknock10 marked this pull request as ready for review November 1, 2026 04:17
Copilot AI balanced review requested due to automatic review settings November 1, 2026 04:17

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.

@knockknock10
knockknock10 force-pushed the feature/content-editor-reviewed-by branch from f11e74c to e89725b Compare November 1, 2026 04:57
@knockknock10
knockknock10 force-pushed the feature/content-editor-reviewed-by branch from 6fccbfa to 2372359 Compare November 1, 2026 05:12
@knockknock10

Copy link
Copy Markdown
Contributor Author

@gkhngyk The follow-up you asked to track in #1486 is now implemented in #1916.

I went through all four points from your review on #1476:

  1. CMS: Reviewer information is propagated separately from the author. Webflow and Framer support optional mapped reviewer fields, and Wix receives reviewer information as SEO metadata. I've documented the current WordPress adapter limitation rather than reusing its author field or claiming unsupported functionality.

  2. Copy / Export / Send to CMS: Reviewed by is included alongside the author in Markdown, HTML, Word, CSV and Excel exports, and in the Send to CMS dialog.

  3. Before you publish: The regulated-page check verifies both that a reviewer is selected and that their name actually appears in the visible page content.

  4. Schema: reviewedBy is represented as a schema.org Person on the WebPage node, separately from the Article author.

The relevant regression tests and Help article updates are included as well.

The latest commit is 3198690d. I checked the GitHub Actions run, and all three jobs are green: schema consistency, web (including TypeScript, Vitest and production build), and server (lint, formatting and tests).

Could you please take a look at the implementation and let me know whether anything needs changing?

Thanks!

…heet

A CMS import that maps the columns by position still finds Featured image,
Characters, Content and HTML where they were.
The page's text ran its blocks together, so a reviewer line followed by a
paragraph ("Dr. Grace Hopper</p><p>Coffee") or after a heading didn't
count as naming them.
With Quality off the editor read the authors for a saved reviewer and gave
every quick export a page-fields table, so each Markdown, Word and HTML
file changed shape, reviewer or not. The Library and Chat sends read no
authors then, and the reviewer can't be seen or changed without Quality:
the editor now does the same, and its quick export no longer keeps a second
copy of Export's fields.
…ore you publish opens

reviewerJsonLd gives WebPage.reviewedBy only once the page's text names the
reviewer. Copy HTML, Export, Send to CMS (one page or a bulk send) and the
code Before you publish shows all use it, so what ships is what was shown:
before, Copy, Export and Send added it for any picked reviewer while Before
you publish showed it on regulated pages only, named or not.

Before you publish now reads it from the page as it was when it opened,
instead of the editor serialising and scanning the whole page on every
render (each keystroke).

@gkhngyk gkhngyk left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this. Approving, with 4 commits on top (3de174d), pushed to this branch:

  • Reviewed by goes last in the CSV and Excel sheet. It was inserted after Author, which moved Featured image, Characters, Content and HTML for anyone importing by column position.
  • The reviewer's name is found at a block's start or end. The page text ran blocks together, so "Reviewed by Dr. Grace Hopper" followed by another paragraph, or a name right after a heading, didn't count as named.
  • Copy and Export with Quality off work as before. The editor read the authors for a saved reviewer and gave every quick export a page-fields table, so all Quality-off Markdown, Word and HTML files changed shape, with or without a reviewer. The Library and Chat sends read no authors when Quality is off, and the reviewer can't be seen or changed then, so the editor now behaves the same way. This also removes the second copy of Export's fields.
  • One rule for the WebPage reviewedBy node. A new reviewerJsonLd helper adds the node only when the page text names the reviewer. Copy HTML, Export, Send to CMS (single and bulk, so MCP and the CMS adapters too) and the code Before you publish shows all use it. Before, Copy, Export and Send added the node for any picked reviewer, while Before you publish showed it only on regulated pages, whether or not the page named them. Before you publish now checks the page as it was when the dialog opened. Previously the editor serialised and scanned the whole page on every render.

Each fix has a test that fails without it. The Quality help article and its approved-articles snapshot are updated to match.

@gkhngyk
gkhngyk merged commit f4df613 into ansvisor:main Nov 1, 2026
5 checks passed
@knockknock10
knockknock10 deleted the feature/content-editor-reviewed-by branch November 1, 2026 16:15
gkhngyk pushed a commit that referenced this pull request Nov 2, 2026
…iewer (#1964)

The MCP tools changed in #1920, #1927 and #1916; the skills and the MCP
guide still described the old answers.

- get_ai_traffic / GET /ai-traffic: `tracking` (not_detected,
  installed_quiet, active); a 0 with not_detected means nothing is
  measured yet. Coach skills (MCP + REST), mcp-server.mdx and
  api-reference/metrics.mdx (GET /api/v1/ai-traffic returns it too).
- run_site_audit / POST /site-audits: a running page's audit comes back
  with alreadyRunning and no credit; a page audited in the last 10 minutes
  returns recently_audited and starts nothing unless force. Coach skills,
  audit-fix (Chat) and mcp-server.mdx; library.json refreshed.
- get_content_draft_package: the qualified reviewer (reviewer) and its
  WebPage reviewedBy JSON-LD once the page names them. mcp-server.mdx.

Co-authored-by: Cihan <[email protected]>
Co-authored-by: Claude Opus 5.5 <[email protected]>
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.

Content Editor: show a regulated page's qualified reviewer on the live page (CE-049 follow-up)

3 participants