@simmalugnt-se/payload-content-health 0.10.0 → 0.10.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +5 -0
- package/dist/assistant.js +2 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/dist/assistant.js
CHANGED
|
@@ -47,8 +47,8 @@ export function assistantExtension({ scan: run = scanContentHealth, } = {}) {
|
|
|
47
47
|
id: EXTENSION_ID,
|
|
48
48
|
instructions: [
|
|
49
49
|
"Content health checks the site's content: SEO (meta titles, descriptions, share images, duplicates), structure (H1, heading levels, thin content, broken internal links, also in the header and footer, and pages nothing links to), translations (fields empty in a language) and accessibility (image alt texts).",
|
|
50
|
-
"When the editor asks what needs work, how the site or a page is doing, or what to fix first, call content-health.findings and answer from it, naming pages and problems.
|
|
51
|
-
'Each finding says how it is fixed: "batch" (many documents at once from the work list), "assistant" (on the document, with you) or "by hand". To start fixing, call content-health.open: with batch true for a batch check, else the work list. It takes the editor there; they start the fix and review each change themselves. Say where they are now ("The 9 missing alt texts are open; Fix 9 with the assistant starts them.")
|
|
50
|
+
"When the editor asks what needs work, how the site or a page is doing, or what to fix first, call content-health.findings and answer from it, naming pages and problems.",
|
|
51
|
+
'Each finding says how it is fixed: "batch" (many documents at once from the work list), "assistant" (on the document, with you) or "by hand". To start fixing, call content-health.open: with batch true for a batch check, else the work list. It takes the editor there; they start the fix and review each change themselves. Say where they are now ("The 9 missing alt texts are open; Fix 9 with the assistant starts them."). Do not propose changes yourself for findings outside the open document. Do not mention findings the tool left out unless the editor asks for more.',
|
|
52
52
|
].join(" "),
|
|
53
53
|
views: [
|
|
54
54
|
{
|
package/package.json
CHANGED