Commit dbc749e
feat(app-showcase): task default list switches across every record visualization (#2048)
The object's default "All Tasks" list is now the showcase's "switch every view"
case (Airtable Visualizations parity): the SAME task records re-shaped on demand
through the toolbar visualization switcher.
Adds the per-visualization binding blocks to the default list so each type
resolves and renders, and widens the appearance.allowedVisualizations whitelist:
grid · kanban (by status) · gallery · calendar (due_date) · timeline (created_at) · gantt (start→end)
Seed data already carries status / due_date / created_at / start_date / end_date /
progress / location, so every one of the six renders with real content.
Scope note: map and chart are intentionally NOT in this switcher —
• map needs a spec MapConfigSchema the ListViewSchema doesn't yet expose, and
the runtime switcher only offers map when options.map.locationField resolves
(no field inference); map stays as its own `listViews.map` named view.
• chart aggregates a dataset (not records), so it's a named view + dashboard
element, not a record-list visualization.
Verified in the browser against the live showcase backend: switching the default
list to Kanban / Gallery / Calendar / Timeline / Gantt each renders the 10 task
records correctly (board columns, card grid, month calendar, time buckets, gantt
bars); the switcher offers exactly those six.
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>1 parent a8e4f3b commit dbc749e
1 file changed
Lines changed: 18 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
39 | 42 | | |
40 | | - | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
41 | 49 | | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
42 | 58 | | |
43 | 59 | | |
44 | 60 | | |
| |||
0 commit comments