steveahnahn opened a new pull request, #55226:
URL: https://github.com/apache/airflow/pull/55226
## Summary
Add pagination and search functionality to the Asset Events tab in Task
Instance view to enable browsing and filtering of all task-generated assets.
## Problem
The Asset Events tab in the Task Instance view only displayed the first 50
asset events with no way to browse additional assets or search for specific
ones. This is extremely limiting for tasks that generate a large number of
assets.
## Solution
Implemented comprehensive pagination and search capabilities:
Backend Changes:
- Enhanced /api/v2/assets/events endpoint with name_pattern parameter
- Fast response times with proper backend filtering
- Search terms & pagination parameters correctly persist in browser URL
Frontend Changes:
- Added pagination using Airflow's standard useTableURLState hook
- Integrated search bar component with real-time filtering
- Implemented URL state persistence for both pagination and search
parameters
## Testing
Tested using the provided DAG that generates 100+ assets
## Related Issues
Fixes #55133
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]