Commit Graph

2 Commits

Author SHA1 Message Date
8e1ec041de Add cascade delete for projects with Gitea repository cleanup
- Add deleteGiteaRepo server action to remove repos via Gitea API
- Add deleteProject function with full cascade:
  - Deletes Gitea repository if linked
  - Removes all agent_runs, messages, backlog items
  - Removes project phases, activities, recommendations
  - Finally removes the project itself
- Add ProjectSettingsMenu with delete confirmation dialog
- Add use-toast hook for notifications using sonner
- Add shadcn alert-dialog component
- Restore brand button variant after shadcn update

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-15 14:37:43 +01:00
44cfd4d5f1 Add Supabase data layer and integrate design thinking dashboard
- Add projects.ts with full CRUD operations for design thinking entities
- Add use-project hook for reactive data fetching
- Add DesignThinkingDashboard that integrates all components
- Update project tabs to use new Phases view
- Add Skeleton component for loading states
- All operations use explicit type casting for schema compatibility

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-14 20:00:49 +01:00