Add global events page to browse along with support to display only events for the dag. #43793
+225
−17
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This adds support to display all events under browse page. This also adds support to display events only related to the dag under events tab in dag details which is basically filter by dag_id in the API when dag_id is present in the URL. The events per dag skips dag_id column which is redundant.
Add support to filter by when, event_log_id which needs to be replaced in the backend before querying. This was done in the legacy API connexion code and the same support is added here
airflow/airflow/api_connexion/endpoints/event_log_endpoint.py
Line 78 in e502065
Notes for self and review :
<Time />
cannot be constructed forwhen
column but I have seen this pattern used elsewhere and also previously when dags list page only had timestamp for next/last dagrun as<Time />
when
in descending manner by default to display latest events first. I have passed it touseTableURLState
as default yet somehow this is not working.No Eventss found
where Events has a double s which needs to be fixed.Related
#43704
#43705
Screenshots