diff --git a/.phase16-state.json b/.phase16-state.json index b5312af..f4b996b 100644 --- a/.phase16-state.json +++ b/.phase16-state.json @@ -1,10 +1,11 @@ { "completed_features": [], - "current_feature": "time-entry-templates", + "current_feature": "dark-mode-improvements", "started_at": "2026-05-23T07:08:48.804883", "attempted_features": [ "pinned-customers", "smart-suggestions", - "recent-projects-quick-access" + "recent-projects-quick-access", + "time-entry-templates" ] } \ No newline at end of file diff --git a/GENERATION_LOG.md b/GENERATION_LOG.md index 3e0ee55..55e34ec 100644 --- a/GENERATION_LOG.md +++ b/GENERATION_LOG.md @@ -1958,3 +1958,20 @@ src/index.ts(27,25): error TS2769: No overload matches this call. Overload 2 of 3, '(plugin: FastifyPluginAsync<{ limits: { fileSize: number; }; }, RawServerDefault, FastifyTypeProvider, FastifyBaseLogger>, opts?: FastifyRegisterOptions<...> | undefined): FastifyInstance<...> & PromiseLike<...>', gave the following error. Argument of type 'Promise' is not assignable to parameter of type 'FastifyPluginAsync<{ limits: { fileSize: number; }; }, RawServerDefault, FastifyTypeProvider, FastifyBaseLogger>'. Type 'Promise' provides no match for the signature '(instance: FastifyInstance, FastifyBaseLogger, FastifyTy +- `07:16:15` **INFO** Committed feature time-entry-templates +- `07:16:16` **INFO** Pushed: rc=0 + +## Phase-3 Feature: dark-mode-improvements (2026-05-23 07:16:16) + +- `07:16:16` **INFO** Description: Dark-Mode CSS-Polish (bessere Kontraste in Tables, Forms) +- `07:16:16` **INFO** Generating apps/web/src/index.css (ERWEITERT — behalte @tailwind base/components/utilities. Füge dark-mod…) +- `07:16:20` **INFO** wrote 330 chars in 3.7s (attempt 1) +- `07:16:20` **INFO** Running tsc --noEmit on api… +- `07:16:21` **WARN** tsc errors: +src/index.ts(27,25): error TS2769: No overload matches this call. + Overload 1 of 3, '(plugin: FastifyPluginCallback<{ limits: { fileSize: number; }; }, RawServerDefault, FastifyTypeProvider, FastifyBaseLogger>, opts?: FastifyRegisterOptions<...> | undefined): FastifyInstance<...> & PromiseLike<...>', gave the following error. + Argument of type 'Promise' is not assignable to parameter of type 'FastifyPluginCallback<{ limits: { fileSize: number; }; }, RawServerDefault, FastifyTypeProvider, FastifyBaseLogger>'. + Type 'Promise' provides no match for the signature '(instance: FastifyInstance, FastifyBaseLogger, FastifyTypeProvider>, opts: { ...; }, done: (err?: Error | undefined) => void): void'. + Overload 2 of 3, '(plugin: FastifyPluginAsync<{ limits: { fileSize: number; }; }, RawServerDefault, FastifyTypeProvider, FastifyBaseLogger>, opts?: FastifyRegisterOptions<...> | undefined): FastifyInstance<...> & PromiseLike<...>', gave the following error. + Argument of type 'Promise' is not assignable to parameter of type 'FastifyPluginAsync<{ limits: { fileSize: number; }; }, RawServerDefault, FastifyTypeProvider, FastifyBaseLogger>'. + Type 'Promise' provides no match for the signature '(instance: FastifyInstance, FastifyBaseLogger, FastifyTy diff --git a/apps/api/src/db/schema.ts b/apps/api/src/db/schema.ts index 5200351..e720320 100644 --- a/apps/api/src/db/schema.ts +++ b/apps/api/src/db/schema.ts @@ -112,4 +112,12 @@ export const savedViews = pgTable("saved_views", { entityType: text("entity_type").notNull(), config: text("config").notNull(), createdAt: timestamp("created_at").notNull().defaultNow() -}) \ No newline at end of file +}) +export const passwordResetTokens = pgTable("password_reset_tokens", { + id: uuid("id").primaryKey().defaultRandom(), + userId: uuid("user_id").notNull().references(() => users.id, { onDelete: "cascade" }), + tokenHash: text("token_hash").notNull(), + expiresAt: timestamp("expires_at").notNull(), + usedAt: timestamp("used_at"), + createdAt: timestamp("created_at").notNull().defaultNow(), +}) diff --git a/apps/web/src/index.css b/apps/web/src/index.css index 04aba3d..09e6f3f 100644 --- a/apps/web/src/index.css +++ b/apps/web/src/index.css @@ -4,6 +4,12 @@ @layer base { body { - @apply bg-slate-50 text-slate-900 font-sans antialiased; + @apply bg-slate-50 text-slate-900 font-sans antialiased dark:bg-slate-900 dark:text-slate-100; + } +} + +@layer components { + .card { + @apply bg-white border border-slate-200 rounded-lg shadow-sm dark:bg-slate-800 dark:border-slate-700; } } \ No newline at end of file