UI: Render dict/list rendered template fields as collapsible JSON#68033
Open
haydn-j-evans wants to merge 2 commits into
Open
UI: Render dict/list rendered template fields as collapsible JSON#68033haydn-j-evans wants to merge 2 commits into
haydn-j-evans wants to merge 2 commits into
Conversation
|
Congratulations on your first Pull Request and welcome to the Apache Airflow community! If you have any issues or are unsure about any anything please check our Contributors' Guide
|
haydn-j-evans
pushed a commit
to haydn-j-evans/airflow
that referenced
this pull request
Jun 4, 2026
added 2 commits
June 5, 2026 08:01
Object- and array-valued rendered template fields (e.g. the Spark operator's template_spec) were shown as a single syntax-highlighted line. Render them with the Monaco-based RenderedJsonField instead, expanded by default, consistent with how XCom values and Dag run conf are displayed. String and scalar fields keep the existing SyntaxHighlighter rendering. RenderedJsonField gains an opt-in showStructureGuides prop (default false, so existing usages are unchanged) that enables navigation aids for large, deeply-nested JSON: bracket-pair colorization, indentation/bracket guides, sticky-scroll parent context, and always-visible folding controls. The rendered templates view opts in.
3058f78 to
2ff988b
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.
Object- and array-valued rendered template fields (e.g. the Spark operator's
template_spec) were displayed as a single syntax-highlighted line. This renders them with the Monaco-basedRenderedJsonFieldinstead — a foldable JSON view, expanded by default — consistent with how XCom values and Dag run conf are shown. String/scalar fields keep the existingSyntaxHighlighterrendering.RenderedJsonFieldgains an opt-inshowStructureGuidesprop (defaultfalse, so all existing usages are unchanged) that enables navigation aids for large, deeply nested JSON: bracket-pair colorization, indentation/bracket guides, sticky-scroll parent context, and always-visible folding controls. The rendered templates view opts in.related: #61834
Was generative AI tooling used to co-author this PR?
Generated-by: Claude Code (Claude Opus 4.8) following the guidelines