GeneralMagicio / GeneralMagicio/pairwise-rf5

Update ballot flow

Open
#11 7 comments 0 reactions 1 assignee Claimed by @mmahdigh View on GitHub
Dominant language
TypeScript
Stars
2
Forks
0
PR merge metrics
No merged PRs in 30d

Description

As a user when Im done with the ranking, pairwise should show me the unlock ballot and then update the user's ballot.
![Image](https://github.com/user-attachments/assets/ad8e1a85-124e-47a4-ab34-b895e250c289)
![Image](https://github.com/user-attachments/assets/43d1c9f7-8ec8-48dd-a16e-aa0dde7228e1)
![Image](https://github.com/user-attachments/assets/4193a372-55a4-43aa-8030-17bc5ddb54d6)
![Image](https://github.com/user-attachments/assets/a4b074d3-048e-4ecd-82cb-34ec33721299)

Draft Design: https://www.figma.com/design/WTT6ygvEonijX7Lc0pj6Ru/Pairwise-Desktop-App?node-id=1017-31884&t=yCfCnkr8lYXdpBdP-4
Will move to dev handoff and the copy will get updated.

****Success Criteria:****
- [x] it should update the user's ballot successfully and get back to this address https://develop-op-voting.up.railway.app/ballot all the ranked projects from pairwise should be there with correct percentages.
- [x] Loading should appear before success while waiting for the response.
- [x] Success modal when we got success from Agora API should shown. the link should open up the https://develop-op-voting.up.railway.app/ballot link in that
- [x] Error modal will shown if the user isn't able to update the ballot.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.