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

Updated to scorecards for 2025 site #724

Open
wants to merge 56 commits into
base: master
Choose a base branch
from
Open

Updated to scorecards for 2025 site #724

wants to merge 56 commits into from

Conversation

struan
Copy link
Member

@struan struan commented Feb 11, 2025

This is mostly small changes to allow multiple years of actions scores.

Part of #645

Fixes #722
Fixes #723

struan and others added 19 commits February 10, 2025 17:21
makes it easier to update, plus easier to have staging site use
different year
fix incorrect heading names
fix some bad score data
If it's the current year then link to the url without the year prefix,
otherwise add year prefix.
also get this to respect the currently selected year
- Added some responsiveness improvements for tablet and screens below 1200px. Council comparison won't be display below a large screen.
- Added Previous year score checkbox, by default we will only display year variation, but this switch will allow to also display the previous year score for current council and any council we are comparing with.
Was running a query for every question to get the criteria and then one
for every section to get the council so make sure those things are
fetched in the initial query
@zarino zarino self-requested a review February 25, 2025 10:07
struan added 27 commits March 3, 2025 13:53
When we import the scores take a previous year argument and use that to
populate the previous_year link
this is used in the automcomplete JSON data which is broken by new lines
Just makes it a bit more comprehensible
for labeling the most improved councils on import, and then for
generating graphics etc

Also add plan scores to admin interface
Does this for overall per council type and overall per section
easier to update in the database rather than the settings file
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants