Repository navigation
Add notification UX for HITL actions - #68346
Conversation
|
Nice work! One suggestion: this PR changes the core Required Actions navigation (tab/page --> modal + drawer + route-sync deep-link), but the new flow isn't covered by e2e tests yet. Would it be worth adding e2e scenarios for the new UX? |
|
@choo121600 Thanks for the suggestion! I'm adding some E2E tests and temporarily marked the PR as a draft. Should be done soon. |
|
Nice work - I just tested from UX perspective (not reviewing code) and I like it. Just one nit: Compared to the rest of UI and other modals the font pitch is lower than in other areas. Font sizes should be adjusted to other UI standards. |
Thanks! Adjusted the sizes to match the UI standards and simplified the props.( 2f71255, 20a0db6)
|
f10c8ae to
256c5c8
Compare
|
@parkhojeong I just added a commit to address my previous comments and fix some of the pagination / number displayed confusion, if you want to take a look. I'll rebase the branch and fix conflicts. What do you think is there left before we can make this 'ready for review'? |
|
Sorry to rush this, but it's actually blocking 3.3.0 beta release process. Just trying my best to help and make this move forward. |
Thanks! I've addressed both jscheffl's and your comments. For now, your comments seem to be resolved. (the jscheffl's comment was about styling.) The last remaining is choo's comment about E2E tests. I'm doing a final check and polishing things up a bit. |
Thanks for the work!
|
|
@pierrejeambrun |
256c5c8 to
a152dfc
Compare
|
I just pushed the rebase for conflicts. I'm now doing some testing, feel free to update the branch as you see fit |
Restore changes dropped during branch sync
Restore changes dropped during branch sync
Aligned the layout in cee799e.
|
|
@parkhojeong thanks. Lets not make more change now, I think it's ready this needs to be merged. |
Got it. One thing I noticed. when the items exceed the limit(default is 50), the list header count may not match the list. Because For example, total_entries is 3 while the limit is set to 1.
|
|
I think the number of action should be the 'real' number of actions. This implementation of the modal only allows to display and answer the first page. Which can be a follow up improvement. |
|
User needs to go to 'review all' to see all of them. Or answer the first 100 page. Then close and re-open the modal. It's just showing the first 100. (quick action on the first 100 items) |
|
I'll add a small note, also we are missing a button on the 'daglist' modal |
I think the current approach provides a reasonable UX. We can improve it later if needed. |
|
CI was failing I just pushed, this will restart the CI and we should be good. |
|
Looks great, thanks! |











Create a HITL notification for quick actions. It helps users quickly respond to pending HITL tasks through a modal or drawer.
Modal: show pending HITL tasks with quick actions.
/): When the Required Actions button is clicked, show a modal containing all pending HITL tasks./dags): When the Required Actions filter is active and the Required Actions badge is clicked, show a modal containing tasks for that DAG./dags/{dag_id}): Replace the Required Actions tab with a Required Actions button. When the button is clicked, show a modal containing tasks for that DAG.dags/{dag_id}/runs/{dag_run_id}): Replace the Required Actions tab with a Required Actions button. When the button is clicked, show a modal containing tasks for that DAG run.Notes
Drawer: show the action for pending HITL task.
/required_actions): When a drawer icon button is clicked, show a drawer containing the task details.Screenshots
Home(Modal)
Dags (Modal)
Dag page (Modal)
Dag Run page (Modal)
Browse -> Required Actions(Drawer)
Recordings
Modal
Screen.Recording.2026-06-16.at.23.28.38.mp4
Drawer
Screen.Recording.2026-06-16.at.23.30.05.mp4
Was generative AI tooling used to co-author this PR?
{pr_number}.significant.rst, in airflow-core/newsfragments. You can add this file in a follow-up commit after the PR is created so you know the PR number.