You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(spec): ADR-0047 — list pages hide region/data-context, interface section prominent
Page form (page.form.ts) reorg so interface/list pages get a lean,
relevant panel instead of the generic page-form dump:
• Data Context + Layout sections gain visibleOn data.type != 'list'
(region designer / page object don't apply to a list surface)
• Interface section: collapsed:false (primary content), name for i18n
• interfaceConfig sub-fields reordered (common first, rare last);
source gets the ref:object picker; sourceView/userActions/etc. helpText
• type field helpText notes 'list' = interface page
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
description: 'Page regions and components placed within them.',
42
+
// List pages render a curated list surface, not free-form regions —
43
+
// the region designer is irrelevant here, so hide it for list pages.
44
+
visibleOn: "data.type != 'list'",
38
45
fields: [
39
46
{field: 'regions',type: 'repeater',required: true,helpText: 'Layout regions (header, main, sidebar, footer) with components'},
40
47
],
41
48
},
42
49
{
50
+
name: 'interface',
43
51
label: 'Interface (list pages)',
44
52
description: 'ADR-0047 interface mode: bind a source view and curate the end-user surface — quick filters, locked visualizations, toolbar actions (Airtable Interfaces parity).',
45
53
collapsible: true,
46
-
collapsed: true,
54
+
// Primary content for a list page — open by default (still collapsible).
55
+
collapsed: false,
47
56
visibleOn: "data.type == 'list'",
48
57
fields: [
49
58
{
50
59
field: 'interfaceConfig',
51
60
type: 'composite',
52
61
helpText:
53
62
'source/sourceView bind the object view (columns, base filter and sort are inherited — the iron rule); appearance.allowedVisualizations whitelists renderers (one entry = locked); userActions toggles the toolbar.',
63
+
// Order: common authoring controls first, rarely-used ones last.
54
64
// Explicit sub-fields so `userFilters` can use the dedicated
0 commit comments