Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stops HET from throwing errors on missing breakdowns #3640

Merged

Conversation

benhammondmusic
Copy link
Collaborator

@benhammondmusic benhammondmusic commented Sep 9, 2024

Description and Motivation

Starts working on #3605

  • rather than throwing an error when a datasetId isn't found, (like when a forced compare "age" breakdown tries to load data from a set with no age column like gun deaths of children), instead it just returns an empty response which triggers our normal missing data alerts that give context to which specific data is missing
  • fixes issue of duplicate disabled demographic type options in dropdown
  • deletes renamed DropDownMenu component

Has this been tested? How?

Screenshots (if appropriate)

shows this rather than "OOPS SOMETHING WENT WRONG"

Screenshot 2024-09-09 at 2 09 16 PM

Types of changes

(leave all that apply)

  • Bug fix

New frontend preview link is below in the Netlify comment 😎

Copy link

netlify bot commented Sep 9, 2024

Deploy Preview for health-equity-tracker ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit 0cc252b
🔍 Latest deploy log https://app.netlify.com/sites/health-equity-tracker/deploys/66df56e3cc3e6c00081855c7
😎 Deploy Preview https://deploy-preview-3640--health-equity-tracker.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

netlify bot commented Sep 9, 2024

Deploy Preview for health-equity-tracker ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit 78fd90a
🔍 Latest deploy log https://app.netlify.com/sites/health-equity-tracker/deploys/66e0718499f46300081862db
😎 Deploy Preview https://deploy-preview-3640--health-equity-tracker.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@benhammondmusic benhammondmusic marked this pull request as ready for review September 10, 2024 03:53
@benhammondmusic benhammondmusic merged commit 0f0b25f into SatcherInstitute:main Sep 10, 2024
10 checks passed
@benhammondmusic benhammondmusic deleted the no-undefined-dataset branch September 10, 2024 16:23
kccrtv pushed a commit to kccrtv/health-equity-tracker that referenced this pull request Sep 10, 2024
…e#3640)

# Description and Motivation
<!--- bulleted, high level items. use keywords (eg "closes SatcherInstitute#144" or
"fixes #4323") -->

Starts working on SatcherInstitute#3605 

- rather than throwing an error when a datasetId isn't found, (like when
a forced compare "age" breakdown tries to load data from a set with no
age column like gun deaths of children), instead it just returns an
empty response which triggers our normal missing data alerts that give
context to which specific data is missing
- fixes issue of duplicate disabled demographic type options in dropdown
- deletes renamed DropDownMenu component


## Has this been tested? How?

## Screenshots (if appropriate)

shows this rather than "OOPS SOMETHING WENT WRONG"

<img width="1066" alt="Screenshot 2024-09-09 at 2 09 16 PM"
src="https://github.com/user-attachments/assets/bf88cb60-ed4c-4f8e-8db4-0d5db145cbb7">


## Types of changes

(leave all that apply)

- Bug fix

## New frontend preview link is below in the Netlify comment 😎
kccrtv pushed a commit to kccrtv/health-equity-tracker that referenced this pull request Sep 10, 2024
…e#3640)

# Description and Motivation
<!--- bulleted, high level items. use keywords (eg "closes SatcherInstitute#144" or
"fixes #4323") -->

Starts working on SatcherInstitute#3605 

- rather than throwing an error when a datasetId isn't found, (like when
a forced compare "age" breakdown tries to load data from a set with no
age column like gun deaths of children), instead it just returns an
empty response which triggers our normal missing data alerts that give
context to which specific data is missing
- fixes issue of duplicate disabled demographic type options in dropdown
- deletes renamed DropDownMenu component


## Has this been tested? How?

## Screenshots (if appropriate)

shows this rather than "OOPS SOMETHING WENT WRONG"

<img width="1066" alt="Screenshot 2024-09-09 at 2 09 16 PM"
src="https://github.com/user-attachments/assets/bf88cb60-ed4c-4f8e-8db4-0d5db145cbb7">


## Types of changes

(leave all that apply)

- Bug fix

## New frontend preview link is below in the Netlify comment 😎
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants