Commit ff41188
test(showcase): exercise the spec bare-string sort form on a real list view (#3174)
The spec/renderer shape-mismatch audit (objectui#2601) found the showcase
had ZERO list views using @objectstack/spec ListViewSchema.sort's bare
STRING form ('field [asc|desc]') — only the {field,order}[] array form —
which is exactly why the 'schema.sort.map is not a function' crash lurked
undetected. Add sort: 'estimate_hours desc' to the Task List (tabular) view
as a live coverage fixture so the string form is exercised by any browser
dogfood / coverage pass.
Browser-verified end-to-end on latest main (objectui + framework): the list
renders 10 records with no crash, no error boundary, no sort-map error, and
the Estimate column is correctly descending (60→40→30→24→20→18→16→16→12→8).
Claude-Session: https://claude.ai/code/session_01HG5LQnPbQbjAAyofghzz3Z
Co-authored-by: Claude <noreply@anthropic.com>1 parent 5754a23 commit ff41188
1 file changed
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
101 | 108 | | |
102 | 109 | | |
103 | 110 | | |
| |||
0 commit comments