From d48958c5e576a03b58744dedaf2e84bfcfd51a82 Mon Sep 17 00:00:00 2001 From: Ali Waseem Date: Fri, 10 Apr 2026 08:39:32 -0600 Subject: [PATCH] chore: remove outdated GitHub discussion link (#44746) ## Summary - Remove the outdated GitHub discussion feedback link from the "Queue table operations" dashboard setting - Clean up the unused `discussionsUrl` prop and related rendering logic from `DashboardToggle` Closes FE-2973 ## Test plan - [ ] Verify the "Queue table operations" toggle in Account > Preferences no longer shows a "Give feedback" link - [ ] Verify the "Edit entities in SQL" toggle still renders correctly ## Summary by CodeRabbit ## Release Notes * **Refactor** * Removed the feedback link from dashboard settings toggles. The "Give feedback" option is no longer available in the preferences interface. --- .../Preferences/DashboardSettingsToggles.tsx | 1 - .../Account/Preferences/DashboardToggle.tsx | 28 +------------------ 2 files changed, 1 insertion(+), 28 deletions(-) diff --git a/apps/studio/components/interfaces/Account/Preferences/DashboardSettingsToggles.tsx b/apps/studio/components/interfaces/Account/Preferences/DashboardSettingsToggles.tsx index e13c4f853e5..44dfd3784bf 100644 --- a/apps/studio/components/interfaces/Account/Preferences/DashboardSettingsToggles.tsx +++ b/apps/studio/components/interfaces/Account/Preferences/DashboardSettingsToggles.tsx @@ -75,7 +75,6 @@ export const DashboardSettingsToggles = () => { name="queueOperationsEnabled" label="Queue table operations" description="Review and batch table edits in Table Editor before saving them to your database." - discussionsUrl="https://github.com/orgs/supabase/discussions/42460" onToggle={handleQueueOperationsToggle} isLast /> diff --git a/apps/studio/components/interfaces/Account/Preferences/DashboardToggle.tsx b/apps/studio/components/interfaces/Account/Preferences/DashboardToggle.tsx index 401d34108bc..c52ca6e1032 100644 --- a/apps/studio/components/interfaces/Account/Preferences/DashboardToggle.tsx +++ b/apps/studio/components/interfaces/Account/Preferences/DashboardToggle.tsx @@ -1,5 +1,3 @@ -import { ExternalLink } from 'lucide-react' -import Link from 'next/link' import type { ReactNode } from 'react' import type { FieldValues, Path, UseFormReturn } from 'react-hook-form' import { CardContent, FormControl_Shadcn_, FormField_Shadcn_, Switch } from 'ui' @@ -11,7 +9,6 @@ interface DashboardToggleProps { label: string description: ReactNode onToggle: (value: boolean) => void - discussionsUrl?: string isLast?: boolean } @@ -21,7 +18,6 @@ export function DashboardToggle({ label, description, onToggle, - discussionsUrl, isLast, }: DashboardToggleProps) { return ( @@ -30,29 +26,7 @@ export function DashboardToggle({ control={form.control} name={name} render={({ field }) => ( - - {description} - {discussionsUrl && ( - <> - {' '} - - Give feedback - - - - )} -

- } - > +