Skip to content

Add Has Events filter to Assets search - #72460

Merged
bbovenzi merged 4 commits into
apache:mainfrom
jasperjonkhans:issue-72281
Sep 30, 2026
Merged

bbovenzi merged 4 commits into
apache:mainfrom
jasperjonkhans:issue-72281

Conversation

@jasperjonkhans

@jasperjonkhans jasperjonkhans commented Sep 2, 2026 •

Copy link
Copy Markdown
Contributor

Assets search now supports a tri-state has_events query parameter and exposes it as a URL-backed Has Events filter in the UI. This lets users distinguish assets with recorded events from definitions that have never emitted one and preserve or share the filtered view.

The change:

  • filters assets through the distinct set of asset IDs referenced by asset events
  • adds Yes, No, and unset UI states
  • regenerates the private UI OpenAPI specification and TypeScript clients
  • covers all three states in API and UI tests

closes: #72281


Was generative AI tooling used to co-author this PR?
  • Yes — assisted by Pi Coding Agent 0.84.4 using gpt-5.6-sol max effort

Generated-by: Pi Coding Agent 0.84.4 following the guidelines


@fat-catTW

Copy link
Copy Markdown
Contributor

Thanks, LGTM!!

Just one nit.
Since this is a user-facing airflow-core feature, could you add a newsfragment under airflow-core/newsfragments/, probably as a .feature.rst or .improvement.rst?

No behavior blocker from my side beyond that.

@ColtenOuO ColtenOuO left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM, Great work!

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

Thanks for the pull request.

A couple of small nits, other looking good to me.

Comment thread airflow-core/newsfragments/72460.feature.rst Outdated
Comment thread airflow-core/src/airflow/ui/src/pages/AssetsList/AssetsList.tsx Outdated
Comment thread airflow-core/src/airflow/ui/public/i18n/locales/en/assets.json Outdated
Large asset catalogs expose event activity only row by row, making it
difficult to distinguish live assets from definitions that have never
been updated.
The reviewer requested omitting a newsfragment for this change.
@bbovenzi
bbovenzi merged commit e22c9d0 into apache:main Sep 30, 2026
99 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:API Airflow's REST/HTTP API area:translations area:UI Related to UI/UX. For Frontend Developers. translation:default

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add a has_events filter to the Assets search view

5 participants