Skip to content

Feature/vote single candidate#138

Merged
perkynades merged 14 commits intodevelopfrom
feature/vote-single-candidate
Mar 18, 2021
Merged

Feature/vote single candidate#138
perkynades merged 14 commits intodevelopfrom
feature/vote-single-candidate

Conversation

@perkynades
Copy link
Copy Markdown
Contributor

Closes #11

@perkynades perkynades added this to the Sprint 10 milestone Mar 16, 2021
Copy link
Copy Markdown
Contributor

@sanderhurlen sanderhurlen left a comment

Choose a reason for hiding this comment

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

Great work. My vote was submitted in the database 🚀

I think we should guard ourselves against some common scenarios though. Right know, typeorm is doing all the heavy lifting 🏋🏼

Also see my PR about some semantic changes to your code 💋

Comment thread src/services/ElectionService.ts Outdated
Comment thread src/lib/events/client/submitVote.ts Outdated
Copy link
Copy Markdown
Contributor

@spiftire spiftire left a comment

Choose a reason for hiding this comment

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

Some minor fixes before merge.

We should avoid too generic naming. data and callback are used in JS as general terms, but naming something should indicate what it is or what it does

Comment thread src/loaders/websocket.ts
Comment thread src/lib/events/client/submitVote.ts Outdated
Comment thread src/loaders/websocket.ts Outdated
@perkynades perkynades merged commit e0e36f0 into develop Mar 18, 2021
@perkynades perkynades deleted the feature/vote-single-candidate branch March 18, 2021 08:08
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.

A voter should be able to vote on a "Single candidate" ballot

3 participants