Commit 6106b12
feat: ObjectGrid cell type rendering — select Badge colors, date relative format, boolean null handling
- SelectCellRenderer: priority semantic color auto-detection (Critical→red, High→orange, Medium→yellow, Low→gray), muted default for unconfigured colors
- DateCellRenderer: relative format by default, overdue red text styling, ISO tooltip
- BooleanCellRenderer: null/undefined renders as — instead of unchecked checkbox
- ObjectGrid: auto-generates field options from data for inferred select columns
- formatRelativeDate: threshold tightened from 30 to 7 days
- 40 new unit tests for cell renderers and formatRelativeDate edge cases
- ROADMAP.md updated with Module 4 completion details
Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>1 parent fd7b269 commit 6106b12
6 files changed
Lines changed: 470 additions & 17 deletions
File tree
- packages
- fields/src
- __tests__
- plugin-grid/src
- __tests__
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
810 | 810 | | |
811 | 811 | | |
812 | 812 | | |
| 813 | + | |
| 814 | + | |
| 815 | + | |
813 | 816 | | |
814 | 817 | | |
815 | 818 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
48 | | - | |
49 | | - | |
| 47 | + | |
50 | 48 | | |
51 | 49 | | |
52 | 50 | | |
| |||
0 commit comments