Commit 253b996
feat(spec): page form filter-mode widget + ADR-0047 §3.4a (omit-is-none) (#1812)
* feat(spec): page form uses filter-mode widget for userFilters + ADR-0047 §3.4a
page.form.ts: the Interface section's interfaceConfig composite now lists
its sub-fields explicitly so userFilters can use the dedicated
'filter-mode' selector widget (None / Tabs / Dropdown / Toggle, objectui).
ADR-0047 §3.4a records the design decision: 'no filter bar' is the
ABSENCE of userFilters, not a literal element: 'none'. Rationale —
declarative-metadata hygiene (off = key absent, like every other optional
capability), no orphaned sub-config, clean overlay diffs, presence and
style are orthogonal axes. The authoring UI provides the explicit
None/Tabs/Dropdown/Toggle affordance; storage stays clean.
Pairs with objectui#1694 (the filter-mode widget). An unknown widget name
degrades gracefully to the prior composite rendering, so this is
independently mergeable.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
* refactor(spec): deprecate userFilters element 'toggle' (ADR-0047 §3.4a)
Authoring offers None/Tabs/Dropdown only (Airtable parity). The element
enum keeps 'toggle' for back-compat (existing configs keep rendering),
documented deprecated in the schema + ADR §3.4a; page.form helpText and
the §3.4a rationale updated to drop Toggle from the offered modes.
---------
Co-authored-by: Jack Zhuang <277994282+os-zhuang@users.noreply.github.com>
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>1 parent c78ebd9 commit 253b996
3 files changed
Lines changed: 67 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
153 | 153 | | |
154 | 154 | | |
155 | 155 | | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
156 | 194 | | |
157 | 195 | | |
158 | 196 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
54 | 76 | | |
55 | 77 | | |
56 | 78 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
309 | 309 | | |
310 | 310 | | |
311 | 311 | | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
312 | 317 | | |
313 | | - | |
| 318 | + | |
314 | 319 | | |
315 | 320 | | |
316 | 321 | | |
| |||
0 commit comments