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

Visualizing DAG-CBOR with IPLD Schema (.ipldsch) #147

Open
lidel opened this issue Sep 20, 2024 · 0 comments
Open

Visualizing DAG-CBOR with IPLD Schema (.ipldsch) #147

lidel opened this issue Sep 20, 2024 · 0 comments
Labels
need/triage Needs initial labeling and prioritization

Comments

@lidel
Copy link
Collaborator

lidel commented Sep 20, 2024

DAG-CBOR documents should have an option to visualize them against type(s) from user-provided .ipldsch.

Problem

We've found UX papercut identified with @aschmahmann while trying to provide useful interface for exploring DAG built with IPLD Schema tuples.

DAG-CBOR data is just numbers, and IPLD Explorer does not provide a way of leveraging IPLD Schema .ipldsch definitions.

Solution

Perhaps "Add IPLD Schema" button on DAG-CBOR pages?

Details TBD, but I envision two flows:

  • Ad-hoc: User clicks the button, then selects the .ipldsch file from their disk, and then user selects the type to use. The schema and type choice per CID is remembered locally (cookie/localstorage)
  • Permalinks: User clicks the button, enters URL of the .ipldsch file, selects the type to use, and both URL and type are persisted in the URL, so the view that uses schema can be shared by copying current URL.

References and Test Data

@lidel lidel added the need/triage Needs initial labeling and prioritization label Sep 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
need/triage Needs initial labeling and prioritization
Projects
None yet
Development

No branches or pull requests

1 participant