Commit 04b23af
DC-273: Fix dashboard error caused by empty card status from CBMS (#162)
CardStatusSchema Zod preprocess now maps empty strings to 'Unknown'
instead of passing them through to fail enum validation. Added
console.error logging for schema validation failures in apiFetch.
Also suppressed verbose USWDS compile notifications via
$theme-show-notifications: false in the SASS token generator.
Co-authored-by: James Blair <jblair@codeforamerica.org>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 79fdc18 commit 04b23af
4 files changed
Lines changed: 12 additions & 1 deletion
File tree
- packages/design-system/design/scripts
- src/SEBT.Portal.Web/src
- api
- features/household/api
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
265 | 265 | | |
266 | 266 | | |
267 | 267 | | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
268 | 273 | | |
269 | 274 | | |
270 | 275 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
106 | 106 | | |
107 | 107 | | |
108 | 108 | | |
| 109 | + | |
| 110 | + | |
109 | 111 | | |
110 | 112 | | |
111 | 113 | | |
| |||
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
37 | 41 | | |
38 | 42 | | |
39 | 43 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
67 | | - | |
| 67 | + | |
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
| |||
0 commit comments