Commit 058ebfc
feat(spec): add userActions.editInline toggle for inline record editing
Inline cell editing is a first-class, author-controlled list property, but
UserActionsConfigSchema (the shared toggle set behind both a view's toolbar
and a page's interfaceConfig.userActions) had no field for it — so the
metadata-admin "Interface (list pages)" panel, which auto-renders these
booleans as checkboxes, couldn't expose it. The runtime already honors it
(objectui InterfaceListPage reads userActions.editInline -> inlineEdit).
Add `editInline: boolean` (default false — a list is read-only unless the
author opts in), sitting alongside `addRecordForm`. When on, cells edit with
the field's type-aware widget (the same control the form uses).
view.test.ts: assert the default (false) and the accepted (true) value.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent 1c11473 commit 058ebfc
2 files changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2051 | 2051 | | |
2052 | 2052 | | |
2053 | 2053 | | |
| 2054 | + | |
2054 | 2055 | | |
2055 | 2056 | | |
2056 | 2057 | | |
| |||
2061 | 2062 | | |
2062 | 2063 | | |
2063 | 2064 | | |
| 2065 | + | |
2064 | 2066 | | |
2065 | 2067 | | |
2066 | 2068 | | |
2067 | 2069 | | |
2068 | 2070 | | |
| 2071 | + | |
2069 | 2072 | | |
2070 | 2073 | | |
2071 | 2074 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
241 | 241 | | |
242 | 242 | | |
243 | 243 | | |
| 244 | + | |
244 | 245 | | |
245 | 246 | | |
246 | 247 | | |
| |||
0 commit comments