devnp2007 opened a new pull request, #77047:
URL: https://github.com/apache/airflow/pull/77047
Follow-up UI implementation for #76997 (builds on #77023).
### Summary of Changes
- **REST API & OpenAPI (`datamodels/assets.py`, `routes/public/assets.py`,
`v2-rest-api-generated.yaml`)**: Exposed `dag_id` on
`AssetDeadlineAlertResponse` by joining `SerializedDagModel` in `GET
/api/v2/assets/{asset_id}/deadlines`, and regenerated the TypeScript React
Query client (`openapi-gen/`).
- **Asset Deadlines UI (`AssetDeadlines.tsx`, `AssetLayout.tsx`,
`router.tsx`, `en/assets.json`)**: Added a **Deadlines** tab under
`/assets/:assetId/deadlines` showing all configured `AssetDeadline` rules
labelled by their declaring Dag, highlighting producer deadlines with a
**Contract** badge vs. **Consumer** badge, and listing scheduled/missed
evaluation windows (including `partition_key` when partitioned).
- **Unit Tests (`AssetDeadlines.test.tsx`)**: Added Vitest tests covering
empty state, producer contract vs. consumer rule rendering, Dag links, and
partitioned deadline windows.
--
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]