Skip to content

Fix clipping of Last run state badge - #72459

Merged
bbovenzi merged 1 commit into
apache:mainfrom
jasperjonkhans:issue-72283-last-run-pill
Sep 9, 2026
Merged

bbovenzi merged 1 commit into
apache:mainfrom
jasperjonkhans:issue-72283-last-run-pill

Conversation

@jasperjonkhans

Copy link
Copy Markdown
Contributor

Prevent Chakra's default select value clamping from clipping rich selected labels such as state badges in the Dags "Last run" filter.

Keep the existing clamping behavior for plain-text labels while allowing rich labels to render with visible overflow. Add a regression test covering a selected failed state badge.

closes: #72283

Validation

  • pnpm test src/components/FilterBar/FilterBar.test.tsx src/pages/DagsList/DagsList.test.tsx — 17 tests passed
  • pnpm lint
  • pnpm build
  • Live Breeze and Playwright verification
  • Confirm overflow: visible and -webkit-line-clamp: none in the rendered select value

Screenshots

Before

airflow-72283-pr-before-crop

After

airflow-72283-pr-after-crop
Was generative AI tooling used to co-author this PR?
  • Yes — assisted by Pi coding agent, with gpt-5.6-sol max effort

Generated-by: Pi coding agent following the guidelines


  • Read the Pull Request Guidelines
    for more information. Note: commit author/co-author name and email in commits become permanently public when merged.

Chakra's default select value clamping hides the lower edge of rich labels such as state badges.
@boring-cyborg

boring-cyborg Bot commented Sep 2, 2026

Copy link
Copy Markdown

Congratulations on your first Pull Request and welcome to the Apache Airflow community! If you have any issues or are unsure about any anything please check our Contributors' Guide
Here are some useful points:

  • Pay attention to the quality of your code (ruff, mypy and type annotations). Our prek-hooks will help you with that.
  • In case of a new feature add useful documentation (in docstrings or in docs/ directory). Adding a new operator? Check this short guide Consider adding an example Dag that shows how users should use it.
  • Consider using Breeze environment for testing locally, it's a heavy docker but it ships with a working Airflow and a lot of integrations.
  • Be patient and persistent. It might take some time to get a review or get the final approval from Committers.
  • Please follow ASF Code of Conduct for all communication including (but not limited to) comments on Pull Requests, Mailing list and Slack.
  • Be sure to read the Airflow Coding style.
  • Always keep your Pull Requests rebased, otherwise your build might fail due to changes not related to your commits.
    Apache Airflow is a community-driven project and together we are making it better 🚀.
    In case of doubts contact the developers at:
    Mailing List: [email protected]
    Slack: https://s.apache.org/airflow-slack

@jroachgolf84

Copy link
Copy Markdown
Collaborator

cc: @bbovenzi and @pierrejeambrun for a review.

@bbovenzi

bbovenzi commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

CI failure is separate

@bbovenzi
bbovenzi merged commit 4ddb6b4 into apache:main Sep 9, 2026
84 of 87 checks passed
@boring-cyborg

boring-cyborg Bot commented Sep 9, 2026

Copy link
Copy Markdown

Awesome work, congrats on your first merged pull request! You are invited to check our Issue Tracker for additional contributions.

@github-actions

github-actions Bot commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

Backport failed to create: v3-3-test. View the failure log Run details

Note: As of Merging PRs targeted for Airflow 3.X
the committer who merges the PR is responsible for backporting the PRs that are bug fixes (generally speaking) to the maintenance branches.

In matter of doubt please ask in #release-management Slack channel.

Status Branch Result
❌ v3-3-test Commit Link

You can attempt to backport this manually by running:

cherry_picker 4ddb6b4 v3-3-test

This should apply the commit to the v3-3-test branch and leave the commit in conflict state marking
the files that need manual conflict resolution.

After you have resolved the conflicts, you can continue the backport process by running:

cherry_picker --continue

If you don't have cherry-picker installed, see the installation guide.

vatsrahul1001 added a commit that referenced this pull request Sep 10, 2026
Chakra's default select value clamping hides the lower edge of rich labels such as state badges.

(cherry picked from commit 4ddb6b4)

Co-authored-by: jasperjonkhans <[email protected]>
dingzhencoding added a commit to dingzhencoding/airflow that referenced this pull request Sep 19, 2026
apache#72459 stopped the select trigger from clipping rich option labels, but
the collapsed FilterPill still renders the badge node itself inside a
fixed-height pill, so the selected state is cut off top and bottom.

Give select options an optional plain-text pillLabel and show it in the
collapsed pill, keeping badges in the trigger and dropdown menu as
merged in apache#72459.
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.

Fix Pill for Last Run State

3 participants