Skip to content

Get tally results#7276

Merged
mrcasals merged 10 commits intofeature/audit-votefrom
feat/get-tally-results
Mar 2, 2021
Merged

Get tally results#7276
mrcasals merged 10 commits intofeature/audit-votefrom
feat/get-tally-results

Conversation

@slickepinne
Copy link
Copy Markdown
Contributor

@slickepinne slickepinne commented Feb 3, 2021

🎩 What? Why?

This PR gets the results of an election when the tally is ended. Inside the admin dashboard, the administrator will see these results. After that, the admin has the option to publish the results. When doing that, the results will be visible to anyone.

📌 Related Issues

Testing

Setup an election, finish the key ceremony, voting process and tally. Login as an admin and see the results as soon as the tally is completed. Publish the results and go to the participatory space to which the election belongs. Go to that election and check the results.

📋 Checklist

🚨 Please review the guidelines for contributing to this repository.

  • CONSIDER adding a unit test if your PR resolves an issue.
  • ✔️ DO check open PR's to avoid duplicates.
  • ✔️ DO keep pull requests small so they can be easily reviewed.
  • ✔️ DO build locally before pushing.
  • ✔️ DO make sure tests pass.
  • ✔️ DO make sure any new changes are documented in docs/.
  • ✔️ DO add and modify seeds if necessary.
  • ✔️ DO add CHANGELOG upgrade notes if required.
  • ✔️ DO add to GraphQL API if there are new public fields.
  • ✔️ DO add link to MetaDecidim if it's a new feature.
  • AVOID breaking the continuous integration build.
  • AVOID making significant changes to the overall architecture.

📷 Screenshots

tally_results

♥️ Thank you!

@slickepinne slickepinne force-pushed the feat/get-tally-results branch from 0c8ba94 to ef88cd8 Compare February 3, 2021 11:14
@slickepinne slickepinne self-assigned this Feb 3, 2021
@leio10 leio10 added module: elections project: e-voting Barcelona City Council contract labels Feb 3, 2021
@leio10 leio10 force-pushed the chore/upgrade-decidim-bulletin-board-to-0.9.1 branch 2 times, most recently from 94ff705 to 7498f3e Compare February 3, 2021 15:26
@slickepinne slickepinne force-pushed the feat/get-tally-results branch from ef88cd8 to a5d42a5 Compare February 3, 2021 16:24
Base automatically changed from chore/upgrade-decidim-bulletin-board-to-0.9.1 to develop February 9, 2021 07:51
@slickepinne slickepinne force-pushed the feat/get-tally-results branch from a5d42a5 to 35968de Compare February 23, 2021 15:45
@slickepinne slickepinne changed the base branch from develop to feature/audit-vote February 23, 2021 15:45
@slickepinne slickepinne force-pushed the feat/get-tally-results branch from b407e29 to 335c771 Compare February 23, 2021 17:07
@slickepinne slickepinne force-pushed the feat/get-tally-results branch from f53e0f0 to 660bbc4 Compare February 25, 2021 13:08
@slickepinne slickepinne force-pushed the feat/get-tally-results branch from 36ee2c7 to d91ba43 Compare February 25, 2021 16:21
@slickepinne slickepinne force-pushed the feat/get-tally-results branch from 61b4e6a to d76b5a4 Compare February 26, 2021 08:39
Copy link
Copy Markdown
Contributor

@leio10 leio10 left a comment

Choose a reason for hiding this comment

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

Very good work! 👏 👏 🌮

Copy link
Copy Markdown
Contributor

@orlera orlera left a comment

Choose a reason for hiding this comment

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

Super nice! 🪗

Copy link
Copy Markdown
Contributor

@beagleknight beagleknight left a comment

Choose a reason for hiding this comment

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

@slickepinne slickepinne force-pushed the feat/get-tally-results branch from d76b5a4 to 389437c Compare March 1, 2021 11:15
@slickepinne slickepinne marked this pull request as ready for review March 1, 2021 11:18
@slickepinne
Copy link
Copy Markdown
Contributor Author

@decidim/mantainers, this is ready to be reviewed as well. 😊

Copy link
Copy Markdown
Contributor

@agustibr agustibr left a comment

Choose a reason for hiding this comment

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

👍👍

// Use the correct trustee wrapper adapter
let trusteeWrapperAdapter = null;

if (schemeName === "dummy") {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I take it this will be fixed in the future?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Confirmed that this is done on purpose, and will be improved in the future.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

This PR uses the DummyTrusteeWrapperAdapter , the next PR by @beagleknight implements the election_guard scheme.

@mrcasals mrcasals merged commit 09f94f0 into feature/audit-vote Mar 2, 2021
@mrcasals mrcasals deleted the feat/get-tally-results branch March 2, 2021 13:58
@orlera orlera mentioned this pull request Sep 10, 2021
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

module: elections project: e-voting Barcelona City Council contract

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants