revert(ai): remove long markdown code fix - #1963
Merged
Merged
Conversation
3 tasks
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
Reverts #1907
Related to #1905
Summary
The long Markdown/SQL layout work did not resolve the packaged Community desktop behavior after multiple revisions. At maintainer direction, stop this implementation path and restore the AI Markdown renderer and styles to their state before PR #1907.
This revert removes every change introduced by merge commit
1cf3c535c6f2155067295e9e187e06f17b3bcc0d:MarkdownCodeBlocklanguage detection and ReactMarkdownprebehavior.markdownCodehelper and its focused test.The unmerged follow-up PR #1960 was closed separately and its branch/artifacts were deleted.
Affected surfaces
Verification
git revert -m 1 1cf3c535c6f2155067295e9e187e06f17b3bcc0d- completed; conflicts were limited to later adjacent CI/package entries.yarn eslint src/blocks/AI/index.tsx src/blocks/AI/style.ts --max-warnings=0- passed.package.jsonJSON parse - passed.git diff HEAD^ --check- passed.yarn build:web:community --app_version=5.3.1- passed; Webpack compiled successfully.+86/-4patch as+4/-86.src/blocks/AI/index.tsxandsrc/blocks/AI/style.tsmatch the pre-merge blobs from975592ce.markdownCode.tsx,markdownCode.test.tsx, and all associated references are absent.active-tab-locator,execution-console, and Community operations entries remain present.Risk and compatibility
Reviewer map
1cf3c535, then inspect the preserved neighboring entries in.github/workflows/ci.ymlandchat2db-community-client/package.json.Contributor declaration
AI assistance: Codex identified the exact merge commit, performed the first-parent Git revert, preserved later unrelated conflict-side additions, verified blob and patch equivalence, and ran the reported checks. The maintainer explicitly directed abandonment and rollback of this fix path.