Skip to content

feat(chat): enable spellcheck on chat input#233

Open
kessenma wants to merge 2 commits intocoollabsio:mainfrom
kessenma:feature/enable-spellcheck
Open

feat(chat): enable spellcheck on chat input#233
kessenma wants to merge 2 commits intocoollabsio:mainfrom
kessenma:feature/enable-spellcheck

Conversation

@kessenma
Copy link
Copy Markdown
Contributor

@kessenma kessenma commented Mar 18, 2026

Summary

  • Enables spellcheck on the chat textarea with a configurable toggle under Settings > General > Chat
  • Enabled by default — OS-native spellchecker highlights misspelled words and offers right-click corrections
  • Can be disabled via the toggle for users who prefer no spellcheck
  • Works cross-platform: macOS (WKWebView), Windows (WebView2), and Linux (WebKitGTK) all respect the HTML spellcheck attribute
  • Zero new dependencies

Changes

File Change
src/types/preferences.ts Add spellcheck_enabled: boolean field + default (true)
src-tauri/src/lib.rs Add field to Rust AppPreferences struct
src/components/chat/ChatInput.tsx Read preference, conditionally set spellCheck prop
src/components/preferences/panes/GeneralPane.tsx New "Chat" settings section with spellcheck toggle

Test plan

  • Open Settings > General, find the new "Chat" section
  • Verify "Spellcheck" toggle is ON by default
  • Type misspelled words in the chat input — red underlines should appear
  • Right-click a misspelled word to confirm correction suggestions
  • Toggle OFF — spellcheck underlines should disappear
  • Toggle ON again — underlines should reappear

🤖 Generated with Claude Code

Add spellCheck attribute to the chat textarea so the OS-native
spellchecker highlights misspelled words and offers corrections.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@jorgefl8
Copy link
Copy Markdown

Please if this is added i would want as well a toggle to not enable this. Ty

Make spellcheck configurable via a toggle under Settings > General > Chat.
Enabled by default so chat input gets spellcheck out of the box, but
users can disable it if preferred.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@kessenma
Copy link
Copy Markdown
Contributor Author

sure @jorgefl8 my last push adds a toggle for spellcheck in the settings

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants