# Alice in Government
## TODO
* [x] Update validations on the backend
* [x] Wire up submit button
* [x] Thank you message after successful vote
* [x] Error message after failed vote (eg. already exists for email)
* [x] Fetch all votes on university specific page
* [x] Show vote specific page (secret link in email after confirming vote) don't show selected solutions
* [x] Show Terms of Service and Privacy Policy pages
* [x] Improve list of known non-university email providers (https://www.technorms.com/14035/10-free-email-service-providers etc.) https://github.com/aliceingovernment/data/blob/master/emailProviders.js
* [x] Send email to tian for votes from emails others than participating universities
* [x] Update email templates with new domain - From: Climate Referendum <hello@climatereferendum.com>
* [x] tian/ change copy for confirmation email and twitter link (remove medium link)
* [x] Navigation between Terms of Service / Privacy Policy pages and global page
* [x] tian/change "climate referendum" in twitter ----->https://twitter.com/climate_r
* [x] change "climate referendum" name in privacy policy/terms of service
* [x] tian/ Customize text of confirmation email for pending universities + pending note on my vote page (where you land when you click on confirmation link)
--------> "Your vote has been successfully registered. Rock & roll! Your university is not currently listed on our website but we will add it shortly and send you an update. Thanks!"
* [x] Increase font size (3x){and colour} for message saying "confirm your vote by opening your email ...."
* [x] make sure pending votes don't get counted - https://github.com/aliceingovernment/voting-service/blob/uni/server.js#L161
* [x] show 2 (instead of 5) student opinions within the box of university opinions (the rest are shown when one cliks on 'show more')
* [x] order university opinon boxes by alphabetical order (so someone can look up their own unviersity without so much trouble), except when you are in your univresity specific site-then you see your uni first and then by alphabetical order.
* [x] typo on step 3 "cUmmunity"
* [x] hide medium logo from our footer (I have to crate a new medium profile because they won't allow me to change the url)
* [x] Update design of results
* [x] add top 2 solutions chosen by each university to their box of opinions in global site
* [x] university-specific site, add comparison of global vs university results with bar + only show opinion box of that university with all opinions displayed.
* [x] Review my vote page - same as global just with person's vote
* [x] Fix my vote page - opinion not showing (due to expecting results)
* [x] Scroll automatically to my vote on vote specific page
* [x] if pending show global view, if from participating university show university specific page
* [x] remove 1, 2, 3 steps
* [x] adjust headings where the steps used to be: remove step 1 heading, keep step 3 heading
* [x] uni specific page, votes by {university.name} students
* [x] global page, make university name (top of opinion box) linked to uni page
* [x] fix horizontal scroll in 'some radical, others mainstream'
* [x] Main 'climate referendum' logo on top of the site should be clickable and send you to homepage :)
* [x] Setup new domain climatereferendum
* [x] Add universities ranking (photo below)
* [x] change order of universities in step 3 for # of votes instead of alphabetical
* [x] include changes in uni branch
* [x] first purple text box disappers when you land in myvote page after confirming vote in email
* [x] update github link in FAQ
* [x] verify that both emails are sent (confirm and success) -- so far alice and iseult have confirmed 2 emails
* [x] https://fonts.google.com/specimen/Roboto+Mono choose 'regular' for normal text and 'medium' for bold
* [x] new purple #8b36b5
* [X] after click submit in vote form, make "📥 check you email ❗" message sticky? https://material.io/components/snackbars
* [x] change highlight color when 1 field of the vote form is not filled (from red to strong orange)
* [x] help creating 2 sentences from opinion box in vote form --> move above the text area
* [x] grow font size of 3 words 'complete your vote' (in step 2)
* [x] with the first voter of every uni - solutions not show, only opinion
* [x] new fold (first UI in global) + uni specific change in the javascript {students} for {their univresity} leave the apostrophe 's outside , for every uni-specific site (example -->> MIT's, UNAM's)
* [x] the title of each solution is in medium font but I think it needs the bold (700)
* [x] the line width of the new orange is too thin, let's make it 3x thicker
* [x] let's leave some white space under the steps numbers (1,2,3) and the header text
* [x] add urls below form (and make them clickeable)
* [x] remove "find out", its twice
* [x] add unis below opinions without header
* [x] Automate update when universities / solutions data changes
* [x] Sentry
* [x] case in-sensitive paths
* [x] With the first voter of every uni - solutions not show, only opinion
* [x] After selecting 2nd solution it automatically scrolls to random part of the voting form - we need center or start from the top
* [x] bigger snack bar - `$0.dispatchEvent(new CustomEvent('success'))`
* [x] remove "full" from "full name" voting form
* [x] "please enter full name" when field is left blank. Remove "full"
* [x] send email to tianfut even if the pending vote has not be confirmed
* [x] confirm voters manually
* [x] lowercase emails when checking
* [x] Import university domains https://github.com/hipo/university-domains-list - check if includes all current university
* [x] Fix ordering of solutions - global also ordered by number of votes
* [ ] subdomains (useful for subdomain matching: https://publicsuffix.org/ )
* [x] social media quick preview - https://cards-dev.twitter.com/validator | https://developers.facebook.com/tools/debug/?q=https%3A%2F%2Fclimatereferendum.com%2F "A tool for students to influence their university's climate action plan"
* [x] serve sentry.js from climatereferendum.com
* [x] voting form moves while filling it
* [x] Remove from the voting form ->> "Share your opinion with the world",
* [x] add instagram icon with link https://www.instagram.com/climatereferendum/
* [ ] Translation to Spanish https://github.com/climatereferendum/data/blob/master/i18n.js
* [ ] Translation confirmation email
* [x] Translation solutions
* [ ] update github hook to use hippo list fork
* [ ] move backups from mayfirst to ecobytes - check emails from Jon
* [ ] Code clenup - rename countries -> universities etc.
* [ ] wait for sendgrid to be removed from spamhaus
* [ ] instagram logo next to twitter (2 places)
* [ ] -
* [ ] Changes to messaging / tian
* [x] STEP 3 missing
To be discussed
* [ ] manual language change option?
* [ ] Transtion ToS & Privacy Policy
Once in a while list
* [ ] check sentry + setup notifications
* [ ] review pending non confirmed