Skip to content

armgit / mimik

Public Imported from GitHub
0

🎬 A browser extension and desktop app that turns your clicks into step-by-step guides with annotated screenshots πŸ“–

fix(desktop): drop the settings pane heading that repeats the nav

Luis Ortiz823efa60d2f3
diff --git a/AGENTS.md b/AGENTS.md
index c66b85e..832449d 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -857,6 +857,11 @@ identical on both surfaces, so `AiSettings` lives in `packages/ui` and each app
`validate` function β€” the desktop passes core's `validateApiKey` directly, and the extension goes
through its background messaging, which is the only part that differs.
+The pane carries no heading of its own. The left nav already names the section, and a title repeating
+the highlighted nav item is the same word twice on one screen. Closing is an X in the pane's top
+right, as in `CaptureSheet`; it was briefly a "Close" entry under the three sections, styled like
+them, which read as a fourth section that happens to quit.
+
`AiSettings` is the extension's own AI card, lifted out of `SettingsView` rather than rewritten. A
parallel implementation was tried first and the wording immediately drifted β€” the extension said
"API key verified", the copy said "134 models available", and the spend warning was missing
diff --git a/apps/desktop/src/renderer/SettingsPanel.tsx b/apps/desktop/src/renderer/SettingsPanel.tsx
index 818a8ba..40cff19 100644
--- a/apps/desktop/src/renderer/SettingsPanel.tsx
+++ b/apps/desktop/src/renderer/SettingsPanel.tsx
@@ -88,10 +88,7 @@ export default function SettingsPanel({ onClose }: { onClose(): void }) {
<div className="min-w-0 flex-1 overflow-y-auto px-10 py-8">
<div className="mx-auto flex max-w-[640px] flex-col gap-5">
- <div className="flex items-center border-b border-secondary pb-4">
- <h2 className="mr-auto text-base font-semibold text-foreground">
- {i18n.t(SECTIONS.find((item) => item.id === section)?.labelKey ?? 'settings_title')}
- </h2>
+ <div className="flex justify-end">
<button
type="button"
aria-label={i18n.t('common_close')}