Conversation
7168487 to
4beb818
Compare
slickepinne
previously approved these changes
Mar 24, 2021
Contributor
slickepinne
left a comment
There was a problem hiding this comment.
Great work! I just some small comments. 😊
| { | ||
| "trailingComma": true | ||
| } | ||
| "trailingComma": "none" |
| @@ -0,0 +1,16 @@ | |||
| /* eslint-disable no-console */ | |||
Contributor
There was a problem hiding this comment.
I think we don't need this since we don't use console, right?
| document.body.removeChild(link); | ||
| }, | ||
| onAuditComplete() { | ||
| console.log("AUDIT COMPLETED"); |
Contributor
There was a problem hiding this comment.
Sorry, I know this doesn't come from you but seeing it like this, I wouldn't write this log statement in uppercase. Since all the other log statements are written "normally" as well. 😄
| @@ -0,0 +1,81 @@ | |||
| /* eslint-disable no-console */ | |||
Contributor
There was a problem hiding this comment.
Again, no need to disable this. 😊
| @@ -0,0 +1,59 @@ | |||
| /* eslint-disable no-console */ | |||
| </p> | ||
| </div> | ||
|
|
||
| <%= link_to :elections, class: "button" do %> |
Contributor
There was a problem hiding this comment.
Can you check the indentation here?
| <%= t("decidim.elections.votes.verify.form.vote_identifier") %> | ||
|
|
||
| <input type="text" class="vote-identifier" name="vote-identifier" data-value="qw12Sf35vVb556Hfvh7qw12Sf35vVb556Hfvh7"> | ||
| <input type="text" class="vote-identifier" name="vote-identifier" value="<%= params[:vote_id].gsub("_","") %>"> |
orlera
previously approved these changes
Mar 24, 2021
Base automatically changed from
chore/upgrade-decidim-bulletin-board-to-0.15.2
to
develop
March 24, 2021 15:35
The base branch was changed.
aa089cb to
e3576ff
Compare
beagleknight
previously approved these changes
Mar 25, 2021
Contributor
Author
|
@decidim/mantainers this is ready to be reviewed. |
mrcasals
previously approved these changes
Mar 26, 2021
Contributor
|
@leio10 some conflicts arose, sorry about that. Could you check them, please? |
00660fe to
07a8b25
Compare
mrcasals
approved these changes
Mar 26, 2021
12 tasks
entantoencuanto
added a commit
that referenced
this pull request
Mar 31, 2021
* develop: (26 commits) Fix trustees admin menu (#7772) Do not modify the controller class in the controller tests that render views (#7755) Add HTML escaping to the expectations as the strings are escaped (#7760) Add automated accessibility audit + HTML validation to CI pipeline (#7751) fix(elections): js assets manifest (#7759) Add admin missing translations (#7702) Add Conferences and Admin missing translations (#7653) New Crowdin updates (#7735) Improve vote flow (#7682) Strip the <p> tags from inside the heading elements (#7732) Fix the date cell spec failing randomly close to day changes (#7703) Change the timeline date color for accessible color contrast against its background (#7750) Remove the opacity from process upcoming/past/all filters for accessible contrast (#7749) Fix color contrast against the sidebar navigation background (#7748) Validate the HTML for the account page (#7747) Fix report modal form accessibility (#7746) Accessibility fixes for conversations (#7745) Add a landmark ARIA role to the cookie banner (#7738) Fix HTML validation on standalone content page (#7744) Add aria-label to the area filter on participatory space pages (#7743) ...
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🎩 What? Why?
This PR prepares the vote process to use census authentication when used inside a votings space. To do it, it splits the voting process in two parts:
newtemplate for the vote. The vote casting action is done with a regular post to the create page, including only the encrypted vote.showtemplate for the vote.This new way to implement the process (before it was done completely on the
newpage, using an AJAX call to cast the vote), makes it simple and will help when we replace the use of thecurrent_userwith the data from the census, to implement #7118.Also, this PR allow users to continue the waiting to the BB step when they leave the page before completing the process. The module will simply redirect them to the
showpage when there is any pending vote to be confirmed.Finally, this PR modify the verify page to be able to create an URL with the hash included.
📌 Related Issues
Testing
Describe the best way to test or validate your PR.
📋 Checklist
🚨 Please review the guidelines for contributing to this repository.
docs/.📷 Screenshots
Please add screenshots of the changes you're proposing
