You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: ROADMAP.md
+5-2Lines changed: 5 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1077,12 +1077,15 @@ The `FlowDesigner` is a canvas-based flow editor that bridges the gap between th
1077
1077
-`getCellRenderer` standardMap: `lookup` and `master_detail` now correctly reference `LookupCellRenderer`.
1078
1078
-`fieldRegistry` now explicitly registers `status` → `SelectCellRenderer`, `user` → `UserCellRenderer`, and `owner` → `UserCellRenderer` alongside the existing `lookup`/`master_detail`/`select` registrations.
1079
1079
1080
-
**Tests:** Added 30 new tests in `cell-renderers.test.tsx`:
1080
+
**Tests:** Added 36 new tests in `cell-renderers.test.tsx`:
1081
1081
-`getCellRenderer` registry assertions for `lookup`, `master_detail`, `status`, `user`, `owner` types
1082
+
-`TextCellRenderer`: null, undefined, empty string, numeric zero (0 renders "0" not "-"), boolean false
1082
1083
-`LookupCellRenderer`: null, empty-string, primitive ID (number), primitive ID (string), unresolved primitive, object with name/label/_id, array of objects, array of primitive IDs resolved via options
1083
1084
-`UserCellRenderer`: null, primitive number ID, primitive string ID, object with name, object with username, array of user objects
1084
1085
1085
-
All 307 `@object-ui/fields` tests pass.
1086
+
5.**`TextCellRenderer`** — Used `value || '-'` which incorrectly rendered `'-'` for numeric `0` (falsy zero). Updated to `(value != null && value !== '') ? String(value) : '-'` for consistent null-only suppression.
0 commit comments