Added template reports - #35
Open
kevinmeijer97 wants to merge 6 commits into
Open
Conversation
kevinmeijer97
marked this pull request as ready for review
August 6, 2026 07:16
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.
It's now possible to generate reports for the created structured data templates.
This adds a new page in the CP on
/cp/justbetter/structured-data/reports.This page lists report runs for the selected site. From here you can generate a new report.
Each row shows created date, status, coverage %, completeness %, and error/warning counts, with a link to open that report.
The report detail shows the health of that run at a glance:

It shows a doughnut with overall grade (Good / Fair / Bad) based on items without errors.
It also shows the coverage %, this % is based on how many published items that should get an automatic template actually have that template assigned.
It also shows the completeness %, this % is based on how many items that already have a template assigned resolve without empty fields.
Warnings and errors are shown grouped by their assigned blueprint type (Entry, Term or Runway Model).

Then an issues table (With errors & warnings tabs) lists each problem with the item, template, schema, and field, plus actions to open the Schema Markup Validator or copy JSON-LD.

