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

Fix demographic dropdown display text #3820

Open
benhammondmusic opened this issue Nov 21, 2024 · 1 comment
Open

Fix demographic dropdown display text #3820

benhammondmusic opened this issue Nov 21, 2024 · 1 comment
Labels

Comments

@benhammondmusic
Copy link
Collaborator

Describe the bug

some of the newer demographic options display as snake_case rather than user-friendly casing in the dropdown select box

To Reproduce
Steps to reproduce the behavior:
0. Ensure the feature flag is enabled for cancer screening phrma brfss topics on your environment

  1. Go to http://localhost:3000/exploredata?mls=1.gun_violence-3.cancer_screening-5.00&group1=All&demo=race_and_ethnicity&mlp=comparevars&group2=All
  2. Click on sidebar dropdown "Demographic"
  3. observe weirdly formatted disabled demo options

Expected behavior
User facing text should not look like variable names. e.g. we want Insurance Status not insurance_status

Screenshots

Screenshot 2024-11-21 at 10 56 55 AM
@vinhyan
Copy link

vinhyan commented Nov 25, 2024

Hi! I can look into this issue :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: No status
Development

No branches or pull requests

2 participants