Skip to content

Commit 4047119

Browse files
Copilothotlong
andcommitted
docs: update ROADMAP.md with P1.10 Phase 10 widget config live preview and scatter chart fix
Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
1 parent 79c7365 commit 4047119

1 file changed

Lines changed: 10 additions & 2 deletions

File tree

ROADMAP.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ ObjectUI is a universal Server-Driven UI (SDUI) engine built on React + Tailwind
1919
1. ~~**AppShell** — No dynamic navigation renderer from spec JSON (last P0 blocker)~~ ✅ Complete
2020
2. **Designer Interaction** — ViewDesigner and DataModelDesigner have undo/redo, field type selectors, inline editing, Ctrl+S save, column drag-to-reorder with dnd-kit ✅
2121
3. **View Config Live Preview Sync** — Config panel changes sync in real-time for Grid, but `showSort`/`showSearch`/`showFilters`/`striped`/`bordered` not yet propagated to Kanban/Calendar/Timeline/Gallery/Map/Gantt (see P1.8.1)
22-
4. **Dashboard Config Panel** — Airtable-style right-side configuration panel for dashboards (data source, layout, widget properties, sub-editors, type definitions)
22+
4. **Dashboard Config Panel** — Airtable-style right-side configuration panel for dashboards (data source, layout, widget properties, sub-editors, type definitions). Widget config live preview sync and scatter chart type switch ✅ fixed (P1.10 Phase 10).
2323
5. **Console Advanced Polish** — Remaining upgrades for forms, import/export, automation, comments
2424
6. **PWA Sync** — Background sync is simulated only
2525

@@ -401,6 +401,14 @@ ObjectUI is a universal Server-Driven UI (SDUI) engine built on React + Tailwind
401401
- [x] Updated SchemaRenderer mock to forward `className` and include interactive child button for more realistic testing
402402
- [x] Add 9 new Vitest tests: pointer-events-none presence/absence, overlay presence/absence, relative positioning, click-to-select on Card-based widgets
403403

404+
**Phase 10 — Widget Config Live Preview Sync & Type Switch Fix:**
405+
- [x] Fix: `DashboardWithConfig` did not pass `onFieldChange` to `WidgetConfigPanel`, preventing live preview of widget config changes
406+
- [x] Add internal `liveSchema` state to `DashboardWithConfig` for real-time widget preview during editing
407+
- [x] Add `configVersion` counter to stabilize `selectedWidgetConfig` and prevent `useConfigDraft` draft reset loops
408+
- [x] Fix: `scatter` chart type was not handled in `DashboardRenderer` and `DashboardGridLayout` — switching to scatter caused errors
409+
- [x] Add `scatter` to chart type conditions in both `DashboardRenderer.getComponentSchema()` and `DashboardGridLayout.getComponentSchema()`
410+
- [x] Add 3 new Vitest tests: scatter chart data extraction, scatter with object-chart provider, DashboardWithConfig live preview support
411+
404412
### P1.11 Console — Schema-Driven View Config Panel Migration
405413

406414
> Migrated the Console ViewConfigPanel from imperative implementation (~1655 lines) to Schema-Driven architecture using `ConfigPanelRenderer` + `useConfigDraft` + `ConfigPanelSchema`, reducing to ~170 lines declarative wrapper + schema factory.
@@ -927,6 +935,6 @@ The `FlowDesigner` is a canvas-based flow editor that bridges the gap between th
927935

928936
---
929937

930-
**Roadmap Status:** 🎯 Active — AppShell · Designer Interaction · View Config Live Preview Sync (P1.8.1) · Dashboard Config Panel · Schema-Driven View Config Panel ✅ · Right-Side Visual Editor Drawer ✅ · Airtable UX Parity
938+
**Roadmap Status:** 🎯 Active — AppShell · Designer Interaction · View Config Live Preview Sync (P1.8.1) · Dashboard Config Panel (widget live preview & scatter type switch ✅ fixed) · Schema-Driven View Config Panel ✅ · Right-Side Visual Editor Drawer ✅ · Airtable UX Parity
931939
**Next Review:** March 15, 2026
932940
**Contact:** hello@objectui.org | https://github.com/objectstack-ai/objectui

0 commit comments

Comments
 (0)