diff --git a/app/(app)/settings/integrations/github/page.tsx b/app/(app)/settings/integrations/github/page.tsx index cc41353d..b52287a0 100644 --- a/app/(app)/settings/integrations/github/page.tsx +++ b/app/(app)/settings/integrations/github/page.tsx @@ -1,9 +1,12 @@ -// Account-level GitHub integration page. Three states: -// 1. Env not configured → admin sees a "Run setup" CTA; -// non-admins see a "not configured" notice. +// Account-level GitHub integration page (user POV — install + manage your +// own GitHub installations). Three states: +// 1. Env not configured → "integration not available yet" notice. +// Admins see a small inline link to /admin. // 2. Configured, not connected → "Install" CTA pointing at github.com/apps/. // 3. Connected → list of installations + their repos with a // client-side filter (sized for 200+). +// +// Platform-level App registration is NOT here. It lives at /admin/github/setup. import Link from "next/link"; import { redirect } from "next/navigation"; @@ -129,21 +132,21 @@ export default async function GithubSettingsPage({ {!configured ? (
-

Integration not configured

+

+ Integration not available yet +

- CrawlProof's GitHub App credentials aren't set on this - deployment yet.{" "} - {isAdmin - ? "Run the one-click setup to register the App on the Profullstack org and get the values to paste into Railway." - : "Ask an admin to run the one-click setup from this page."} + The CrawlProof GitHub App isn't configured on this deployment. + Check back soon.

{isAdmin && ( - - Run one-click setup (admin) - +

+ Admin:{" "} + + register the App at /admin/github/setup + + . +

)}
) : installations.length === 0 ? (