guardian / recipes

1 stars 1 forks source link

Display recipe edit status in dashboard #83

Closed frederickobrien closed 9 months ago

frederickobrien commented 9 months ago

Following feedback from Anna B we wanted to provide more differentiation on recipe status than a binary app-ready/not app-ready, so that curators can keep track of recipes they've edited but aren't ready to go into the app.

To that end this PR adds an isInCuratedTable field to the /list endpoint, which means we can display when a recipe has been edited (i.e. saved to the curated DynamoDB table) but not yet marked app-ready.

image

I've updated the dashboard filtering accordingly so users can quickly isolate in progress recipes.

I've also taken the opportunity to tidy up what's displayed in the 'Author(s)' column. Since we shifted to contributor tags we've been displaying them, and nothing at all if the field is empty:

image

Now we pull through both contributor and byline info and fall back to the latter if the first is empty. There's also a ham fisted script that converts contributor tags into something more readable.