AOSSIE-Org / Agora-Blockchain

21 stars 40 forks source link

Enhancement: Add Candidate Prompt or Warning for Election Creation to Prevent Immediate Election Start Without Candidates #73

Open zain171m opened 1 week ago

zain171m commented 1 week ago

Context:

When creating an election in Agora Blockchain web app, the user is asked to set a start and end date/time but not to add candidates initially. If the user sets the start time to the current time, the election begins immediately, preventing further addition of candidates.

Problem:

I set the election start time to the current time, thinking I could add candidates later. The election started automatically, and I couldn't add any candidates.

Proposed Enhancement:

Expected Outcome:

This change would improve the user experience by preventing accidental election starts without candidates.

Suggested Labels:

Screenshots:

Current Election Creation UI: image

shreyam7713 commented 1 week ago

Hi @zain171m , I would like to work on this issue. Could you please Assign me this issue.

Shri1927 commented 4 days ago

Hi @zain171m , Can you please assign me this issue

SachinSaiTej commented 18 hours ago

Hi @Ronnieraj37, I would like to work on this issue. Could you please assign me this issue.

Ronnieraj37 commented 17 hours ago

Hey @zain171m Pl add in more details on how you would implement Option 1. Will this include doing it from the blockchain contracts side as well? @shreyam7713 @Shri1927 @SachinSaiTej Please give your reviews as well.

SachinSaiTej commented 11 hours ago

i think we should add a condition to check the number of candidates to be alteast 2 before starting the election. Voting for a single item/member doesnot make any sense as the result will always be unanimous and same.