My LocalGov Drupal contributions for May 2025

Great month, lots done, including a new module for Drupal.org - modules_list.

Beautifully crafted digital products and experiences that matter.

Meetings

I got to lots of meetings this month, all the usual ones - Merge Tuesday, Tech Group Drop-in, etc. Two meetings that stood our for me, however, were the content group session about images in LocalGov Drupal and the Accessibility Awareness Day meetup where I led a breakout room on accessibility testing tools.

I've been really enjoying the Tech Group Drop-in meetings of late. I usually don't have any questions that need answering, but I love being at the meetings to help out others who do have questions that need answering.

One meeting this month that was very productive was the Open Digital Cooperative business development meeting, where we continued working on our 3-year business plan. This month we focussed on competitor analysis and market capture.

Code Contributions

  • A nice little PR to add an author filter to the default /admin/content list.
  • A PR I've been meaning to get around to for a long time, but one that also doesn't excite me is the one to add the linting tools to .ddev commands. Finally, I got around to it and now we can run commands to lint and automatically fix our CSS and JS coding standards. You can do this by ddev stylelint-fix web/modules/contrib/localgov_alert_banner/**/*.css or ddev eslint-js-fix web/themes/contrib/localgov_base for example.
  • And with that done, I got to (hopefully) complete another issue that has been open for longer than I wnated it to be - linting the JS files in LocalGov Base.
  • Apparently tables added through the WYSIWYG breaks content reflow. Well, not if I can help with my nifty PR.
  • After showing that PR for responsive tables off at Tech Group Drop-in, we came to the conclusion that we should do some more work to create a theme setting checkbox so this doesn't affect any existing sites that might already have a custom solution. So then I built that!!!
  • We scoped out a feature to supplement the Media Entity Usage module, so now when you are on the media listing page - /admin/media/ - you can see how many times each media item is being used across your website.
  • One I'm delighted with: our "LocalGov Repos" dashboard now automatically updates every night at 3am.
  • I got a nice little accessibility issue (hopefully) fixed for Microsites directory channel search/facets blocks.
  • I read a very interesting article from Andy Bell of Picalilli about styling alt text on images. It was so interesting, I created a pull request to style the alt text of the images of LocalGov Base.
  • A little fix and another similar little fix to make LocalGov Microsites menus more accessible.
  • I created - and we released - a new version of our grid system, but it broke existing sites that had created overrides, so we reverted it on the 1.x branch and released it as a new feature on the 2.x branch.

LocalGov Telemetry

I got started this month on a "LocalGov Telemetry" module. The point of this is so we can have some data on how many sites are using what modules/features. This might make it easier to deprecate features and/or remove them if they are not being used.

And after starting it, I realised others - besides LocalGov Drupal users - might like to use this, so I abandoned LocalGov Telemetry and created Modules List on Drupal.org. We can then use Modules List as the basis for LocalGov Telemetry.

Filed Under:

  1. Drupal Planet
  2. Drupal
  3. Open Source
  4. LocalGov Drupal