ABiscuitttt commented on issue #71274: URL: https://github.com/apache/airflow/issues/71274#issuecomment-5216175461
Tested **Apache Airflow 3.3.1rc1** for #70554. Environment: - Python 3.12.3, fresh venv - `pip install apache-airflow==3.3.1rc1` - `airflow db migrate` + `airflow standalone` - UI reachable at `http://localhost:8080` Verification: - Confirmed the built UI bundle (`airflow/ui/dist/assets/index-*.js`) contains the refactored `JsonEditor` component with the new `prettify` and `onError` props. - Confirmed `CreateAssetEventModal` now renders: ```jsx <JsonEditor onChange={setExtra} onError={setExtraError} prettify value={extra} /> ``` - Confirmed the prettify logic in the bundle: ```js let formattedJson = JSON.stringify(JSON.parse(val), undefined, 2); onError?.(undefined); if (formattedJson !== value) { onChange?.(formattedJson); } ``` and parse errors are reported via `onError(error.message)`. Airflow standalone started cleanly, the web UI loads, and the auth page redirects correctly. The backport from #70380 is present in 3.3.1rc1. - [x] [[v3-3-test] UI: Move JSON validation and prettifying into JsonEditor (#70380) (#70554)](https://github.com/apache/airflow/pull/70554) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
