fix(sql-editor): remove slash-triggered AI entry - #2258
Merged
Conversation
openai0229
force-pushed
the
fix/2255-remove-slash-ai-trigger
branch
from
July 27, 2026 12:33
dea0228 to
6319de2
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Related issue
Related to #2255
Summary
Remove the legacy
/-triggered AI entry from the SQL editor because the current interaction is unreliable and conflicts with normal SQL input.This removes both
BuiltInCopilotimplementations, Monaco overlay/view-zone handling, slash and global keyboard listeners, the slash-trigger placeholder, the legacy AI float layer, and workspace state used only by that flow. Explicit AI features such as the right-side AI panel, SQL optimization, and AI table creation remain unchanged.The replacement interaction and execution model will be designed separately in Discussion #2256.
Affected surfaces
Verification
yarn lint- passedyarn test:i18n- passedyarn build:web:community --app_version=5.3.0- passedgit diff --check- passedhttp://localhost:10825/api/system, frontendhttp://localhost:8889/workspace, and the frontend-proxied API returned HTTP 200 after restart.Risk and compatibility
/keyboard trigger and its dedicated overlay/state path; normal SQL editing is preserved.Reviewer map
chat2db-community-client/src/components/SQLEditor/editor/SQLEditorWithOperation/index.tsx/still opens an AI overlay, or normal SQL editing and explicit AI features regress.Contributor declaration
AI assistance: Substantial AI assistance was used for implementation, cleanup, and verification.