Skip to content

[v3-3-test] UI: Move JSON validation and prettifying into JsonEditor (#70380) - #70554

Merged
potiuk merged 1 commit into
v3-3-testfrom
backport-f5e3c1e-v3-3-test
Jul 28, 2026
Merged

[v3-3-test] UI: Move JSON validation and prettifying into JsonEditor (#70380)#70554
potiuk merged 1 commit into
v3-3-testfrom
backport-f5e3c1e-v3-3-test

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

The validate-and-prettify logic for JSON input lived in
CreateAssetEventModal with a TODO asking to move it into the shared
JsonEditor. It now lives behind new optional prettify/onError props so
any JSON input in the UI can opt in instead of re-implementing it.
(cherry picked from commit f5e3c1e)

Co-authored-by: Yang 773542570@qq.com

…70380)

The validate-and-prettify logic for JSON input lived in
CreateAssetEventModal with a TODO asking to move it into the shared
JsonEditor. It now lives behind new optional prettify/onError props so
any JSON input in the UI can opt in instead of re-implementing it.
(cherry picked from commit f5e3c1e)

Co-authored-by: Yang <773542570@qq.com>
@boring-cyborg boring-cyborg Bot added the area:UI Related to UI/UX. For Frontend Developers. label Jul 27, 2026
@potiuk
potiuk marked this pull request as ready for review July 28, 2026 14:23
@potiuk
potiuk merged commit 7c66d3b into v3-3-test Jul 28, 2026
141 of 144 checks passed
@potiuk
potiuk deleted the backport-f5e3c1e-v3-3-test branch July 28, 2026 17:10
@github-actions github-actions Bot added this to the Airflow 3.3.2 milestone Jul 28, 2026
@github-actions

Copy link
Copy Markdown
Contributor Author

Hi maintainer, this PR was merged without a milestone set.
We've automatically set the milestone to Airflow 3.3.2 based on: merged to version branch
If this milestone is not correct, please update it to the appropriate milestone.

This comment was generated by Milestone Tag Assistant.

vatsrahul1001 pushed a commit that referenced this pull request Aug 5, 2026
…70380) (#70554)

The validate-and-prettify logic for JSON input lived in
CreateAssetEventModal with a TODO asking to move it into the shared
JsonEditor. It now lives behind new optional prettify/onError props so
any JSON input in the UI can opt in instead of re-implementing it.
(cherry picked from commit f5e3c1e)

Co-authored-by: Yang <773542570@qq.com>
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.

4 participants