Geo-Web-Project / specs

1 stars 1 forks source link

Integrate initial Ceramic template fields (Parcel Name & URL) to the Cadastre #23

Closed gravenp closed 3 years ago

gravenp commented 3 years ago
gravenp commented 3 years ago

@codynhat a few assumptions and questions for review before I make mocks for this:

codynhat commented 3 years ago

We can still display the CID as a read-only field (or as a link to open the doc from IPFS in a new tab). This would be the latest CID and not the genesis record CID, right?

The CID of a Ceramic doc is actually the genesis record. But using the Ceramic protocol this can be resolved to get the latest version.

Is it desirable and feasible to have the user set the Parcel Name & URL at the time of claim and transfer? Or should it require a two-step process? Existing mocks assumed the ability to set linked values at time of claim/transfer. I think this is preferable to avoid two on-chain transactions.

Yes, we can do it in one transaction and I think this is better as well. The owner of the license could also edit these two fields later on without needing to send a transaction. I believe if we use 3ID Connect it may ask the user to sign a message using their wallet.

URL field should be a link and default to open in a new tab. Is it feasible to include a link preview (webpage title, description, image, & domain)?

This would be a decent amount of work for me, personally. We can try to get it in, or come back to it later.

gravenp commented 3 years ago

Thanks for the feedback/confirmations. I'll knock out a mockup today.

gravenp commented 3 years ago

See base template for "Parcel Details" and "Action Details" for initial Ceramic Integration. Also available in Figma:

Parcel Details - Ceramic Integrated Action Details - Ceramic Integrated