Skip to content

Conversation

@bbovenzi
Copy link
Contributor

@bbovenzi bbovenzi commented Jul 3, 2025

If an external_view plugin has a destination of "dag", "dag_run", "task_instance" or "task", we will add it as a tab for those pages.

The icon will appear when the details panel is condensed

We will fill in {dag_id}, {run_id}, {task_id}, if they exist, in the href to pass to the iframe component to show details specific to that dag, run, task.

Below: using Airflow as a plugin inside of Airflow
Screenshot 2025-07-03 at 11 20 11 AM
Screenshot 2025-07-03 at 11 20 24 AM


^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in airflow-core/newsfragments.

@boring-cyborg boring-cyborg bot added the area:UI Related to UI/UX. For Frontend Developers. label Jul 3, 2025
Copy link
Contributor

@jscheffl jscheffl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool! Looks good to me and code seems to be really lean!

Copy link
Member

@pierrejeambrun pierrejeambrun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Super cool PR 🎉
Just a few suggestions

@pierrejeambrun pierrejeambrun changed the title Add iframe plugins as tabs on dag pages [AIP-68] Add iframe plugins as tabs on dag pages Jul 4, 2025
@pierrejeambrun pierrejeambrun mentioned this pull request Jul 4, 2025
1 task
@pierrejeambrun pierrejeambrun changed the title [AIP-68] Add iframe plugins as tabs on dag pages AIP-68 - Add iframe plugins as tabs on dag pages Jul 4, 2025
@bbovenzi bbovenzi merged commit fc116c3 into apache:main Jul 8, 2025
53 checks passed
@bbovenzi bbovenzi deleted the iframe-plugin-tabs branch July 8, 2025 21:31
HsiuChuanHsu pushed a commit to HsiuChuanHsu/airflow that referenced this pull request Jul 10, 2025
* Add iframes plugins as Tabs on dag pages

* Cleanup code after PR feedback
stephen-bracken pushed a commit to stephen-bracken/airflow that referenced this pull request Jul 15, 2025
* Add iframes plugins as Tabs on dag pages

* Cleanup code after PR feedback
@jscheffl jscheffl added the AIP-68 Extended Plugin Interface for React Views label Jul 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

AIP-68 Extended Plugin Interface for React Views area:UI Related to UI/UX. For Frontend Developers.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants