TL;DR: This issue features improvements to the image service, a new table filtering feature, and two new browser polyfills.
Top three things
These are some of the bigger things we’ve worked on or released over the last month.
Origami Image Service
We maintain a group of image sets such as icons, logos, and headshot images for our journalists. They’re usually included in projects using the Origmai Image Service. This month we worked on improvements which allow us to publish updated images more quickly and reliably. We also moved the Image Service to it’s own Fastly service and enabled shielding, which makes us more resilient to spikes of traffic 🚀. These improvements have the added benefit of increasing our cache-hit-ratio which, when we gather more data, we hope to find reduces costs also.
The requestIdleCallback method queues a function for when the browser is idle. It’s useful to schedule non-critical tasks so the browser is free to respond quickly to user input, animation, and other events where low latency is important.
A big thank you to the team(s) which made our move to Bracken House so smooth! We’re based on the lower ground floor, but you’ll also find us roaming the third floor and the swanky garden roof.
A digest list of other things that have happened over the last month.
MAJOR: email@example.com was released. Improves publish speed by refactoring and dropping support for NodeJS 10 and below, includes the image hash in the filename of the image when publishing, and includes version and host in the imageset file. These changes allow us to publish updates to our image sets more quickly and reliably as mentioned above.
MAJOR: firstname.lastname@example.org was released. Originally decided in 2015, we at last released a new major of ftdomdelegate which removes the alias dom-delegate. If your project depends on dom-delegate swap it for ftdomdelegate. Using just ftdomdelegate will reduce your bundle size by not including two copies. Thanks for making it happen Matt Hinchliffe. For more context see: https://github.com/Financial-Times/ftdomdelegate/pull/93
PATCH: email@example.com prevents the hidden drawer in certain cases flashing on page load; updates the core experience; allows the logo to be a link; fixes a bug when used alongside o-expander.
MINOR: firstname.lastname@example.org includes two new audio icons “skip-forward-30” and “skip-backward-30”, and shows three existing icons in the registry “audio”, “mute”, and “mute-notifications”
MINOR: email@example.com allows data points of null or zero for graphite threshold checks, and makes graphite threshold checks accept a response when there is no data for the query (all credit to Kat Downes!)
MINOR: firstname.lastname@example.org includes a bunch of changes to o-teaser, all contributed by people outside the core Origami team. Thanks everyone 😃. It displays standfirsts in video teasers (credit to Umberto!) Adds an audio icon to audio teasers (thanks Asuka Ochi!) And adds styles to support teaser standfirsts which are links (thanks Jenny Bacon!)
MINOR: email@example.com introduces a new feature, support for a filterable table (you may remember we announced a beta for this last edition).
MINOR: firstname.lastname@example.org corrects the bold font weight of MetricWeb for internal brand users (700 to 600) and make the default “sans”, “serif”, or “display” bold font weight customisable for whitelabel brand users (e.g. specialist titles).
PATCH: email@example.com maintains the placeholder image aspect ratio and centers.
PATCH: The following components were also updated, to use the latest ftdomdelegate over dom-delegate: