Commit Graph

37 Commits

Author SHA1 Message Date
Gustavo Henrique Santos Souza de Miranda b6d85b1a47 fix: add isSaving prop and back-to-dashboard navigation to Toolbar
Add isSaving as a prop so the save button properly shows disabled/spinner
state. Add a back arrow link to /dashboard for editor navigation.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-23 20:55:07 -03:00
Gustavo Henrique Santos Souza de Miranda 8f6cff52a9 fix: correct OptionConditionEditor props in ChoiceNode
ChoiceNode was passing incompatible props (optionId, optionLabel, onSave,
onRemove, onCancel) to OptionConditionEditor which expects (condition,
onChange, onClose). This caused a build failure preventing the component
tree from rendering.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-23 20:54:54 -03:00
Gustavo Henrique Santos Souza de Miranda bcbad57aa9 Merge branch 'developing' into ralph/collaboration-and-character-variables 2026-01-23 15:59:17 -03:00
Gustavo Henrique Santos Souza de Miranda f92fc1ad01 feat: [US-046] - Presence indicators for active collaborators
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-23 15:42:07 -03:00
Gustavo Henrique Santos Souza de Miranda 37031c3889 feat: [US-044] - Project sharing and collaborator management
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-23 15:36:58 -03:00
Gustavo Henrique Santos Souza de Miranda 2e313a0264 feat: [US-045] - Supabase Realtime channel and connection management
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-23 15:28:23 -03:00
Gustavo Henrique Santos Souza de Miranda 0d72471f8f feat: [US-064] - Export validation for undefined references
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-23 15:21:09 -03:00
Gustavo Henrique Santos Souza de Miranda 190e25228b fix: accepted git conflicts 2026-01-23 12:42:51 -03:00
Gustavo Henrique Santos Souza de Miranda a3e1d1cea2 feat: [US-063] - Import characters/variables from another project
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-23 10:47:38 -03:00
Gustavo Henrique Santos Souza de Miranda b570dca1b8 feat: [US-062] - Auto-migration of existing free-text values
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-23 10:42:40 -03:00
Gustavo Henrique Santos Souza de Miranda 92d892fb73 feat: [US-061] - Choice option condition variable dropdown
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-23 10:36:16 -03:00
Gustavo Henrique Santos Souza de Miranda b4b9f8cec9 feat: [US-060] - Edge condition variable dropdown
Replace the variableName text input in edge conditions with a
Combobox-based variable selector. Adds ConditionEditor modal
that opens on edge click, with type-aware operators (comparison
for numeric, == and != for string/boolean) and type-adaptive
value inputs (number, text, or boolean toggle).

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-23 10:30:42 -03:00
Gustavo Henrique Santos Souza de Miranda 5493adf44a feat: [US-059] - Variable node variable dropdown
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-23 10:25:57 -03:00
Gustavo Henrique Santos Souza de Miranda 285320a4fe feat: [US-057] - Variable management UI in project settings
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-23 04:34:15 -03:00
Gustavo Henrique Santos Souza de Miranda 2ef605c0ca feat: [US-056] - Character management UI in project settings
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-23 04:31:42 -03:00
Gustavo Henrique Santos Souza de Miranda 11e8daf67c feat: [US-065] - Searchable combobox component
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-23 04:27:32 -03:00
Gustavo Henrique Santos Souza de Miranda 4fbc564944 feat: [US-042] - Password reset modal on token arrival
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-22 23:51:52 -03:00
Gustavo Henrique Santos Souza de Miranda e8a6942cfe feat: [US-041] - Change password for logged-in user
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-22 23:49:25 -03:00
Gustavo Henrique Santos Souza de Miranda ff52df2c28 feat: [US-040] - Conditionals on choice options
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-22 23:47:39 -03:00
Gustavo Henrique Santos Souza de Miranda b9d778b379 feat: [US-039] - Loading and error states
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-22 23:06:43 -03:00
Gustavo Henrique Santos Souza de Miranda f8f8048e53 feat: [US-037] - Export to Ren'Py JSON format
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-22 18:26:25 -03:00
Gustavo Henrique Santos Souza de Miranda 01f5428dd9 feat: [US-034] - Save project to database
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-22 18:17:33 -03:00
Gustavo Henrique Santos Souza de Miranda c431b212ac feat: [US-032] - Display conditions on edges
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-22 18:11:28 -03:00
Gustavo Henrique Santos Souza de Miranda fda0903872 feat: [US-031] - Condition editor modal
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-22 18:08:37 -03:00
Gustavo Henrique Santos Souza de Miranda 5b404cbe92 feat: [US-030] - Right-click context menu
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-22 18:04:54 -03:00
Gustavo Henrique Santos Souza de Miranda 1ad3c183a7 feat: [US-025] - Create custom variable node component
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-21 12:58:20 -03:00
Gustavo Henrique Santos Souza de Miranda 9082e15949 feat: [US-024] - Add/remove choice options
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-21 12:56:20 -03:00
Gustavo Henrique Santos Souza de Miranda 91b627907b feat: [US-022] - Create custom choice node component
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-21 12:52:47 -03:00
Gustavo Henrique Santos Souza de Miranda e31a0b7bae feat: [US-020] - Create custom dialogue node component
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-21 12:47:35 -03:00
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 add18ee10a feat: [US-016] - Admin - invite new user
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-21 04:25:09 -03:00
Gustavo Henrique Santos Souza de Miranda 4d3f288784 feat: [US-015] - Rename project
Add rename functionality to project cards on the dashboard:
- Edit/rename icon button on each project card (visible on hover)
- Modal dialog with project name input field
- Supabase update for project name
- Real-time UI update without page reload
- Success toast notification after rename
- Enter key support for quick rename
- Error handling and display

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-21 04:21:57 -03:00
Gustavo Henrique Santos Souza de Miranda 87653b86cb feat: [US-014] - Delete project
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-21 04:18:56 -03:00
Gustavo Henrique Santos Souza de Miranda 10ac9fe1e0 feat: [US-013] - Create new project
Add NewProjectButton component with modal dialog for creating new projects:
- Button displays on dashboard with plus icon
- Modal with project name input
- Creates project in Supabase with empty flowchart_data
- Redirects to /editor/[projectId] on success
- Error handling with user feedback

Also fixes lint error in signup page (setState in effect).

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-21 04:16:05 -03:00
Gustavo Henrique Santos Souza de Miranda 0f8a9546b5 feat: [US-011] - Dashboard layout with navbar
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-21 04:11:01 -03:00
Gustavo Henrique Santos Souza de Miranda 8eb7a9416b feat: [US-008] - Logout functionality
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-21 04:04:47 -03:00
Gustavo Henrique Santos Souza de Miranda a5a2732ba5 feat: [US-001] - Project scaffolding and configuration
- Initialize Next.js 16 with TypeScript and App Router
- Configure TailwindCSS 4 via @tailwindcss/postcss
- Install Supabase client libraries (@supabase/supabase-js, @supabase/ssr)
- Create .env.example with required environment variables
- Set up basic folder structure: src/app, src/components, src/lib, src/types

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