Cosmetic improvements to TheyWorkForYou

One service we offer on TheyWorkForYou is an email alert: this lets you know when there is new data published on the site that either contains a word/phrase that you’ve subscribed to, or that indicates new activity from your selected Member/s of Parliament.

(Didn’t know this? Go and sign up now!)

We send around 400,000 of these emails a month. For many years, the look has remained exactly as it was when we first developed them: plain text, which has the benefit of being lightweight and unlikely to get scrambled by email clients. The downsides are that it doesn’t exactly make for a compelling email, visually speaking, and that some find it hard to identify which sections are of interest in a uniform block of unformatted text.

We’ve now finally transformed alert emails into a much more polished HTML format, and at the same time we’ve also improved the look and feel of four other vital elements of TWFY: profile images, the API, the sign-up page, and the Contact page.

Screenshot of a TheyWorkForYou alert email, showing results for the term 'FOI'

As usual, before starting work, we did a bit of research into who uses this feature and why, so we could be sure we were answering their needs. You can see more about this in Alex’s post here.

Photos of MPs

Boris Johnson on TheyWorkForYouWhere there is a more recent and higher quality image available, we’ve updated the profile image we use for MPs. In some cases, this has replaced some pretty youthful faces — it’s clearly high time we caught up with this particular ticket! 

Higher resolution or larger images also mean that they’ll be more useful to developers using the images (which are all available under an open licence) on other sites and apps.

Clearer access to the API

The API page (where developers and researchers can access TheyWorkForYou data) has been given a slick new design. We’ve updated it with new examples of how the API might be used, and streamlined the language and content to make it easier to understand. 

The TheyWorkForYou API, homepage

We hope that all of these features will make it easier and more pleasant for you to use TheyWorkForYou, either when you’re checking up on what’s happened in Parliament for yourself, or using our data to make other parliamentary apps and sites.

Image: David Pisnoy