Skip to content

YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context

fix: disable spell check and autocorrect on chat input and preset names

Louis Beaumont639a584e7b80
diff --git a/apps/screenpipe-app-tauri/components/rewind/ai-presets-selector.tsx b/apps/screenpipe-app-tauri/components/rewind/ai-presets-selector.tsx
index 88a7aeb09..760752f5f 100644
--- a/apps/screenpipe-app-tauri/components/rewind/ai-presets-selector.tsx
+++ b/apps/screenpipe-app-tauri/components/rewind/ai-presets-selector.tsx
@@ -433,6 +433,7 @@ export function AIProviderConfig({
autoComplete="off"
autoCorrect="off"
autoCapitalize="off"
+ spellCheck={false}
disabled={
Boolean(defaultPreset?.id) &&
settings.aiPresets.some((p) => p.id === defaultPreset?.id)
diff --git a/apps/screenpipe-app-tauri/components/settings/ai-presets.tsx b/apps/screenpipe-app-tauri/components/settings/ai-presets.tsx
index 99967ea4f..915cf3007 100644
--- a/apps/screenpipe-app-tauri/components/settings/ai-presets.tsx
+++ b/apps/screenpipe-app-tauri/components/settings/ai-presets.tsx
@@ -1135,6 +1135,8 @@ const AISection = ({
validation={(value) => validatePresetName(value, visiblePresets, preset?.id)}
placeholder="Enter preset name"
required={true}
+ spellCheck={false}
+ autoCorrect="off"
disabled={!!preset && !isDuplicating && preset.id !== undefined}
helperText="Only letters, numbers, spaces, hyphens, and underscores allowed"
/>
diff --git a/apps/screenpipe-app-tauri/components/standalone-chat.tsx b/apps/screenpipe-app-tauri/components/standalone-chat.tsx
index ae78377f9..607d19df7 100644
--- a/apps/screenpipe-app-tauri/components/standalone-chat.tsx
+++ b/apps/screenpipe-app-tauri/components/standalone-chat.tsx
@@ -3592,6 +3592,8 @@ export function StandaloneChat({ className }: { className?: string } = {}) {
: "Ask about your screen... (type @ for filters, paste images)"
}
disabled={!canChat}
+ spellCheck={false}
+ autoCorrect="off"
rows={1}
className="w-full min-h-[44px] border-0 bg-transparent px-3 py-2.5 pr-3 text-sm font-mono placeholder:text-muted-foreground focus-visible:outline-none disabled:cursor-not-allowed disabled:opacity-50 caret-foreground resize-none overflow-y-auto scrollbar-minimal"
style={{ maxHeight: "150px" }}