Recidiviz / public-dashboard

A public-facing dashboard to help educate citizens and build accountability
GNU General Public License v3.0
5 stars 3 forks source link

Missing axes in time series #578

Open macfarlandian opened 2 years ago

macfarlandian commented 2 years ago

Describe the bug When clicking through from the homepage to the prison page, the historical data chart will be rendered without margins or visible axis labels (aka in "preview" form). Reloading the page resolves the error, which suggests that some UI state is being inadvertently carried over from the homepage.

To Reproduce Steps to reproduce the behavior:

  1. Go to spotlight-staging.recidiviz.org/us-nd
  2. Click on "Explore Prison Data"
  3. Scroll down to section 3, the time series
  4. See error

Expected behavior The chart is rendered with correct margins and axis labels.

Screenshots

Screen Shot 2022-06-28 at 10 53 08 AM

Desktop (please complete the following information): n/a

Smartphone (please complete the following information): n/a

Additional context Currently affects staging only as the new homepage has not been deployed to prod.

lilidworkin commented 2 years ago

Tagging @hobuobi to triage and add to the project board!