Skip to content

Conversation

@guan404ming
Copy link
Member

@guan404ming guan404ming commented Jul 8, 2025

Related Issue and PR

Issue - #52094
API - #52868

How

Screen.Recording.2025-07-21.at.5.17.04.AM.mov

^ 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 area:API Airflow's REST/HTTP API area:translations area:UI Related to UI/UX. For Frontend Developers. translation:default translation:zh-TW labels Jul 8, 2025
@guan404ming guan404ming changed the title [WIP] Add [WIP] Add UI for Human in the loop operators Jul 8, 2025
@Lee-W Lee-W moved this to In progress in AIP-90 - Human in the loop Jul 11, 2025
@Lee-W
Copy link
Member

Lee-W commented Jul 11, 2025

Hey @guan404ming , the backend API has been merged. Could you please rebase from the main branch and see whether it works for the frontend?

the endpoints are detailed in #52868 (comment) and here're the example dags and the script to call rest API #52868 (comment)

@bbovenzi
Copy link
Contributor

Care to include screenshots when you're ready?

@guan404ming
Copy link
Member Author

Sure, I would attach them after I finished this. Thanks!

@guan404ming guan404ming force-pushed the hitl-ui branch 3 times, most recently from d637233 to 1744a19 Compare July 20, 2025 19:28
@guan404ming guan404ming changed the title [WIP] Add UI for Human in the loop operators [WIP] Add UI for human in the loop operators Jul 20, 2025
@guan404ming guan404ming changed the title [WIP] Add UI for human in the loop operators Add UI for human in the loop operators Jul 20, 2025
@guan404ming guan404ming marked this pull request as ready for review July 20, 2025 21:38
@jscheffl
Copy link
Contributor

Update: markdown render is enabled now for action body Screenshot 2025-07-31 at 10 56 02 PM

Very very cool! Can you add some example Markdown to the hitl example Dag? Otherwise once the conflict is resolved I'd propose to get this merged!

@guan404ming
Copy link
Member Author

Very very cool! Can you add some example Markdown to the hitl example Dag? Otherwise once the conflict is resolved I'd propose to get this merged!

Thanks for the review. I've resolved the conflict. I'll be working with @Jasperora to wrap up the UI-related docs. We'll add examples and handle the rest in the follow up PR.

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.

I think to update, looks good overall and I think it's a solid base to start building on top of it.

The UI will need some polishing. And as mentioned other auth providers need to be updated or this will not show in the UI for those users.

@guan404ming guan404ming force-pushed the hitl-ui branch 2 times, most recently from c53a710 to e70f51d Compare August 3, 2025 06:51
@Lee-W Lee-W force-pushed the hitl-ui branch 2 times, most recently from d38922f to e8e4877 Compare August 4, 2025 07:56
@Lee-W Lee-W merged commit ea3cb6b into apache:main Aug 4, 2025
103 checks passed
@github-project-automation github-project-automation bot moved this from In review to Done in AIP-90 - Human in the loop Aug 4, 2025
@jason810496
Copy link
Member

#protm 🚀

@Lee-W
Copy link
Member

Lee-W commented Aug 4, 2025

#protm 🚀

Ah right, I missed it 🤦‍♂️

@guan404ming
Copy link
Member Author

Thanks for all comments and reviews! 🙏

@guan404ming guan404ming deleted the hitl-ui branch August 4, 2025 12:15
@Lee-W Lee-W mentioned this pull request Aug 5, 2025
2 tasks
ferruzzi pushed a commit to aws-mwaa/upstream-to-airflow that referenced this pull request Aug 7, 2025
Co-authored-by: Wei Lee <weilee.rx@gmail.com>
fweilun pushed a commit to fweilun/airflow that referenced this pull request Aug 11, 2025
Co-authored-by: Wei Lee <weilee.rx@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:API Airflow's REST/HTTP API area:translations area:UI Related to UI/UX. For Frontend Developers. translation:default translation:zh-TW

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

7 participants