-
Notifications
You must be signed in to change notification settings - Fork 3
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
Prison stay lengths section with bar charts #333
Conversation
This reverts commit 8af4e1d.
Pull Request Test Coverage Report for Build 535119573
💛 - Coveralls |
realized after opening the PR that I had broken highlighting with my type changes ... fixed it and added a hook to consolidate some type checking for highlight states to try and harmonize things a bit more |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
📽️
I meant to approve Daniela's PR - un approving since I haven't finished looking at this yet :)
🎢 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🏖️
}); | ||
}); | ||
|
||
test("loading", () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was wondering if this would also be the place to test that we see the NoMetricData
component when metric has an error?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hmm yeah I haven't been doing that due in part to laziness (error handling is tested in the Metric model but not in the UI) but also because the error handling is still kind of a placeholder ... there is a ticket #327 to flesh it out, I made a note there about the existing test coverage because it may depend on what the real designs are
Description of the change
Ports over another chart component, the
BarChartTrellis
, to implement the prison stay lengths section. This was really only a UI change since this section uses the same data handling logic implemented in #332 .The
BarChartTrellis
component is simplified compared to its v1 counterpart, because the layout is different (single column) and it doesn't really need the SemioticFacetController
(the v1 component probably didn't really need that controller either, we live and learn). This in turn let me remove some special case handling from theResponsiveTooltipController
(specifically the render prop, which was only needed to supportFacetController
). Some assorted type changes and cleanup fell out of that.Type of change
Related issues
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: