diff --git a/.phase9-state.json b/.phase9-state.json index ef043a2..8834024 100644 --- a/.phase9-state.json +++ b/.phase9-state.json @@ -1,9 +1,10 @@ { "completed_features": [], - "current_feature": "billing-stub", + "current_feature": "integrations-page", "started_at": "2026-05-23T06:02:21.166704", "attempted_features": [ "webhooks-config", - "two-factor-auth-stub" + "two-factor-auth-stub", + "billing-stub" ] } \ No newline at end of file diff --git a/GENERATION_LOG.md b/GENERATION_LOG.md index f7fc9ef..fbd822a 100644 --- a/GENERATION_LOG.md +++ b/GENERATION_LOG.md @@ -1073,3 +1073,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 +- `06:05:31` **INFO** Committed feature billing-stub +- `06:05:31` **INFO** Pushed: rc=0 + +## Phase-3 Feature: integrations-page (2026-05-23 06:05:31) + +- `06:05:31` **INFO** Description: Integrations-Page mit Slack/Discord/Webhook-Cards +- `06:05:31` **INFO** Generating apps/web/src/pages/Integrations.tsx (Integrations-Page. Grid mit Karten für: Slack, Discord, Webhooks, Cale…) +- `06:06:06` **INFO** wrote 4009 chars in 34.4s (attempt 1) +- `06:06:06` **INFO** Running tsc --noEmit on api… +- `06:06:07` **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/web/src/pages/Integrations.tsx b/apps/web/src/pages/Integrations.tsx new file mode 100644 index 0000000..ed6a314 --- /dev/null +++ b/apps/web/src/pages/Integrations.tsx @@ -0,0 +1,123 @@ +import React from 'react'; +import { Link } from '@tanstack/react-router'; +import { + Slack, + Discord, + Webhook, + Calendar, + Mail, + ArrowRight, + Lock +} from 'lucide-react'; + +interface Integration { + id: string; + name: string; + description: string; + icon: React.ElementType; + status: 'available' | 'coming-soon'; + link?: string; +} + +const INTEGRATIONS: Integration[] = [ + { + id: 'slack', + name: 'Slack', + description: 'Get notifications and updates directly in your Slack channels.', + icon: Slack, + status: 'coming-soon', + }, + { + id: 'discord', + name: 'Discord', + description: 'Connect your workspace to Discord for community alerts.', + icon: Discord, + status: 'coming-soon', + }, + { + id: 'webhooks', + name: 'Webhooks', + description: 'Send real-time data to any external URL via HTTP POST.', + icon: Webhook, + status: 'available', + link: '/webhooks', + }, + { + id: 'calendar', + name: 'Google Calendar', + description: 'Sync your project deadlines and meetings with Google.', + icon: Calendar, + status: 'coming-soon', + }, + { + id: 'email', + name: 'Email Notifications', + description: 'Configure how and when you receive email alerts.', + icon: Mail, + status: 'available', + link: '/settings', + }, +]; + +export default function IntegrationsPage() { + return ( +
+
+

Integrations

+

+ Connect EmberClone with your favorite tools to automate your workflow. +

+
+ +
+ {INTEGRATIONS.map((integration) => { + const Icon = integration.icon; + const isComingSoon = integration.status === 'coming-soon'; + + return ( +
+
+
+ +
+ {isComingSoon && ( + + + Coming Soon + + )} +
+ +

+ {integration.name} +

+

+ {integration.description} +

+ + {isComingSoon ? ( + + ) : ( + + Configure + + + )} +
+ ); + })} +
+
+ ); +} \ No newline at end of file