Recidiviz / justice-counts-components

A set of React components powering a web app for exploring centralized, standardized metrics on the performance of justice systems across the United States
GNU General Public License v3.0
1 stars 0 forks source link

Add the Last Updated date to the header. #101

Closed hobuobi closed 3 years ago

hobuobi commented 3 years ago

We should include the date that the data was last ingested as the "Last Updated" date for a given state.

A few things to resolve before this can be worked on:

nasaownsky commented 3 years ago

@colincadams should I use for this date_published field?

colincadams commented 3 years ago

Yep! Since we already do this on each metric block, I think the real change here is to take the maximum date_published across a tab. Then put that either in the header or the Sources section (pending @hobuobi)

hobuobi commented 3 years ago

Agreed with the approach! Proposed solution is to put this in the header text on a new line, for example:

Last updated: January 29, 2021 (Corrections) and March 30, 2021 (Jails)

Screen Shot 2021-05-06 at 11 58 12 AM
jessex commented 3 years ago

Closed by #107