Skip to content

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

@lidel

Description

@lidel

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    need/triageNeeds initial labeling and prioritization

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions