Skip to content

feat: add option to hide conflict warnings for multiple Claude Code installations#400

Open
erbanku wants to merge 8 commits intoop7418:mainfrom
erbanku:main
Open

feat: add option to hide conflict warnings for multiple Claude Code installations#400
erbanku wants to merge 8 commits intoop7418:mainfrom
erbanku:main

Conversation

@erbanku
Copy link
Copy Markdown

@erbanku erbanku commented Mar 30, 2026

Adds a "Hide Conflict Warnings" toggle in Settings → General that lets users suppress the multiple-installation conflict warning without uninstalling any version.

Changes

  • src/app/api/settings/app/route.ts — allow disable_conflict_checking key in settings API
  • src/components/settings/GeneralSection.tsx — add toggle UI and save handler
  • src/components/layout/ConnectionStatus.tsx — respect the setting when computing hasConflicts
  • src/components/layout/InstallWizard.tsx — same guard in the install wizard prereq check
  • src/components/setup/ClaudeCodeCard.tsx — hide conflict block when setting is enabled
  • src/i18n/en.ts / src/i18n/zh.ts — i18n strings for the new toggle

Motivation

Users who intentionally run Claude Code in multiple clients (e.g. Cherry Studio + CodePilot) should not be forced to uninstall one. This gives them an explicit opt-out for the warning.

Fixes #398

@vercel
Copy link
Copy Markdown

vercel bot commented Mar 30, 2026

@erbanku is attempting to deploy a commit to the op7418's projects Team on Vercel.

A member of the Team first needs to authorize it.

Copilot AI and others added 7 commits April 1, 2026 08:32
…rtial GeneralSection state

Adds the foundation for issue op7418#398 (disable conflict checking):
- Added 'disable_conflict_checking' to ALLOWED_KEYS in settings API
- Added i18n strings in en.ts and zh.ts for the toggle
- Added state variables in GeneralSection.tsx and fetch logic

Still needed: toggle save handler, UI rendering, and updating
ConnectionStatus/ClaudeCodeCard/InstallWizard to respect the setting.

Agent-Logs-Url: https://github.com/erbanku/code-pilot/sessions/531462e5-e30b-4196-bcd2-514589a021e0

Co-authored-by: erbanku <79493862+erbanku@users.noreply.github.com>
@erbanku erbanku changed the title fix(release): correct broken Windows installer download link feat: add option to hide conflict warnings for multiple Claude Code installations Apr 2, 2026
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.

Feature Request: Ability to disable conflict checking or allow the user to choose the version

2 participants