test-repo/memory/2026-02-21.md

69 lines
2.6 KiB
Markdown

# Memory Log — February 21, 2026
## Supabase Migration — COMPLETE
### What Was Done
- Migrated gantt-board from SQLite to Supabase
- Set up Supabase Auth (login, password reset, sessions)
- Created `public.users` table with profile data (name, email, avatar_url)
- Migrated 3 projects, 3 sprints, 14 tasks to Supabase
- All tasks assigned: created_by = Matt, assignee = Max
- Disabled RLS on tables (temporary for development)
### Files Changed
- `src/lib/server/auth.ts` — Supabase auth implementation
- `src/lib/server/taskDb.ts` — Supabase data fetching
- `src/app/api/auth/*` — Auth API routes updated
- `src/app/settings/page.tsx` — Settings screen (rewritten by other AI)
- `src/app/api/tasks/route.ts` — Tasks API using Supabase
### What's Working
- ✅ Login/Logout
- ✅ Password reset (via Resend SMTP)
- ✅ Task loading from Supabase
- ✅ Settings page (fixed by other AI)
- ✅ Profile updates (name, avatar)
- ✅ Password changes
### What's NOT Working / Blocked
- None currently
### Environment Variables (Vercel)
```
RESEND_API_KEY=re_PJsKiveZ_3h8qbvWP4esU5tEV8YG8257y
EMAIL_FROM=no-reply@topdoglaps.com
NEXT_PUBLIC_APP_URL=https://gantt-board.vercel.app
NEXT_PUBLIC_SUPABASE_URL=https://qnatchrjlpehiijwtreh.supabase.co
NEXT_PUBLIC_SUPABASE_ANON_KEY=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6InFuYXRjaHJqbHBlaGlpand0cmVoIiwicm9sZSI6ImFub24iLCJpYXQiOjE3NzE2NDA0MzYsImV4cCI6MjA4NzIxNjQzNn0.47XOMrQBzcQEh71phQflPoO4v79Jk3rft7BC72KHDvA
SUPABASE_SERVICE_ROLE_KEY=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6InFuYXRjaHJqbHBlaGlpand0cmVoIiwicm9sZSI6InNlcnZpY2Vfcm9sZSIsImlhdCI6MTc3MTY0MDQzNiwiZXhwIjoyMDg3MjE2NDM2fQ.rHoc3NfL59S4lejU4-ArSzox1krQkQG-TnfXb6sslm0
```
### Supabase User IDs
- Matt: `0a3e400c-3932-48ae-9b65-f3f9c6f26fe9`
- Max: `9c29cc99-81a1-4e75-8dff-cd7cc5ceb5aa`
### Repo Status
- Local: Gitea (192.168.1.128:3000/TopDogLabs/gantt-board)
- Commits: Latest is `6f863ba` with Supabase fixes
### Deployment Process (Vercel CLI)
```bash
cd /Users/mattbruce/.openclaw/workspace/gantt-board
npm run build
vercel --prod
```
- No GitHub needed — uses Vercel CLI direct deploy
- Environment variables already in Vercel project
### Live Deployment
- **URL:** https://gantt-board.vercel.app
- **Login:** mbruce+max@topdoglabs.com / !7883Gantt
- **Status:** Deployed and working with Supabase
### Notes
- Gitea was removed from local machine (port conflict)
- Resend.com configured for transactional emails
- Max (the AI) had significant issues with memory/context today
- Another AI stepped in and fixed the settings page properly
- **Task Management:** Use the live Vercel deployment to check/add tasks