Skip to content

fix: live updates#112

Merged
costowell merged 2 commits intomainfrom
cole-dev
Apr 18, 2026
Merged

fix: live updates#112
costowell merged 2 commits intomainfrom
cole-dev

Conversation

@costowell
Copy link
Copy Markdown
Contributor

What

Okay so in the beginning I was like "why is there an array??" which is where the bug was introduced: we're iterating over an array containing the new votes, not the actual options and their counts. Ranked Choice is where the problem is.

So what does this PR do?

  • Fixed some of the html to allow for updating ranked choice votes
  • Fixed the JS to update the votes properly

Why

0: object Object

Test Plan

  • Impersonate a bunch of different people (with permission) in a bunch of different tabs
    • What if we spin up keycloak locally too? 👀
  • Test a bunch of different kinds of votes

Env Vars

N/A

Documentation

Bug fix, N/A

Checklist

  • Tested all changes locally

@csh-sonarqube-community
Copy link
Copy Markdown

Copy link
Copy Markdown
Contributor

@tallen42 tallen42 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no more object object. thank you javascript.

@costowell costowell merged commit a9d9941 into main Apr 18, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants