Commit 02c4383
site(play): ship explicit spec for the rides example
The "Bike rides by hour" chip had `spec: null` in the manifest — picking
it only loaded the CSV and left whatever spec the editor already had.
After picking, say, Quarterly revenue first, switching to rides left
the editor on the quarterly spec (`field: "quarter"`), which then
errored against rides.csv:
Layer 0 encoding.x references field "quarter" which is not in the
schema. Available columns: [hour, fare, rides]
Fix: ship `site/play/examples/rides.spec.json` and reference it from
the manifest. Every CSV-bearing example now ships an explicit spec —
no entry in the gallery still depends on the editor's prior state.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent dbcbf81 commit 02c4383
2 files changed
Lines changed: 14 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
0 commit comments