fix: suppress autoCorrect & disable activist registry for now#363
fix: suppress autoCorrect & disable activist registry for now#363
Conversation
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughThe PR introduces a feature flag to conditionally gate the activist registry storage backend and disables browser text-assistance features (autocorrect, autocapitalize, spellcheck) on the suggestion input component. ChangesActivist Storage Feature Flag
Suggestion Input Text Assistance Disabling
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~5 minutes Possibly related PRs
Poem
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Tip 💬 Introducing Slack Agent: The best way for teams to turn conversations into code.Slack Agent is built on CodeRabbit's deep understanding of your code, so your team can collaborate across the entire SDLC without losing context.
Built for teams:
One agent for your entire SDLC. Right inside Slack. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Pull request overview
This PR adjusts UX and feature behavior in the authed Events area by (1) explicitly disabling browser text-correction features on the suggestion input, and (2) turning off the activist registry’s IndexedDB-backed storage path.
Changes:
- Add
autoCorrect,autoCapitalize, andspellCheckprops to theSuggestionInput’s underlying<input>. - Introduce a module-level flag that disables the activist registry storage lookup by short-circuiting
getActivistStorage().
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| frontend-v2/src/app/(authed)/events/suggestion-input.tsx | Disables browser autocorrect/capitalization/spellcheck on the suggestion input. |
| frontend-v2/src/app/(authed)/events/activist-storage.ts | Disables the IndexedDB activist storage by gating getActivistStorage() behind a constant flag. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| onBlur={handleBlur} | ||
| autoComplete={autoComplete} | ||
| autoCorrect="off" | ||
| autoCapitalize="off" |
There was a problem hiding this comment.
i think either are ok: https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Global_attributes/autocapitalize
Summary by CodeRabbit
New Features
Improvements