Skip to content

Commit 565e223

Browse files
os-zhuangclaude
andauthored
fix: drop removed ObjectSchema detail block (ADR-0085) (#423)
framework ADR-0085 removed the per-surface `detail` UI-hints block from ObjectSchema — presentation intent now lives in cross-surface semantic roles (nameField / compactLayout→highlightFields / stageField / fieldGroups). `detail.hideReferenceRail` was a no-op here anyway: the Reference Rail is OFF by default and the only key that could enable it was never spec-typed, so these pages were already single-column without the flag. Removing the block changes no rendered behavior; it only restores typecheck against the new spec. Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
1 parent b6b57bb commit 565e223

2 files changed

Lines changed: 0 additions & 14 deletions

File tree

src/objects/product.object.ts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,6 @@ export const Product = ObjectSchema.create({
1919
nameField: 'display_title',
2020
compactLayout: ['product_code', 'name', 'category', 'is_active'],
2121

22-
// Product detail pages are catalog-style — users edit attributes in
23-
// place, they don't browse lateral relationships. Suppress the
24-
// Reference Rail so the single-column form gets full width.
25-
detail: {
26-
hideReferenceRail: true,
27-
},
28-
2922
fieldGroups: [
3023
{ key: 'basic', label: 'Product Information', icon: 'info' },
3124
{ key: 'pricing', label: 'Pricing & Billing', icon: 'dollar-sign' },

src/objects/task.object.ts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,6 @@ export const Task = ObjectSchema.create({
1010
icon: 'check-square',
1111
description: 'Activities and to-do items',
1212

13-
// Tasks are atomic action items, not Hub objects. Keep the detail
14-
// page single-column so the assignment + due-date + completion flow
15-
// dominates instead of being shoulder-bumped by a related-list rail.
16-
detail: {
17-
hideReferenceRail: true,
18-
},
19-
2013
fields: {
2114
// Task Information
2215
subject: Field.text({

0 commit comments

Comments
 (0)