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 "Last Updated" date to each metric block tooltip. #67

Closed hobuobi closed 3 years ago

hobuobi commented 3 years ago

We should start showing the date that we last updated the data for a given metric in the tooltips that we already provide. This should look something like what is shown below (Figma mockup https://www.figma.com/file/66HyjH0efZMoAuTlhnojWh/Justice-Counts-Report?node-id=977%3A814):

Screen Shot 2021-03-05 at 11 26 45 AM

For now, this should use the date that the data was ingested into our database (@colincadams to provide this in the fixture file). In the future, we can move to using the actual collection date, as this will be a more accurate reflection of the freshness of the data.

nasaownsky commented 3 years ago

Hey @colincadams, please provide this date in the fixture file. Thanks!

colincadams commented 3 years ago

Uploaded the new file with an additional column date_published. Let me know if it doesn't work as expected!

https://drive.google.com/file/d/1UUpyZMSVyJMJzgjrJnGGA3GixIamoq4y/view?usp=sharing

nasaownsky commented 3 years ago

@colincadams could you please also add that column to corrections file?