gitcoinco / gitcoinco/easy-retro-pgf

Error on ballot submission did not show up in UI, had to inspect console

Open
#46 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
66
Forks
37
PR merge metrics
No merged PRs in 30d

Description

There was hidden restriction that I was unaware of that no single project can receive over 10000 votes. I did not realise this until I set my votes and cast the ballot, which failed.

The error did not appear in a dialog, nor was the blockchain transaction given any visual feedback that it failed. I had to inspect the console to see the error response from the transaction (which did highlight the 10k issue).

I now see that there is validation on the vote box, the border goes red if the amount is out of bounds, but there is no hover over to help me and show me what is giving the red border. Subsequently, I submitted the ballot as I didn't understand what the red border was meant to be indicating.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing ballot submission with a project exceeding the 10,000-vote limit, then inspect the vote-box validation and blockchain transaction error handling. Done means the constraint is understandable before submission and failed transactions provide visible feedback in the UI rather than only in the console.

Written by the indexing model from the issue text.

Assessment

Tech stack
nextjs, typescript
Domain
blockchain, frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.