Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Align Trigger DAG params in grid layout#67905

Closed
Codingaditya17 wants to merge 1 commit into
apache:mainapache/airflow:mainfrom
Codingaditya17:fix-trigger-dag-param-grid-layoutCodingaditya17/airflow:fix-trigger-dag-param-grid-layoutCopy head branch name to clipboard
Closed

Align Trigger DAG params in grid layout#67905
Codingaditya17 wants to merge 1 commit into
apache:mainapache/airflow:mainfrom
Codingaditya17:fix-trigger-dag-param-grid-layoutCodingaditya17/airflow:fix-trigger-dag-param-grid-layoutCopy head branch name to clipboard

Conversation

@Codingaditya17

@Codingaditya17 Codingaditya17 commented Jun 2, 2026

Copy link
Copy Markdown
Contributor

Closes: #67852

This updates the FlexibleForm field row layout to use a responsive two-column grid.

The label is rendered in the left column and the field control is rendered in a dedicated right column, which keeps boolean switches and other controls aligned consistently across params with different label lengths.

Long labels are allowed to wrap safely with overflowWrap="anywhere" and the layout falls back to a single column on smaller screens.

Tested with:

cd airflow-core/src/airflow/ui
PNPM_IGNORE_SCRIPTS=true pnpm lint

@boring-cyborg boring-cyborg Bot added the area:UI Related to UI/UX. For Frontend Developers. label Jun 2, 2026
@Codingaditya17
Codingaditya17 force-pushed the fix-trigger-dag-param-grid-layout branch from 01d0089 to 92b73b8 Compare June 2, 2026 15:36
@Codingaditya17
Codingaditya17 force-pushed the fix-trigger-dag-param-grid-layout branch from 92b73b8 to 3469c7b Compare June 2, 2026 18:33

@Abdeltoto Abdeltoto left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Looks good to me. The change is nicely scoped to FieldRow, keeps the validation/helper/error rendering intact, and addresses the alignment problem described in #67852. CI is green.

Non-blocking: the Tested with code block in the PR description looks like it may be missing its closing backticks.

@Codingaditya17

Copy link
Copy Markdown
Contributor Author

Thanks for the review and approval! I updated the PR description to close the Tested with code block properly.

@pedro-cf

pedro-cf commented Jun 3, 2026

Copy link
Copy Markdown

Hi @Codingaditya17 , thank you for your work! I would keep in mind these incoming changes #67859

@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.

This is what I'm getting currently on main with your change in it:

Image

It doesn't look right.

PLease add before/after screenshots when working on UI contribution (as per our contribution guide)

@pierrejeambrun
pierrejeambrun marked this pull request as draft June 3, 2026 12:33
@pierrejeambrun

Copy link
Copy Markdown
Member

Closing in favor of #67859 that is ready to be merged.

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.

Trigger DAG modal: two-column layout for params (label left, control right)

4 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.