Skip to content

Conversation

@markconroy
Copy link
Member

Closes #165

What does this change?

Rewrites/reformats our JS to follow Drupal coding standards.

@finnlewis
Copy link
Member

finnlewis commented Jul 15, 2025

@markconroy the tests aren't running on this pull request.

Just wondering how best to bring this together with #171

Merge the Drupal 11 branch into this one to run all the tests together?

Merge this branch into the Drupal 11 branch? https://github.com/localgovdrupal/localgov_elections/tree/feature/2.x/159-drupal-11-support

@stephen-cox @tonypaulbarker any thoughts?

@tonypaulbarker
Copy link

@finnlewis these changes look quite significant so I think let's keep them apart until at least reviewed and validated locally so we don't block one or the other from progressing if any changes are needed. Can we bring the tests file into this one?

@stephen-cox
Copy link
Member

@finnlewis We need to merge #170 and #171 (although the latter includes the former). We can then merge 2.x into this PR and the tests will run.

@tonypaulbarker
Copy link

@markconroy ESLint javascript checks flagged up some errors and warnings.

@finnlewis
Copy link
Member

Getting close, still 8 errors!

@finnlewis
Copy link
Member

@markconroy thinks he'll be able to address the remaining issues soon.

@markconroy
Copy link
Member Author

@finnlewis @tonypaulbarker All checks have passed. Ready for testing again.

Copy link

@tonypaulbarker tonypaulbarker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.
Functional testing against the demo content looks sound.
No concole errors to report.
Appears to be no functional changes.
Nice naming conventions.

@finnlewis finnlewis merged commit 7efa7bd into 2.x Aug 5, 2025
25 of 26 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Address eslint notices for localgov_elections

5 participants