Open ryanchristo opened 1 year ago
Hey team! Please add your planning poker estimate with Zenhub @ryanchristo @blushi @wgwz @flagrede
Do we want to fetch the CID from gateways? I.e. we have handful of trusted gateways, and we try to fetch the CID from those. Or do we want to use something like helia so we can actually fetch via ipfs protocol? (helia was previously js-ipfs) I think I saw it recommended that you first try to fetch from an ipfs node, and then use gateways as fallbacks.
https://github.com/ipfs/helia https://github.com/ipfs/js-ipfs
No need to rethink how we are fetching data. We already have that implemented. The issue here is that application is expecting JSON when provided a string. We should be able to fix this without rethinking how we fetch data.
My mistake, I didn’t realize we already had the ability to fetch ipfs data in the codebase.
Re-opening as #149 did not actually resolve this issue fully. The group page at https://groups.regen.network/6 does not render still.
@blushi @aaronc I think this should be a pretty easy fix. Would be great if one of you can take a look at it, since this prevents us from being able to use groups UI for administering the KCT credit class.
It looks like this is because the fix hasn't been pushed to main
yet: https://github.com/regen-network/groups-ui/compare/main...dev
Using the deploy preview from Kyle's fix branch, it's working fine: https://deploy-preview-149--regen-groups-ui.netlify.app/6
Are we ok to publish a new release with the changes linked above? @clevinson @ryanchristo If so, I can prepare the release PR dev->main
Originally reported by @S4mmyb in slack.
If a user submits a group proposal using the CLI and the metadata for the proposal is not a valid JSON string, the group page and the proposal page is inaccessible to the user.
A user should be able to continue using the application regardless of how the metadata within a proposal is formatted (i.e. we should have fallbacks in place). The proposal metadata should also support IPFS (same as group and policy metadata).
This occurred as a result of a user submitting the following proposal:
Notice that the proposal metadata is
ipfs://CID
. This prevents the following group page from being accessible: