abhishekbhakat opened a new pull request, #51041:
URL: https://github.com/apache/airflow/pull/51041

   This PR introduces React-based UI plugin support for Airflow 3. 
   The implementation adds a new `ui` field to the `AirflowPlugin` class that 
accepts plugin configurations with fields for `slug`, `label`, `icon`, `entry`, 
`type`, and `permissions`. 
   Two plugin types are supported: 
   - iframe (currently implemented and recommended) which renders plugins 
within iframes in the Airflow layout
   - module (planned for future release) which will use Module Federation for 
tighter React integration. 
   
   A new API endpoint `/api/v2/plugins/ui-plugins` provides plugin discovery 
for dynamic sidebar navigation, returning data through two new models: 
   - `UiPluginResponse` (representing individual plugin metadata) 
   - `UiPluginCollectionResponse` (wrapping multiple plugins with pagination 
support following standard REST patterns). 
   
   The plugins automatically inherit Airflow's theme synchronization between 
light and dark modes given the js added as per guide.
   
   The PR includes documentation with step-by-step development tutorials, theme 
integration examples, Python packaging guides using hatch, and troubleshooting 
sections to support plugin developers in creating production-ready extensions.


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