bbovenzi commented on code in PR #29413:
URL: https://github.com/apache/airflow/pull/29413#discussion_r1122384454
##
airflow/www/static/js/dag/index.tsx:
##
@@ -30,13 +31,24 @@ import Main from "./Main";
// create shadowRoot
const root = document.querySelector("#root");
bbovenzi commented on code in PR #29413:
URL: https://github.com/apache/airflow/pull/29413#discussion_r1119101266
##
airflow/www/static/js/dag/details/index.tsx:
##
@@ -17,23 +17,89 @@
* under the License.
*/
-import React from 'react';
+import React, { useEffect,
bbovenzi commented on code in PR #29413:
URL: https://github.com/apache/airflow/pull/29413#discussion_r1119101266
##
airflow/www/static/js/dag/details/index.tsx:
##
@@ -17,23 +17,89 @@
* under the License.
*/
-import React from 'react';
+import React, { useEffect,
bbovenzi commented on code in PR #29413:
URL: https://github.com/apache/airflow/pull/29413#discussion_r1116075518
##
airflow/www/static/js/dag/details/graph/Node.tsx:
##
@@ -0,0 +1,156 @@
+/*!
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more
bbovenzi commented on code in PR #29413:
URL: https://github.com/apache/airflow/pull/29413#discussion_r1116070096
##
airflow/www/static/js/dag/details/graph/utils.ts:
##
@@ -0,0 +1,116 @@
+/*!
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more
bbovenzi commented on code in PR #29413:
URL: https://github.com/apache/airflow/pull/29413#discussion_r1114817390
##
airflow/www/views.py:
##
@@ -3591,6 +3591,42 @@ def extra_links(self, *, session: Session = NEW_SESSION):
else:
return {"url": None,
bbovenzi commented on code in PR #29413:
URL: https://github.com/apache/airflow/pull/29413#discussion_r1114762187
##
airflow/www/webpack.config.js:
##
@@ -136,6 +137,15 @@ const config = {
'css-loader',
],
},
+ // Extract css files
+ {
+
bbovenzi commented on code in PR #29413:
URL: https://github.com/apache/airflow/pull/29413#discussion_r1104764231
##
airflow/www/static/js/dag/details/index.tsx:
##
@@ -17,23 +17,89 @@
* under the License.
*/
-import React from 'react';
+import React, { useEffect,
bbovenzi commented on code in PR #29413:
URL: https://github.com/apache/airflow/pull/29413#discussion_r1104764231
##
airflow/www/static/js/dag/details/index.tsx:
##
@@ -17,23 +17,89 @@
* under the License.
*/
-import React from 'react';
+import React, { useEffect,