Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Backport] Display 'Validate document' menu item only when applicable #3343

Merged
merged 2 commits into from
Mar 6, 2019

Conversation

javierm
Copy link
Member

@javierm javierm commented Mar 6, 2019

References

Background

We are trying to avoid Officers from forgetting to click the “Confirm vote” button, which is necessary to keep track of who has voted a Poll,

Objectives

  • Hide the menu item 'Validate document' by default in the voting page
  • Once the Officer clicks the “Confirm Vote” display it again
  • If there are no votable polls, display the menu item

Visual Changes

officing menu

Notes

  • Originally, the side menu specs were added to budget polls, which don't currently exist in CONSUL.

We are trying to avoid Officers from forgetting to click the “Confirm
vote” button, which is necessary to keep track of who has voted a Poll

To do that, we are not displaying the menu item to go back to the next
person that wants to vote, until the Officer clicks the “Confirm Vote”
button or the “The user has decided not to vote” button

Note: Due to mobile version we have duplicate ids, so using classes for
the menu items to hide them without errors

Note2: We are only hidding the menu item, if there are votable polls,
otherwise the “Confirm vote” button does not appear, and there is no
way of going back to help the next person that wants to vote
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants