diff --git a/.phase29-state.json b/.phase29-state.json index c219129..a7842b1 100644 --- a/.phase29-state.json +++ b/.phase29-state.json @@ -1,8 +1,9 @@ { "completed_features": [], - "current_feature": "favorites-system", + "current_feature": "more-keyboard-shortcuts", "started_at": "2026-05-23T09:18:37.298269", "attempted_features": [ - "recently-viewed-widget" + "recently-viewed-widget", + "favorites-system" ] } \ No newline at end of file diff --git a/GENERATION_LOG.md b/GENERATION_LOG.md index c083645..6f47730 100644 --- a/GENERATION_LOG.md +++ b/GENERATION_LOG.md @@ -3318,3 +3318,21 @@ 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, +- `09:19:24` **INFO** Committed feature favorites-system +- `09:19:24` **INFO** Pushed: rc=0 + +## Phase-3 Feature: more-keyboard-shortcuts (2026-05-23 09:19:24) + +- `09:19:24` **INFO** Description: ? für Help, G+H for home, etc — Hotkey-Registry +- `09:19:24` **INFO** Generating apps/web/src/components/KeyboardHelp.tsx (ERWEITERT — füge mehr shortcuts dokumentiert: G H = Dashboard, G T = T…) +- `09:19:53` **INFO** wrote 3180 chars in 28.6s (attempt 1) +- `09:19:53` **INFO** Running tsc --noEmit on api… +- `09:19:54` **WARN** tsc errors: +src/db/schema.ts(37,14): error TS7022: 'customers' implicitly has type 'any' because it does not have a type annotation and is referenced directly or indirectly in its own initializer. +src/db/schema.ts(45,59): error TS7024: Function implicitly has return type 'any' because it does not have a return type annotation and is referenced directly or indirectly in one of its return expressions. +src/db/schema.ts(49,14): error TS7022: 'projects' implicitly has type 'any' because it does not have a type annotation and is referenced directly or indirectly in its own initializer. +src/db/schema.ts(53,56): error TS7024: Function implicitly has return type 'any' because it does not have a return type annotation and is referenced directly or indirectly in one of its return expressions. +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, diff --git a/apps/web/src/components/KeyboardHelp.tsx b/apps/web/src/components/KeyboardHelp.tsx index 557a0a7..df84c09 100644 --- a/apps/web/src/components/KeyboardHelp.tsx +++ b/apps/web/src/components/KeyboardHelp.tsx @@ -10,10 +10,12 @@ const SHORTCUTS: Shortcut[] = [ { keys: ['⌘', 'K'], description: 'Command Palette' }, { keys: ['?'], description: 'Diese Hilfe anzeigen' }, { keys: ['T'], description: 'Theme umschalten' }, - { keys: ['G', 'D'], description: 'Zum Dashboard' }, + { keys: ['N'], description: 'Neuen Eintrag erstellen' }, + { keys: ['G', 'H'], description: 'Zum Dashboard' }, { keys: ['G', 'C'], description: 'Zu Kunden' }, { keys: ['G', 'P'], description: 'Zu Projekten' }, { keys: ['G', 'T'], description: 'Zu Zeiteinträgen' }, + { keys: ['G', 'S'], description: 'Zu Einstellungen' }, ]; export default function KeyboardHelp() {