Commit 341bfb5
fix: read spec-canonical keys for dashboard header title and field length rules (#2806)
Naming-drift closeouts (framework#1878 / framework#1891):
- DashboardRenderer header falls back to spec-canonical `label` when the
legacy `title` is absent (mirrors DashboardGridLayout, #2666).
- Field validation rules read spec-canonical camelCase minLength/maxLength
(what the server record-validator enforces), snake_case kept as fallback.
Claude-Session: https://claude.ai/code/session_01CMaDBhnZEUu1fcw8Rvo6Yq
Co-authored-by: Claude <noreply@anthropic.com>1 parent ba73a02 commit 341bfb5
3 files changed
Lines changed: 34 additions & 8 deletions
File tree
- .changeset
- packages
- fields/src
- plugin-dashboard/src
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1966 | 1966 | | |
1967 | 1967 | | |
1968 | 1968 | | |
1969 | | - | |
1970 | | - | |
| 1969 | + | |
| 1970 | + | |
| 1971 | + | |
| 1972 | + | |
| 1973 | + | |
| 1974 | + | |
1971 | 1975 | | |
1972 | | - | |
| 1976 | + | |
1973 | 1977 | | |
1974 | 1978 | | |
1975 | 1979 | | |
1976 | 1980 | | |
1977 | 1981 | | |
1978 | | - | |
| 1982 | + | |
| 1983 | + | |
1979 | 1984 | | |
1980 | | - | |
| 1985 | + | |
1981 | 1986 | | |
1982 | 1987 | | |
1983 | 1988 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
775 | 775 | | |
776 | 776 | | |
777 | 777 | | |
| 778 | + | |
| 779 | + | |
| 780 | + | |
| 781 | + | |
| 782 | + | |
778 | 783 | | |
779 | 784 | | |
780 | | - | |
| 785 | + | |
781 | 786 | | |
782 | 787 | | |
783 | | - | |
784 | | - | |
| 788 | + | |
| 789 | + | |
785 | 790 | | |
786 | 791 | | |
787 | 792 | | |
| |||
0 commit comments