Skip to content

Conversation

@jscheffl
Copy link
Contributor

@jscheffl jscheffl commented Feb 9, 2025

After the flexible trigger form and also DAG run notes evolved on other screens, this is a small cleanup and UI polishing:

  • Align labels and etry firlds on the advanced part with other fields in Flexible Trigger Form (Two columns, label left, entry box right==horizontal
  • Use the same note preview with markdown like the other Task Instance Note / Dag Run Note fields evolved in parallel
  • Unfortunately the linter raised the problem that file-too-long so I needed to extract a TS component out of the file which made the PR larger than I wanted to. Hope the eslint exception about 4 params is OK?

Before this PR

image

After this PR (updated after review comments)

image

...and after exiting the notes:

image

FYI @shubhamraj-git

@boring-cyborg boring-cyborg bot added the area:UI Related to UI/UX. For Frontend Developers. label Feb 9, 2025
@jscheffl jscheffl force-pushed the feature/align-layout-in-trigger-form branch from eeff561 to 4ca60f7 Compare February 9, 2025 21:28
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.

Looks good.

Just a minor comment!

@jscheffl
Copy link
Contributor Author

Thanks @shubhamraj-git for pushing some changes!
I think now as the component is extracted this leaves the option to move back the JavaScript into the component w/o linter errors. Let me reverse this...

@jscheffl jscheffl merged commit 1b68875 into apache:main Feb 14, 2025
35 checks passed
dantonbertuol pushed a commit to dantonbertuol/airflow that referenced this pull request Feb 17, 2025
* Align layout in trigger form with flexible form

* Align helper text for Run ID as well

* Take out the editable markdown

* Revert extraction of JavaScript

* Fix layout inconsistency after merge with Logical Date upstream

---------

Co-authored-by: shubhamraj-git <shubhamraj.osc@gmail.com>
Co-authored-by: Shubham Raj <48172486+shubhamraj-git@users.noreply.github.com>
@jscheffl jscheffl deleted the feature/align-layout-in-trigger-form branch October 5, 2025 07:39
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.

4 participants