Add delete functionality to canvas card with confirmation dialog

- Implemented delete action for canvas cards, including a confirmation dialog.
- Updated `canvas-card.tsx` to support renaming and deleting canvases.
- Enhanced documentation in `CLAUDE.md` to reflect new features and mutations.
- Added success and error toast messages for delete actions.
This commit is contained in:
Matthias
2026-04-01 12:09:01 +02:00
parent 0022b57c88
commit 34135d643e
6 changed files with 160 additions and 59 deletions

View File

@@ -66,6 +66,8 @@ Server Component. Initialisiert:
- Client-Helper: `authClient` aus `lib/auth-client.ts`
- Convex-Integration: `convex/auth.config.ts` + `convex/auth.ts`
- Trusted Origins: `https://app.lemonspace.io`, `http://localhost:3000`
- Sign-In unterstützt `email+password` **und** `magic link` (`authClient.signIn.magicLink`)
- Dashboard-Route (`app/dashboard/page.tsx`) redirectet bei fehlender Session explizit nach `/auth/sign-in`, damit kein permanenter Loading-State entsteht
---