Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create iframe UI plugins #42708

Open
bbovenzi opened this issue Oct 3, 2024 · 0 comments
Open

Create iframe UI plugins #42708

bbovenzi opened this issue Oct 3, 2024 · 0 comments
Labels
AIP-68 Extended Plugin Interface for React Views AIP-84 Modern Rest API area:API Airflow's REST/HTTP API area:plugins area:UI Related to UI/UX. For Frontend Developers.

Comments

@bbovenzi
Copy link
Contributor

bbovenzi commented Oct 3, 2024

Simpler than react components for plugins, we allow users to just render a webpage inside of an iframe.

This will take the same spec as react components as specified in #42702 but the ui_view.type needs to be "iframe" and an iframe_link needs to be specified.

Then a GET /plugins endpoint on FastAPI will need to read from the plugins manager and send the plugin spec to the UI. The UI can then render the url in an iframe.

Later on, we will need to add support passing props to the iframe via url parameters to load the right page.

@bbovenzi bbovenzi converted this from a draft issue Oct 3, 2024
@bbovenzi bbovenzi added the AIP-68 Extended Plugin Interface for React Views label Oct 3, 2024
@dosubot dosubot bot added area:plugins area:UI Related to UI/UX. For Frontend Developers. labels Oct 3, 2024
@bbovenzi bbovenzi changed the title Create iframe plugin Create iframe UI plugins Oct 3, 2024
@bbovenzi bbovenzi added AIP-84 Modern Rest API area:API Airflow's REST/HTTP API labels Oct 3, 2024
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 AIP-84 Modern Rest API area:API Airflow's REST/HTTP API area:plugins area:UI Related to UI/UX. For Frontend Developers.
Projects
Development

No branches or pull requests

1 participant