Skip to content

Consolidate JSON editors to Monaco#62708

Draft
guan404ming wants to merge 1 commit intoapache:mainfrom
guan404ming:consolidate-editors-to-monaco
Draft

Consolidate JSON editors to Monaco#62708
guan404ming wants to merge 1 commit intoapache:mainfrom
guan404ming:consolidate-editors-to-monaco

Conversation

@guan404ming
Copy link
Member

Why

The UI bundled three separate editor libraries (CodeMirror, react-json-view, Monaco) for JSON editing and display, adding unnecessary dependency weight.

How

  • Replace CodeMirror-based JsonEditor and react-json-view-based RenderedJsonField with Monaco
  • Remove @codemirror/lang-json, @uiw/codemirror-themes-all, @uiw/react-codemirror, and react-json-view dependencies
  • Update all consumer components to use the new prop interfaces

Was generative AI tooling used to co-author this PR?
  • Yes (please specify the tool below)
    Claude Code with Opus 4.6

  • Read the Pull Request Guidelines for more information. Note: commit author/co-author name and email in commits become permanently public when merged.
  • For fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
  • When adding dependency, check compliance with the ASF 3rd Party License Policy.
  • For significant user-facing changes create newsfragment: {pr_number}.significant.rst or {issue_number}.significant.rst, in airflow-core/newsfragments.

Signed-off-by: Guan-Ming (Wesley) Chiu <105915352+guan404ming@users.noreply.github.com>
@boring-cyborg boring-cyborg bot added the area:UI Related to UI/UX. For Frontend Developers. label Mar 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:UI Related to UI/UX. For Frontend Developers.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant