diff --git a/src/ui/settings/SettingsTab.tsx b/src/ui/settings/SettingsTab.tsx index a653ff47f..bc74318ba 100644 --- a/src/ui/settings/SettingsTab.tsx +++ b/src/ui/settings/SettingsTab.tsx @@ -1,6 +1,12 @@ import { useEffect, useMemo, useRef, useState } from "react"; import { useTranslation } from "react-i18next"; -import { ChevronDown, Search, Settings as SettingsIcon } from "lucide-react"; +import { + Bug, + ChevronDown, + ExternalLink, + Search, + Settings as SettingsIcon, +} from "lucide-react"; import { GroupHeading, PANEL, @@ -10,6 +16,7 @@ import { import { SurfaceScope } from "@/components/surface/surface-scope"; import { EmptyState } from "@/components/empty-state"; import { isElectron } from "@/lib/electron"; +import { reportCoreIssueUrl } from "@/lib/issue-url"; import { cn } from "@/lib/utils"; import { pluginKey } from "@/lib/plugin-i18n"; import { PluginIcon } from "@/lib/plugin-icon"; @@ -210,7 +217,13 @@ export function SettingsTab({ )} {SETTINGS_BAND_ORDER.map((band) => { const items = hits.filter((hit) => hit.page.band === band); - if (items.length === 0) return null; + const reportBug = + band === "you" && + (!query.trim() || + t("dashboard.reportBug") + .toLowerCase() + .includes(query.trim().toLowerCase())); + if (items.length === 0 && !reportBug) return null; return (