Skip to content

fix: display ranked choice ballot errors inline (#117) - #118

Open
tmcnulty387 wants to merge 1 commit into
ComputerScienceHouse:mainfrom
tmcnulty387:fix/ranked-choice-error-display
Open

fix: display ranked choice ballot errors inline (#117)#118
tmcnulty387 wants to merge 1 commit into
ComputerScienceHouse:mainfrom
tmcnulty387:fix/ranked-choice-error-display

Conversation

@tmcnulty387

Copy link
Copy Markdown
Member

What

Added a JS script in poll.tmpl to handle JSON error response after POST /poll/:id.

Why

To fix issue #117

Test Plan

I created a html file based on the templates and simulated an error condition using the browser console. Verified script works as intended and error messsage is rendered correctly.

Env Vars

N/A

Documentation

N/A

Checklist

  • Tested all changes locally

@datadog-computersciencehouse

Copy link
Copy Markdown

Pipelines

⚠️ Warnings

🚦 1 Pipeline job failed

SonarQube | Build and analyze   View in Datadog   GitHub Actions

Useful? React with 👍 / 👎

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: 3654950 | Docs | Give us feedback!

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.

1 participant