pierrejeambrun commented on code in PR #51003:
URL: https://github.com/apache/airflow/pull/51003#discussion_r2104720887


##########
airflow-core/docs/administration-and-deployment/plugins.rst:
##########
@@ -192,13 +194,28 @@ definitions in Airflow.
         "name": "Name of the Middleware",
     }
 
+    # Creating a iframe view that will be rendered in the Airflow UI.
+    iframe_view_with_metadata = {
+        "name": "Name of the Iframe View",
+        # Source URL of the iframe. This URL can be templated using context 
variables.
+        "src": "https://example.com/{DAG_ID}/{RUN_ID}/{TASK_ID}";,
+        # Destination of the iframe view. This is used to determine where the 
iframe will be loaded in the UI.
+        # Supported locations are Literal["nav", "dag", "dag_run", "task", 
"task_instance"]
+        "destination": "dag_run",
+        # Optional icon, anything from Font Awesome can be used there.
+        "icon": "fa-globe",

Review Comment:
   Modified to plain url to svg



-- 
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]

Reply via email to