Issue 493
payload-cms guideline: list topIssues and the link() field's new path
Back to our planDone
documentationcmspriority: low
Type
documentation
Problem
#489 adds the topIssues page-builder block (from news) and moves the shared link() field helper from src/modules/site/cms/link.ts to src/platform/payload/link.ts. Two lines in docs/guidelines/payload-cms.md no longer match the code: the list of page-builder blocks, and the Fields bullet that gives link()'s path. It's a policy file, so #489 didn't edit it. The review of #489 asked for this issue (Minor 2).
Proposed fix
Facts only, with no rule changes:
- In Blocks, the list of page-builder blocks adds
topIssues(fromnews), and namesformBlockas coming fromcontact. - In Fields, the first bullet points to
src/platform/payload/link.tsand says any module's blocks may use it (appearances: falseanddisableLabel: trueleave those two out).
Acceptance criteria
- The guideline's block list matches the Pages layout pinned in
src/payload.config.test.ts. - The
link()path is correct. - No rule wording changes.
Area
cms
Priority
low
Generated by Claude Code, opens in a new tab