From a594eaaf585ea6c9d0f9b07aef382a400c30c396 Mon Sep 17 00:00:00 2001 From: Bryan Helmkamp Date: Wed, 20 May 2026 09:53:58 -0400 Subject: [PATCH] feat(web): show Slack integration status on settings page Add a Communication panel showing Slack integration enabled state and default channel, alongside the existing GitHub panel reframed as Version Control. Co-Authored-By: Claude Opus 4.7 (1M context) --- .../app/routes/settings-integrations.tsx | 49 +++++++++++++++---- 1 file changed, 40 insertions(+), 9 deletions(-) diff --git a/apps/fabro-web/app/routes/settings-integrations.tsx b/apps/fabro-web/app/routes/settings-integrations.tsx index cd81a2852..64140f1ef 100644 --- a/apps/fabro-web/app/routes/settings-integrations.tsx +++ b/apps/fabro-web/app/routes/settings-integrations.tsx @@ -27,23 +27,33 @@ export default function SettingsIntegrations() { return (
- {settings ? : } + {settings ? ( + <> + + + + ) : ( + <> + + + + )}
); } -function IntegrationsPanel({ settings }: { settings: ServerSettings }) { - const { integrations } = settings.server; +function GithubPanel({ settings }: { settings: ServerSettings }) { + const { github } = settings.server.integrations; return ( - + @@ -52,6 +62,27 @@ function IntegrationsPanel({ settings }: { settings: ServerSettings }) { ); } +function SlackPanel({ settings }: { settings: ServerSettings }) { + const { slack } = settings.server.integrations; + return ( + + + + + + ); +} + function IntegrationValue({ enabled, detail,