Skip to content

Comments

Some cm improvements#1891

Merged
bajrangCoder merged 2 commits intoAcode-Foundation:mainfrom
bajrangCoder:some-cm-improvements-1
Feb 21, 2026
Merged

Some cm improvements#1891
bajrangCoder merged 2 commits intoAcode-Foundation:mainfrom
bajrangCoder:some-cm-improvements-1

Conversation

@bajrangCoder
Copy link
Member

  • list only codemirror supported plugins
  • add tomorrow theme

@greptile-apps
Copy link
Contributor

greptile-apps bot commented Feb 21, 2026

Greptile Summary

Added two new Tomorrow-themed editor themes (Tomorrow Night and Tomorrow Night Bright) and implemented API filtering to show only CodeMirror-compatible plugins in the marketplace.

Key Changes:

  • Added Tomorrow Night and Tomorrow Night Bright themes following the existing CodeMirror theme pattern
  • Modified plugin marketplace to append supported_editor=cm query parameter to all API requests
  • Ensures users only see plugins compatible with the CodeMirror editor currently in use

Confidence Score: 5/5

  • This PR is safe to merge with no issues found
  • The changes follow existing patterns perfectly, add useful functionality, and have no logic or syntax errors. The theme implementations are consistent with other themes in the codebase, and the API filtering is implemented consistently across both plugin interfaces.
  • No files require special attention

Important Files Changed

Filename Overview
src/cm/themes/tomorrowNight.js New Tomorrow Night theme implementation following existing CodeMirror theme patterns
src/cm/themes/tomorrowNightBright.js New Tomorrow Night Bright theme implementation following existing patterns
src/cm/themes/index.js Registers both new Tomorrow themes with proper imports and addTheme calls
src/pages/plugins/plugins.js Adds supported_editor=cm parameter to all plugin API requests for filtering
src/sidebarApps/extensions/index.js Adds supported_editor=cm parameter to all plugin API requests for filtering

Last reviewed commit: 8665605

@bajrangCoder bajrangCoder merged commit 5bfd76b into Acode-Foundation:main Feb 21, 2026
5 checks passed
@bajrangCoder bajrangCoder deleted the some-cm-improvements-1 branch February 21, 2026 12:56
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.

1 participant