Repository navigation
Improve HITL form UX - #68397
Merged
Merged
Improve HITL form UX#68397
Conversation
bbovenzi
requested review from
choo121600,
guan404ming,
pierrejeambrun,
ryanahamilton,
shubhamraj-git and
vatsrahul1001
as code owners
June 11, 2026 17:32
Member
|
@bbovenzi, these changes don't display the "Subject". They just display the options also for some reason, the value of the information text box in my example shows up as an object causing this task to fail wait_for_input = HITLEntryOperator(
task_id="wait_for_input",
subject="Please provide required information: ",
params={"information": Param("", type="string")},
notifiers=[hitl_request_callback],
on_success_callback=hitl_success_callback,
on_failure_callback=hitl_failure_callback,
) |
pierrejeambrun
left a comment
Member
There was a problem hiding this comment.
Same for me, I can confirm the rendering issue identified by @dheerajturaga.
choo121600
reviewed
Jun 12, 2026
Contributor
Member
|
I just pushed a commit that fix the displaying issue mentioned above, as well as fixed the cache invalidation to have the forms 'response' correctly displayed after a successful submit. Screen.Recording.2026-06-15.at.18.56.27.mov |
choo121600
approved these changes
Jun 15, 2026
Contributor
Author
|
Thanks all! |
pierrejeambrun
approved these changes
Jun 15, 2026
dheerajturaga
approved these changes
Jun 16, 2026
dheerajturaga
left a comment
Member
There was a problem hiding this comment.
Great! Works really well!
vatsrahul1001
approved these changes
Jun 16, 2026
RulerChen
pushed a commit
to RulerChen/airflow
that referenced
this pull request
Jun 16, 2026
* Improve HITL form UX * Fix required action filter * Fix required action filter button * Fix HITL form showing [object Object] default and missing subject heading * Invalidate cash after success hitl submission --------- Co-authored-by: pierrejeambrun <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Our HITL was never great, while #68346 is doing a full modal overhaul. This PR removed the accordion from the hitl forms since it was not needed. Also, make sure that responses are actually rendered in a disabled form when looking at older actions.
Also, fixed a mismatched colors for the Dags List filter button
Was generative AI tooling used to co-author this PR?
Clause Sonnet 4.6
{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.