adhikareeprayush / adhikareeprayush/slide-forge
Add chart slot editor in the inspector
- 主要語言
- TypeScript
- 星號
- 0
- 分支
- 3
- PR 合併指標
- 30 天內沒有已合併 PR
描述
## Summary
`data-chart` layouts store chart data as JSON `{labels, values}`. The inspector has no dedicated editor.
## Tasks
- [ ] Detect `chart` slot type in inspector
- [ ] Add simple label/value row editor (or JSON textarea with validation)
- [ ] Preview updates live on canvas
## Files
- `apps/web/app/editor/[id]/Editor.tsx`
- `layouts/data-chart/slide.config.ts`
- `packages/ui/src/SlotRenderer.tsx`
貢獻指南
研究方向
Start by reading layouts/data-chart/slide.config.ts to confirm the chart slot shape, then trace how apps/web/app/editor/[id]/Editor.tsx and packages/ui/src/SlotRenderer.tsx handle inspector slots and canvas rendering. Done means chart slots have an editor with validation, and changing labels or values updates the canvas preview live.
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- typescript
- 領域
- frontend
- Issue 類型
- 功能
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 活躍度
- 冷清
- 描述清晰度
- 基本清楚
- 新手友好度
- 68/100