From 56e85d645e9ee1ed00b2c5142efa1c9d771757cc Mon Sep 17 00:00:00 2001 From: os-zhuang Date: Fri, 3 Jul 2026 19:52:09 +0800 Subject: [PATCH] docs: the compactLayout alias is retired, not accepted (#2536 follow-up) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Two guides still taught 'formerly compactLayout, accepted as an alias' — true during the ADR-0085 deprecation window, false since #2539: create() now rejects the old spelling. AI authors copy docs verbatim, so a doc teaching a retired-but-'accepted' key is a 422 generator. Co-Authored-By: Claude Fable 5 --- content/docs/guides/data-modeling.mdx | 2 +- content/docs/guides/metadata/object.mdx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/content/docs/guides/data-modeling.mdx b/content/docs/guides/data-modeling.mdx index 1f3be71e17..cd101ea80b 100644 --- a/content/docs/guides/data-modeling.mdx +++ b/content/docs/guides/data-modeling.mdx @@ -67,7 +67,7 @@ export const MyObject = ObjectSchema.create({ | `icon` | string | Icon identifier | `'building'` | | `description` | string | Help text | `'Companies...'` | | `titleFormat` | string | Record title template (`{{record.field}}` interpolation) | `'{{record.name}} - {{record.id}}'` | -| `highlightFields` | string[] | Most-important fields, in priority order (default columns, cards, previews, detail highlight strip; ADR-0085 — formerly `compactLayout`, still accepted as an alias) | `['name', 'status']` | +| `highlightFields` | string[] | Most-important fields, in priority order (default columns, cards, previews, detail highlight strip; ADR-0085 — formerly `compactLayout`; the old spelling was retired and is now rejected) | `['name', 'status']` | ### Enable Features diff --git a/content/docs/guides/metadata/object.mdx b/content/docs/guides/metadata/object.mdx index a7e5ef8395..b395132424 100644 --- a/content/docs/guides/metadata/object.mdx +++ b/content/docs/guides/metadata/object.mdx @@ -68,7 +68,7 @@ export const Account = ObjectSchema.create({ | :--- | :--- | :--- | :--- | | `displayNameField` | `string` | optional | Field used as record display name (defaults to `'name'`) | | `titleFormat` | `string` | optional | Title expression (e.g. `'{name} - {code}'`) | -| `highlightFields` | `string[]` | optional | Most-important fields in priority order — default list columns, cards, previews, detail highlight strip (ADR-0085; formerly `compactLayout`, accepted as an alias) | +| `highlightFields` | `string[]` | optional | Most-important fields in priority order — default list columns, cards, previews, detail highlight strip (ADR-0085; formerly `compactLayout` — the old spelling was retired and is now rejected) | | `stageField` | `string \| false` | optional | Linear lifecycle field; `false` declares the status field non-linear and suppresses stage heuristics (ADR-0085) | | `recordName` | `object` | optional | Record name auto-generation config |