Coder Social home page Coder Social logo

kleros / curate-v2 Goto Github PK

View Code? Open in Web Editor NEW
1.0 7.0 3.0 2.57 MB

Curate V2

Home Page: https://curate-v2.netlify.app/

Shell 2.48% JavaScript 0.80% TypeScript 86.69% Solidity 9.86% HTML 0.16%
arbitrable frontend monorepo smart-contracts curated-list curated-lists-v2

curate-v2's Introduction

Netlify Status

curate-v2

Setup:

yarn

The frontend is located in the web folder

cd web
yarn && yarn start

curate-v2's People

Contributors

alcercu avatar harman-singh-waraich avatar jaybuidl avatar kemuru avatar shubhamparkhi avatar unknownunknown1 avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

curate-v2's Issues

IPFS retrieval: endpoint update

In a code review, I've found that we have hardcoded some urls to ipfs.klers.io. Specifically:

This hardcoded values should use the envvar IPFS_GATEWAY defined here to retrieve those values.
Please, update them in order to be consistant in the site and to have control over the gateway that we are using.
Thanks!

Curate v2 - feature parity with v1

image

Figma

https://www.figma.com/file/b7DEUKDeHlOl4ocDTMv7UIhZ/Kleros?node-id=14642%3A187559&mode=dev

Scope: single chain deployment on Arbitrum

  • Start with only Arbitrum.
  • Ignore the v1 lists for now.

For later...

We will follow up in a separate issue for this:

  • Deployment on other chains, with 1 subgraph per chain.
  • Multichain display by querying each chain's subgraphs.
  • V1 compatibility.

Partial implementation atop v1

https://github.com/kleros/gtcr-v2
https://gtcr-v2.netlify.app

Item labels improvements

Registry screen:

  • Add "Created by "
  • Replace "Registry Address" with the actual address

Item screen:

  • Add "Created by "

image

Subgraph endpoint update required

Hey team,

We've noticed that you're referencing a subgraph deployed on The Graph's hosted service in this repository. Just a heads-up: after June 12th, hosted service subgraph endpoints will no longer be available as the offering is being deprecated.

If you are the subgraph owner or maintainer, it's time to upgrade your subgraph to the network. This ensures everything keeps running smoothly and you get access to all the latest features and improvements. Here is a quick guide with all the upgrade steps.

If you're not the subgraph owner or maintainer, check Graph Explorer to see if the subgraph development team has already upgraded to the network. If you don’t find an upgraded subgraph, a friendly nudge to the subgraph development team would be greatly appreciated—it's a quick process that benefits everyone. Here's the upgrade guide with all the necessary steps for the subgraph development team.

Once the subgraph is upgraded to the network, you can create an API key and updated query URL in Subgraph Studio then update this repository to query from the new endpoint, https://api.studio.thegraph.com/query/<ID>/<SUBGRAPH_NAME>/<VERSION>

Need more support or have more questions? Feel free to reach out to [email protected]. We're here to help!

Cheers,

Paka

Testing of directly adding/removing items

  • Test it
  • Check that the subgraph and frontend can pick the items added directly
  • Modify the function to take an array as parameter

https://github.com/kleros/curate-v2/blob/master/contracts/src/CurateV2.sol#L309-L335

From @greenlucid

addItemDirectly and removeItemDirectly are not emitting RequestSubmitted

fixing it could just be editing subgraph to create default Request Entity on ItemStatusChange with no Request associated

frontend crashes because it expects request to exist
request doesn't exist because subgraph does not handle properly
subgraph could handle it properly

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.