GitHub user thriveni986 added a comment to the discussion: Navbar disappears
when loading React Plugin (Airflow 3.1.x)
Thank you for the response!
I understand the distinction now. The example using appbuilder_views applies to
the traditional Flask-based UI. However, I’m currently working with Apache
Airflow 3.x and trying to build a plugin using the newer React-based plugin
system (AIP-68), so I’m using react_apps instead.
from airflow.plugins_manager import AirflowPlugin
class NewPlugin(AirflowPlugin):
name = "newplugin"
react_apps = [
{
"name": "Sample Plugin",
"category": "browser",
"bundle_url": "/newplugin/main.js",
"destination": "nav",
"url_route": "newplugin"
}
]
Note: If I use appbuilder_views, my plugin appears in the legacy views, not the
modern Airflow 3.x UI. So I need to use react_apps for the new interface.
My question is: Are there any working examples or reference repositories that
demonstrate a fully functional react_apps plugin rendering correctly inside the
Airflow layout?
GitHub link:
https://github.com/apache/airflow/discussions/64149#discussioncomment-16377078
----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]