Skip to content

Add Has Events filter to Assets search - #72460

Open
jasperjonkhans wants to merge 1 commit into
apache:mainfrom
jasperjonkhans:issue-72281
Open

Add Has Events filter to Assets search#72460
jasperjonkhans wants to merge 1 commit into
apache:mainfrom
jasperjonkhans:issue-72281

Conversation

@jasperjonkhans

@jasperjonkhans jasperjonkhans commented Sep 2, 2026

Copy link
Copy Markdown

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


Large asset catalogs expose event activity only row by row, making it
difficult to distinguish live assets from definitions that have never
been updated.
@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!

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

3 participants