Skip to content

Conversation

@bbovenzi
Copy link
Contributor

@bbovenzi bbovenzi commented Feb 27, 2025

Add an Asset Details page. Use the same layout as Dag Details with a breadcrumb and resizeable panels.

The left hand is a graph:

  • Use the dag dependencies endpoint to pass a specific asset to find only the dependencies relevant to the selected asset.
  • Dag Nodes include a link to the dag in question and let's you see if the dag is paused or not.
  • Asset nodes only highlight if they're selected.

The right hand side has details:

  • Header card to show the same information as the assets list page
  • Show a list of asset events for that asset
Screenshot 2025-02-27 at 1 20 24 PM

Issues and future to-dos:

  • The API is inconsistent with using asset.id or asset.name to look up details. Which prevents us from linking to other assets in the graph
  • Need to add manual asset event creation
  • Add Asset Event details view
  • Add better dag run & task instance information to the asset event list
  • Add Asset Events list across all assets
  • Add Asset details to Dag detail pages
  • Need to add Asset Aliases

^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in newsfragments.

@boring-cyborg boring-cyborg bot added the area:UI Related to UI/UX. For Frontend Developers. label Feb 27, 2025
@bbovenzi bbovenzi changed the title Initialize Asset Details page with events and graph Add Asset Details page with events and graph Feb 27, 2025
@tirkarthi
Copy link
Contributor

Similar to #46968 the asset event widget in dashboard could link to pages like asset detail, event etc. I can take this up in another PR once this is merged.

@bbovenzi bbovenzi merged commit 14ad957 into apache:main Mar 4, 2025
33 checks passed
@bbovenzi bbovenzi deleted the asset-details branch March 4, 2025 14:27
shahar1 pushed a commit to shahar1/airflow that referenced this pull request Mar 5, 2025
* Initialize Asset Details page with events and graph

* Fix AssetNode icon

* Load backup info when Dag Details are still loading
nailo2c pushed a commit to nailo2c/airflow that referenced this pull request Apr 4, 2025
* Initialize Asset Details page with events and graph

* Fix AssetNode icon

* Load backup info when Dag Details are still loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:UI Related to UI/UX. For Frontend Developers.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants