Skip to content

Improve HITL form UX - #68397

Merged
vatsrahul1001 merged 5 commits into
apache:mainfrom
astronomer:claude/hitl-ux-updates
Jun 16, 2026
Merged

vatsrahul1001 merged 5 commits into
apache:mainfrom
astronomer:claude/hitl-ux-updates

Conversation

@bbovenzi

Copy link
Copy Markdown
Contributor

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

Screenshot 2026-06-11 at 11 26 27 AM Screenshot 2026-06-11 at 11 26 22 AM
Was generative AI tooling used to co-author this PR?
  • Yes (please specify the tool below)
    Clause Sonnet 4.6

  • Read the Pull Request Guidelines for more information. Note: commit author/co-author name and email in commits become permanently public when merged.
  • For fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
  • When adding dependency, check compliance with the ASF 3rd Party License Policy.
  • For significant user-facing changes create newsfragment: {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.

@bbovenzi bbovenzi added this to the Airflow 3.3.0 milestone Jun 11, 2026
@boring-cyborg boring-cyborg Bot added the area:UI Related to UI/UX. For Frontend Developers. label Jun 11, 2026
@dheerajturaga

dheerajturaga commented Jun 12, 2026 •

Copy link
Copy Markdown
Member

@bbovenzi, these changes don't display the "Subject". They just display the options
image

also for some reason, the value of the information text box in my example shows up as an object causing this task to fail
image

    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 pierrejeambrun left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same for me, I can confirm the rendering issue identified by @dheerajturaga.

@jscheffl

jscheffl commented Jun 14, 2026 •

Copy link
Copy Markdown
Contributor

Can confirm "Subject" heading is missing on some forms. Else I like it.

Something went wrong as well, also the default value was rendered as JavaScript object:
image

@pierrejeambrun

Copy link
Copy Markdown
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

@bbovenzi

Copy link
Copy Markdown
Contributor Author

Thanks all!

@dheerajturaga dheerajturaga left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great! Works really well!

@vatsrahul1001
vatsrahul1001 merged commit ec850df into apache:main Jun 16, 2026
85 checks passed
@vatsrahul1001
vatsrahul1001 deleted the claude/hitl-ux-updates branch June 16, 2026 05:15
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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:UI Related to UI/UX. For Frontend Developers.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants