localgov icon indicating copy to clipboard operation
localgov copied to clipboard

Elections: Add all UK and Ireland types, social media integration

Open willguv opened this issue 1 year ago • 21 comments

The Local Elections are happening on 4th May 2023 and here's a list of councils taking part

Elections functionality was built by Rohallion (repo) and the agency has given us the OK to use it

It was successfully used by Cumberland Council last May. Cumberland is an LGD member, and one of the two new unitary councils replacing Cumbria

Image

All councils hold elections, so the core ideally needs this. Questions:

  • Should we do this now? (13 LGD councils are holding elections - see below)
  • Does this functionality meet common needs in part or total? (consider a lightweight product and technical assessment)

willguv avatar Mar 24 '23 15:03 willguv

This looks like a great idea.

markconroy avatar Mar 27 '23 10:03 markconroy

@finnlewis @stephen-cox can we get elections installed somewhere so the content group can have a look?

If we do choose to offer this, there's not a lot of time

Local elections are 4 May, and councils will likely need a couple of weeks to install and test

willguv avatar Mar 28 '23 09:03 willguv

Councils holding elections in May 2023

Of these 13 are LocalGov Drupal councils:

Bath and North East Somerset Blackburn with Darwen Bracknell Forest Brighton and Hove East Hampshire Elmbridge Epping Forest Hart Milton Keynes Newcastle North Kesteven Redcar and Cleveland Wirral Woking (covered by Wirral?)

(not all of these sites are live)

willguv avatar Mar 28 '23 10:03 willguv

@willguv I just looked at installing this on test.localgovdrupal.org.

There's an error enabling the module for which I've created a ticket in the issue tracker for the module: https://gitlab.com/rohallion-public/localgov_elections_reporting/-/issues/4

The module has a lot of dependencies and would need to be reviewed by the Technical Governance Group before it could be included in the distribution by default, but this wouldn't stop councils installing it in their sites.

We could certainly move the code into the LocalGov Drupal GitHub organization if desired.

stephen-cox avatar Mar 28 '23 13:03 stephen-cox

Thanks for doing this Stephen. I'll find out from the content group if they want to try this functionality

If we were going to include this in our org, do you think it's comfortable in the next 2-3 weeks or would that be a rush?

willguv avatar Mar 28 '23 14:03 willguv

I don't think there are any issues moving the code as long as Rohallion were happy moving it from their GitLab account into https://github.com/localgovdrupal/. Providing there's agreement this can be done quickly. Probably unlikely to have the code reviewed fully in that time though.

stephen-cox avatar Mar 28 '23 14:03 stephen-cox

Thanks Stephen, feels like we'd be rushing it for May

I can point these councils to Gitlab and see if any are able to use it

willguv avatar Mar 29 '23 14:03 willguv

After @willguv shared this, I've taken a bit of a look around to understand how it's used. It looks like a really useful set of functionality to include. I'm sure there are a few backlog items from having trialled this in last year's elections, but there's also some (hopefully) low-effort, high-impact things that I think we'd want to look at while bringing this into core.

  1. The chart at the top of https://www.cumberland.gov.uk/voting-and-elections/local-election-results is currently showing 0's, while the same chart at https://www.cumberland.gov.uk/election/cumberland-council-election-5-may-2022 is working.
  2. Also on that pair of page, there's a table of results which is missing some styling in the first URL. Perhaps a missing library attachment?
  3. On the ward details pages (e.g. https://www.cumberland.gov.uk/election/cumberland-council-election-5-may-2022/aspatria ) there's a black-on-navy heading. There's styling to fix this for .view-id-election_results but not for .view-id-district_results
  4. The search results are a bit excessive, they pull back the election result charts and tables (again, missing styling) for all relevant elections if you search for a ward

There's also a couple of content issues that we should give Cumberland a heads-up on:

  1. On https://www.cumberland.gov.uk/voting-and-elections-0/election-results there's a "Council election ward results" link that 404's.
  2. There's a section duplication, with https://www.cumberland.gov.uk/voting-and-elections/local-election-results and https://www.cumberland.gov.uk/voting-and-elections-0/local-election-results. The version with -0 404's on https://www.cumberland.gov.uk/voting-and-elections-0 but https://www.cumberland.gov.uk/voting-and-elections works fine.
  3. https://www.cumberland.gov.uk/voting-and-elections/local-election-results/parish-and-town-council-election-results has "THIS NEEDS WORK" in its description, but is the 4th search result for "election"

MatthewWilkes avatar May 09 '23 15:05 MatthewWilkes

Michael, Newcastle:

  • What about non all out elections?
  • Social media integration

Will: Not sure about PR

Ben: Accessibility checking


Notes from Michael

From Slack: https://localgovdrupal.slack.com/archives/C03NCARGVHP/p1665674627205639 Gitlab: https://gitlab.com/rohallion-public/localgov_elections_reporting Videos: https://www.loom.com/share/f72c3aee6c9d42ceb6a97f8e0585b95d

https://www.loom.com/share/0c7945aa67044d8ba4dd0ed73ab36191

willguv avatar Jun 20 '23 13:06 willguv

@stephen-cox could you install this somewhere where it's not going to be overwritten please? I'm planning to start thinking about what's needed for other election types next week all being well

Thanks

willguv avatar Aug 15 '23 12:08 willguv

Please add to product - thanks

willguv avatar Aug 30 '23 09:08 willguv

@willguv This has been deployed to the product site.

stephen-cox avatar Sep 01 '23 15:09 stephen-cox

Hi @dedavidson great to catch up yesterday. Craig said he'll set aside some of your time for improvements so I'll start listing thoughts here to discuss

willguv avatar Sep 12 '23 08:09 willguv

This work is being covered on a separate Trello board

willguv avatar Sep 18 '23 10:09 willguv

Link to Elections Trello: https://trello.com/b/0UpNrJr0/lgd-elections

aaronhirtenstein avatar Jan 09 '24 09:01 aaronhirtenstein

Link to Elections Trello: https://trello.com/b/0UpNrJr0/lgd-elections

This is a private Trello. I think this is problematic.

ekes avatar Jan 09 '24 09:01 ekes

Yeah I've asked @willguv if we can move things into Github for visibility.

aaronhirtenstein avatar Jan 09 '24 10:01 aaronhirtenstein

Also look at

https://geoportal.statistics.gov.uk/search?collection=Dataset&q=wards https://geoportal.statistics.gov.uk/datasets/a2c204fedefe4120ac93f062c647bdcb_0/explore

willguv avatar Jan 10 '24 14:01 willguv

Follow along at https://trello.com/b/0UpNrJr0/lgd-elections

willguv avatar Feb 14 '24 14:02 willguv

Any chance we could make this a project at localgovdrupal/localgov_elections and use the issues there instead of Trello?

markconroy avatar Mar 15 '24 09:03 markconroy

We're barely using Trello now - it was a high level view to scope out the work

Very happy to track issues here

willguv avatar Mar 15 '24 09:03 willguv