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


##########
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",

Review Comment:
   If it is nav, then it will always be a top-level element? Or could we also 
consider (like in Airflow 2.x) that menu entries are added in existing menus 
like "Admin" or "Docs"?



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