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

Display measurement type for population metrics #114

Closed colincadams closed 3 years ago

colincadams commented 3 years ago

Description of the change

Adds some logic to display the measurement type ("Average" or "Point in Time") for population metrics, just below the last updated text. Corresponding backend change Recidiviz/recidiviz-data#7701

These display on both the flow chart cards and in key insights.

Some screenshots for each case:

Screen Shot 2021-05-28 at 4 28 53 PM Screen Shot 2021-05-28 at 4 29 01 PM Screen Shot 2021-05-28 at 4 29 06 PM Screen Shot 2021-05-28 at 4 29 11 PM

Type of change

Related issues

Closes #110

Checklists

Development

These boxes should be checked by the submitter prior to merging:

Code review

These boxes should be checked by reviewers prior to merging: