Supabase integration experiment setting (off by default)
This commit is contained in:
@@ -6,6 +6,7 @@ import { IpcClient } from "@/ipc/ipc_client";
|
||||
import { showSuccess, showError } from "@/lib/toast";
|
||||
import { AutoApproveSwitch } from "@/components/AutoApproveSwitch";
|
||||
import { TelemetrySwitch } from "@/components/TelemetrySwitch";
|
||||
import { SupabaseIntegrationSwitch } from "@/components/SupabaseIntegrationSwitch";
|
||||
import { useSettings } from "@/hooks/useSettings";
|
||||
import { Button } from "@/components/ui/button";
|
||||
import { ArrowLeft } from "lucide-react";
|
||||
@@ -145,6 +146,22 @@ export default function SettingsPage() {
|
||||
</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">
|
||||
Experiments
|
||||
</h2>
|
||||
<div className="space-y-4">
|
||||
<div className="space-y-2">
|
||||
<SupabaseIntegrationSwitch />
|
||||
<div className="text-sm text-gray-500 dark:text-gray-400">
|
||||
Enable integration with Supabase for auth, database and server
|
||||
function support.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{/* Danger Zone */}
|
||||
<div className="bg-white dark:bg-gray-800 rounded-xl shadow-sm p-6 border border-red-200 dark:border-red-800">
|
||||
<h2 className="text-lg font-medium text-red-600 dark:text-red-400 mb-4">
|
||||
|
||||
Reference in New Issue
Block a user