diff --git a/.phase26-state.json b/.phase26-state.json index 4fa9a42..ec2a79a 100644 --- a/.phase26-state.json +++ b/.phase26-state.json @@ -1,9 +1,10 @@ { "completed_features": [], - "current_feature": "confirm-modal", + "current_feature": "hover-tooltips", "started_at": "2026-05-23T08:51:33.874805", "attempted_features": [ "loading-skeletons", - "empty-state-illustrations" + "empty-state-illustrations", + "confirm-modal" ] } \ No newline at end of file diff --git a/GENERATION_LOG.md b/GENERATION_LOG.md index 65cac8f..645f69b 100644 --- a/GENERATION_LOG.md +++ b/GENERATION_LOG.md @@ -3055,3 +3055,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, +- `08:52:18` **INFO** Committed feature confirm-modal +- `08:52:19` **INFO** Pushed: rc=0 + +## Phase-3 Feature: hover-tooltips (2026-05-23 08:52:19) + +- `08:52:19` **INFO** Description: Tooltip-Component (für Icon-Only-Buttons) +- `08:52:19` **INFO** Generating apps/web/src/components/Tooltip.tsx (Tooltip-Component. Props: children, content (string). On hover: zeigt …) +- `08:52:24` **INFO** wrote 656 chars in 5.8s (attempt 1) +- `08:52:24` **INFO** Running tsc --noEmit on api… +- `08:52:26` **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(43,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(47,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(51,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/Tooltip.tsx b/apps/web/src/components/Tooltip.tsx new file mode 100644 index 0000000..8f7b824 --- /dev/null +++ b/apps/web/src/components/Tooltip.tsx @@ -0,0 +1,20 @@ +import React, { ReactNode } from 'react'; + +interface TooltipProps { + children: ReactNode; + content: string; +} + +export const Tooltip = ({ children, content }: TooltipProps) => { + return ( +
+ {children} +
+
+ {content} +
+
+
+
+ ); +}; \ No newline at end of file