Provide a way to disconnect from GitHub integration (due to permissio… (#39)

This commit is contained in:
Will Chen
2025-04-28 22:21:05 -07:00
committed by GitHub
parent fbb81471da
commit 322fcb002d
3 changed files with 97 additions and 1 deletions

View File

@@ -10,6 +10,8 @@ import { useSettings } from "@/hooks/useSettings";
import { Button } from "@/components/ui/button";
import { ArrowLeft } from "lucide-react";
import { useRouter } from "@tanstack/react-router";
import { GitHubIntegration } from "@/components/GitHubIntegration";
export default function SettingsPage() {
const { theme, setTheme } = useTheme();
const [isResetDialogOpen, setIsResetDialogOpen] = useState(false);
@@ -145,6 +147,16 @@ export default function SettingsPage() {
</div>
</div>
{/* Integrations Section */}
<div className="bg-white dark:bg-gray-800 rounded-xl shadow-sm p-6">
<h2 className="text-lg font-medium text-gray-900 dark:text-white mb-4">
Integrations
</h2>
<div className="space-y-4">
<GitHubIntegration />
</div>
</div>
{/* Experiments Section */}
<div className="bg-white dark:bg-gray-800 rounded-xl shadow-sm p-6">
<h2 className="text-lg font-medium text-gray-900 dark:text-white mb-4">