feat(dashboard): tableau de bord Second Brain configurable avec chargement progressif
All checks were successful
CI / Lint, Unit Tests & Build (push) Successful in 7m3s
CI / Deploy production (on server) (push) Successful in 23s

Briefing granulaire, pistes rapides puis enrichissement async, layout persisté v5,
suggestions agents, intégration Gmail et navigation sidebar alignée sur /home.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Antigravity
2026-07-14 16:50:53 +00:00
parent d38a99586b
commit 30da592ba2
62 changed files with 7741 additions and 335 deletions

View File

@@ -0,0 +1,21 @@
-- CreateTable
CREATE TABLE "GmailScanHistory" (
"id" TEXT NOT NULL,
"userId" TEXT NOT NULL,
"messageId" TEXT NOT NULL,
"category" TEXT NOT NULL,
"data" JSONB,
"noteId" TEXT,
"scannedAt" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP,
CONSTRAINT "GmailScanHistory_pkey" PRIMARY KEY ("id")
);
-- CreateIndex
CREATE INDEX "GmailScanHistory_userId_scannedAt_idx" ON "GmailScanHistory"("userId", "scannedAt");
-- CreateIndex
CREATE UNIQUE INDEX "GmailScanHistory_userId_messageId_key" ON "GmailScanHistory"("userId", "messageId");
-- AddForeignKey
ALTER TABLE "GmailScanHistory" ADD CONSTRAINT "GmailScanHistory_userId_fkey" FOREIGN KEY ("userId") REFERENCES "User"("id") ON DELETE CASCADE ON UPDATE CASCADE;