GUI / covid-vaccine-spotter

https://www.vaccinespotter.org
MIT License
510 stars 138 forks source link

Made instructions collapsable #145 #166

Closed nbelans closed 3 years ago

nbelans commented 3 years ago

On a specific state's page, the instructions take up a large portion of the screen space, requiring a user to scroll down to find the main functionality and results. As requested in #145, I made the instructions collapsable in order to make the rest of the page more accessible. There is now a "Show / Hide Instructions" button that when clicked on will either hide the instructions or show the instructions, depending on the current state of the page.

GUI commented 3 years ago

Thank you! I've tweaked this a bit, and also adjusted it so that this setting persists across page reloads (https://github.com/GUI/covid-vaccine-spotter/commit/307746596a9b06c443c8bf35f7ef4c6e4b598d22). I've also applied the same logic so the news announcements can be hidden. I know this has definitely been an issue, so this will be great to have. Thanks!