Code Monkey home page Code Monkey logo

grants-frontend's Introduction

Decentralised Grant Orchestration Tool Frontend

This repository contains all the code for the Questbook grant orchestration tool. The grants tool is a decentralised application that helps protocols manage their grant programs on-chain, without having to pay any gas fees.

Website: https://questbook.app

Some of our top partners include:

  1. Compound Finance
  2. Climate Collective
  3. Prezenti

Installation and Setup

  1. Clone the repo
  2. Install the dependencies using npm i --legacy-peer-deps
  3. Create a .env file in the root directory and add the following variables:
NEXT_PUBLIC_IS_TEST=true | false
NEXT_PUBLIC_INFURA_ID=my-infura-id
BICO_AUTH_TOKEN=my-biconomy-auth-token
SOLANA_RPC=my-solana-rpc-url
SENTRY_LOG_LEVEL=debug
SENTRY_AUTH_TOKEN=sentry-auth-token
API_ENDPOINT=https://api.questbook.app
NOTIF_BOT_USERNAME=qb_notif_bot
  1. Run the app using npm run dev

Usage

The main flows of the app are described below.

Landing page

Creating a grant program

Editing the details of a grant program

Adding reviewers to a grant program

Submitting reviews as a reviewer

Adding a multisig to fund the program

Initiating payout to a builder

Submitting a proposal to a grant program

Resubmitting a proposal

How does it work?

Project Structure

Contributing

grants-frontend's People

Contributors

4gnle avatar abhilashi avatar adiwajshing avatar ali-salloum6 avatar alimansour0002 avatar alwayshungrie avatar chtnnh avatar dhairya-creatoros avatar hamzzy avatar hasankhadra avatar justcharlz avatar kryptocodes avatar madhavanmalolan avatar mohammadshahin avatar prtk418 avatar questbookengg avatar richikchanda1999 avatar rithik-dev avatar sahilvasava avatar sourab-creatoros avatar sourav-bz avatar swetshaw avatar theledgerofjoudi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

grants-frontend's Issues

Have to enter no of team member as input even after entering their names

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Screen Shot 2022-03-04 at 12 23 42 PM

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

Multiple milestones option issue

Created 'Freetokens DAO' and created a grant with 'mulitple milestones'

Issue 1: I don't see an option of updating the different milestones.
Issue 2: While I selected multiple milestones option, it still shows on the link as 'single milestone'

Broken Links

Describe the bug
Broken links found on the app

  1. 24x7 support discord link missing
  2. Connect wallet redirects missing on get started page

Milestones amounts check

image

Milestones amounts should add up to the 'Fund ask' but there is no check if it doesn't. This will create confusion during grants budgeting and payments.

If the milestone total amount is more than the fund ask, the grants team would have budgeted only for 'Fund ask' and would have overshot their budget.

If the milestones total amount is less than the fund ask, the applicant would be paid less than the fund ask and again will have to ask for the money and get a separate payment initiated outside the tool.

Both these scenarios are an operational hassle for the grants team.

Resubmitted application still showing up

Reviewed an application and clicked asked to resubmit with more details.

https://www.loom.com/share/84038b9cd73844239b8c726de4a9462e

  1. It's been 5 mins and after that, when I check my applications, this application is still 'Pending Review', which it shouldn't. I tried again to 'ask for resubmit' and it gives me a non-descriptive - 'Transaction failed' error message. Imagine, if I have to process 20-30 applications. There is no way, I can track which applications I have asked to resubmit and what exactly is the error.
  2. When I ask the applicant to resubmit, how will they get notified? I am assuming you are not sending any email now. Discourse does a lot of notification easier and without such communication, our tool tends to be painful.

Getting logged out each time the wallet locks

When the wallet locks, the website becomes unusable;
This happens every few minutes.

A better solution will be a remember me (especially for read operations) using a signature stored locally on front end.
Look at how mirror.xyz does remember me

image

Grant date in the past check + Multiple milestones not shown

Created a DAO: Freetokens DAO

  1. Today is 3rd March 2022 but I selected 28-Feb-2022 as deadline and there is no check for the same.

  2. The system created the grant but I don't see the option of multiple milestones and amount allocations across those milestones yet.

