Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 Endless Poll Creation Loop Displays Multiple Results #2357

Open
kneerose opened this issue Nov 8, 2024 · 1 comment
Open

🐛 Endless Poll Creation Loop Displays Multiple Results #2357

kneerose opened this issue Nov 8, 2024 · 1 comment
Assignees
Labels
🐛 Bug Something isn't working 📜 Proposal Pillar

Comments

@kneerose
Copy link
Contributor

kneerose commented Nov 8, 2024

Area

Proposal Pillar

Domain

dev-sanchogov.tools

Which wallet were you using?

No response

Context

While attempting to view the poll results for a proposal, I noticed that after closing a poll, the "Add Poll" button becomes visible. This allows a new poll to be added, which generates another set of results. Repeating this process results in an endless loop where multiple poll results are displayed.

Steps to reproduce

  1. Connect your wallet.
  2. Create a new proposal or navigate to an existing one.
  3. Add a poll.
  4. Close the poll.
  5. Notice that the "Add Poll" button reappears and allows a new poll to be added.
  6. Repeat the process and observe that each cycle generates a new poll result.

Actual behavior

The system allows multiple poll results to be generated as polls can be repeatedly added and closed.
https://dev-sanchonet.govtool.byron.network/proposal_discussion/2029
image

Expected behavior

The "Add Poll" action should be restricted by the API once the poll has been closed, preventing further additions. Alternatively, only the latest poll result should be visible, and multiple results should not be displayed.

@kneerose
Copy link
Contributor Author

@nebojsajsimic any update on this ? I am still able to reproduce this issue
https://dev-sanchonet.govtool.byron.network/proposal_discussion/2176
CC: @bosko-m

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 Bug Something isn't working 📜 Proposal Pillar
Projects
Status: In review
Development

No branches or pull requests

4 participants