co2-storage icon indicating copy to clipboard operation
co2-storage copied to clipboard

Allow assets.co2.storage to show other data types

Open redransil opened this issue 1 year ago • 0 comments

Currently, if asset.co2.storage gets data that is not structured as an asset then it displays "invalid asset CID provided". Example here

We need a viewer that shows data even if it is not structured as an asset, ie. a better-formatted version of the dag gateway

asset.co2.storage should:

  1. If it can, load and display the asset exactly as it does now
  2. if this doesn't work, load the raw data and display as either a DAG or as data (image, pdf, etc)
  3. If this doesn't work, message "Cannot find CID"

redransil avatar Jun 02 '23 22:06 redransil