-
Notifications
You must be signed in to change notification settings - Fork 1
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
Constituency Map - Competitiveness #6
Conversation
TO DO: fix null error
also fixed a typo
displays more info when user clicks on a constituency
add data files (colors and constituencyData) to backend to reduce map loading time.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for getting this in quickly, and nice job reducing the map's load time! Also, thanks for making the changes and TODOs clear in the PR, including an image, and ensuring all the checks passed. I made a few comments regarding the comment blocks intended for future use and renaming a function, but overall, everything looks great.
changed get_competiveness_colors to get_competitiveness_data
-edited comments from pylint:disable=R0801 to pylint:disable=duplicate-code -used parenthesis instead of \ to break lines in code
- removed large comment blocks - removed some comments in scss files - used white and black instead of the variable $color-white and $color-black
Main Changes:
Backend:
new page for the competitiveness map
Changes to the Example leaflet map:
Other changes
To-Dos