Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow assets.co2.storage to show other data types #102

Open
redransil opened this issue Jun 2, 2023 · 0 comments
Open

Allow assets.co2.storage to show other data types #102

redransil opened this issue Jun 2, 2023 · 0 comments

Comments

@redransil
Copy link
Contributor

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"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant