Commit Graph

3 Commits

Author SHA1 Message Date
Gustavo Henrique Santos Souza de Miranda 9aa2aa48f0 feat: [US-019] - Editor toolbar
Add toolbar component with buttons for adding nodes (Dialogue, Choice,
Variable) and managing projects (Save, Export, Import). Buttons are
styled with TailwindCSS and wired to placeholder handlers.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-21 12:45:11 -03:00
Gustavo Henrique Santos Souza de Miranda 25627ddb0f feat: [US-018] - Canvas pan and zoom controls
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-21 12:43:20 -03:00
Gustavo Henrique Santos Souza de Miranda db742e7fe8 feat: [US-017] - Editor page with React Flow canvas
Implement the flowchart editor page with React Flow integration:
- Install reactflow package for canvas rendering
- Create editor page that fetches project data from Supabase
- Add loading state with spinner while fetching
- Handle unauthorized access and not found with appropriate responses
- Render React Flow canvas with grid background
- Add header with project name and back link to dashboard
- Initialize React Flow with nodes and edges from flowchart_data
- Add type converters for FlowchartNode/Edge to React Flow types

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-21 12:41:08 -03:00