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

Crash details: crash injury widgets #1611

Open
wants to merge 7 commits into
base: john/19990-404-page
Choose a base branch
from

Conversation

johnclary
Copy link
Member

@johnclary johnclary commented Nov 19, 2024

Associated issues

This creates the basic working injury widgets, taking inspo from the ACC designs. I kept styling super simple: black badges if there are 0 injuries, primary (blue) badges if there are injuries. I also played around with only showing badges that had a non-zero value, which I kinda liked but didn't want to overthink this feature.

Feedback on design is welcome, and I'll plan on opening a follow-up issue to further refine the look and feel of the badges and the crash header in general.

Screenshot 2024-11-20 at 12 04 46 PM

Testing

Navigate to various crashes and check that the badges are rendering correctly. This would be easier to test if we had the people records on the screen, but that won't happen until we do cityofaustin/atd-data-tech#19965.


Ship list

  • Check migrations for any conflicts with latest migrations in main branch
  • Confirm Hasura role permissions for necessary access
  • Code reviewed
  • Product manager approved

@johnclary johnclary changed the base branch from main to john/19990-404-page November 19, 2024 22:50
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.

1 participant