Apply grant: Technical field displayed

image

As an applicant if I apply for a grant, on the right side I see all the requisite fields. Fields like 'IsMultipleMilestones' are redundant and also the field names should be descriptive

Discover Grants - filter for chains

Is your feature request related to a problem? Please describe.
Under Discover Grants - can we add a filter for chains or add the chain symbol next to the grant name?

Describe the solution you'd like
A symbol next to the name of the grant or a filter on top to filter grants by chains.

Additional context
Unable to find grants for specific chains that I am looking for.

No affordance for refreshing screen

After applying for a grant it takes me to a page that says "no applications"
I think it has something to do with indexing taking time. I don't think it is a good experience at all to show "no applications". Imagine this happening on mainchain where people would have spent real money. It is very anxiety inducing

Would like to see front end caching on this for better user experience

image

grant creation message

  1. we should add some message for user to hint about avg grant creation; just for a better user experience.

Screenshot 2022-03-04 at 1 16 18 PM

  1. On same page we should also say "You can view your created grant under once its ready"

Switching network in metamask makes the user logout

Describe the bug
Switch between any 2 networks while you have logged in with metamask and you will logout in the grants frontend. Remix and other apps dont logout; they smoothly switch the network and update the network name in frontend.

Harmony HRC-20 support

Describe the bug
Rewards are in ETH and DAI for Harmony Testnet as well. Need to add support for wONE and also mention on the right side in the form of text that only HRC-20 is supported as of now.

Expected behavior
wONE to appear on the drop-down. Text on the screen says that - Only HRC-20 tokens are supported as of now.

"Connect your wallet " opens random Notion doc

Describe the bug
"Connect your wallet" on getting started page should either behave same way as "Connect wallet" button at top or it should open a link to explain how to connect wallet. Currently it opens random FAQ notion doc.

Screenshots
If applicable, add screenshots to help explain your problem.
Screenshot 2022-03-04 at 12 14 30 PM

Upload feature for application

Currently there are so many fields to fill in the application but the actual Description field is very inspid and provides very little flexibility for users to upload images, tables etc, which are essential information pieces in a grant application. There is also no feature to upload a file alternatively.

Metamask Connect: Error message

Describe the bug
While trying to sign in, when the user's wallet is locked, and the user does not unlock it or closes the extension the error shown here is in the screenshot: https://prnt.sc/6qQdHQcGCpW6

To Reproduce
Steps to reproduce the behavior:

  1. Go to Sign In page.
  2. Click on Connect
  3. Metamask is locked.
  4. Close the extension
  5. See the error toast message.

Expected behavior
Error State to be changed. POC: Ankit
Screenshots
(https://prnt.sc/6qQdHQcGCpW6)

Desktop (please complete the following information):

  • OS: MacOS [e.g. iOS]
  • Browser Chrome
  • Version 98.0.4758.109

Inconsistent copy

The expectation on the grant creator and applicant not consistent for the "Funding Breakdown" Field
image

image

Created grant not showing up

Screenshot 2022-02-23 at 7 34 38 PM

Describe the bug
It's landing me on 'your grants' but the grant is not seen.

To Reproduce
Steps to reproduce the behavior:

  1. Go to https://beta.questbook.app/your_grants/create_grant/
  2. Add title, summary and details
  3. Pick reward of 1 DAI
  4. Land on your grants page: https://beta.questbook.app/your_grants/
  5. See the grant just created

Expected behavior
the grant is not seen -- there is a toast but the grant is never visible

Desktop (please complete the following information):

  • OS: [iOS]
  • Browser [brave]
  • Network [rinkeby]

Additional context
Add any other context about the problem here.

Wrong network message is not showing up

Tried selecting the Harmony S0 on beta.questbook.app but my metamask was still on 'Mainnet network'. I could see the 'Unsupported network' on the wallet on the top in small letters but there was no error popup. I feel this should be fixed.

After creating a DAO, this link and design opens my DAO page

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Screen Shot 2022-03-04 at 1 02 47 PM

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

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.