Skip to content

Fix RenderedJsonField collapse behavior#63831

Open
pierrejeambrun wants to merge 3 commits intoapache:mainfrom
astronomer:fix-renderedjsonfield-collapse
Open

Fix RenderedJsonField collapse behavior#63831
pierrejeambrun wants to merge 3 commits intoapache:mainfrom
astronomer:fix-renderedjsonfield-collapse

Conversation

@pierrejeambrun
Copy link
Member

@pierrejeambrun pierrejeambrun commented Mar 17, 2026

Fix the height of the editor not collapsing when the json was collapsed. (it would keep occupying the same vertical space)

Before

Screenshot 2026-03-18 at 12 39 38

After

Screenshot 2026-03-18 at 12 38 52
Was generative AI tooling used to co-author this PR?
  • Yes (please specify the tool below)

  • 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, in airflow-core/newsfragments. You can add this file in a follow-up commit after the PR is created so you know the PR number.

@pierrejeambrun pierrejeambrun force-pushed the fix-renderedjsonfield-collapse branch from e187217 to c691464 Compare March 17, 2026 15:20
Copy link
Contributor

@amoghrajesh amoghrajesh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not an expert but the screenshots look good. Could use another approval from UI folks.

@amoghrajesh amoghrajesh changed the title Fix renderedjsonfield collapse Fix RenderedJsonField collapse behavior Mar 18, 2026
@pierrejeambrun pierrejeambrun added the full tests needed We need to run full set of tests for this PR to merge label Mar 18, 2026
@pierrejeambrun pierrejeambrun removed the full tests needed We need to run full set of tests for this PR to merge label Mar 18, 2026
@pierrejeambrun
Copy link
Member Author

pierrejeambrun commented Mar 18, 2026

Need to adjust, this is causing other problems. Basically we need to keep the monaco editor everywhere instead of replacing with 'code'. (loosing the ability to single expand, etc...)

edit: Adjusted

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:translations area:UI Related to UI/UX. For Frontend Developers. translation:default

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants