-
Notifications
You must be signed in to change notification settings - Fork 5
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
Refactor summary row #254
Refactor summary row #254
Conversation
…ad two files with the same label
@@ -0,0 +1,82 @@ | |||
export default function makeHist(this_, d) { |
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.
Super slick.
.attr('class', 'percent-missing') | ||
.text(d => d3format('0.1%')(d.statistics.percentMissing) + ' missing') | ||
.style('display', d => (d.statistics.percentMissing == 0 ? 'none' : null)) | ||
.style('cursor', 'pointer') |
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.
To filter out missing records on a click event?
@@ -0,0 +1,40 @@ | |||
import { format as d3format } from 'd3'; |
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.
Makes a lot more sense up here.
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.
The mini-plots kick butt and moving the variable details between the variable header and the chart improves the feng shui, as does moving the dataset summary to above the nav tabs. Nice work!
…te to source local files
add code that waits until the loading state of the document is comple…
@jwildfire I wrote notes on each issue here. Some of them seem to be fine outside of a small thing or 2 (for example, the functionality is fine in FF and Chrome but the Test page won't work in IE) |
@danedexF5 Can you please make a new issue to cover the IE bug? I'll take a look ASAP and decide if we need to deal with it in v1.4 or if it can wait. |
@jwildfire Sure, I'll create an issue now. To clarify a little, I restarted and I can get one test page to come up in IE (https://rawgit.com/RhoInc/web-codebook/refactor-summary-row/build/test-page/) and one still will not (https://rawgit.com/RhoInc/web-codebook/refactor-summary-row/build/test-page/explorer.html). So it appears the issue is with the explorer part of it. |
Fix multiple file labels in explorer
#187 @danedexF5 just refers to this section of the variable summary (text-based might not be the best identifier. |
#251 @danedexF5 yep, I think the test you describe above confirms functionality for the column counts. |
#252 @danedexF5 Can you please create a bug and document the steps to reproduce the situation when a missing value >10% isn't red. |
#256 I think the color difference in the header charts is probably too subtle to notice ('cyl' is gray and 'mpg' is black in the screenshot below). Going to make an issue for a future release to change the categorical bars to a dark blue and see if that makes them easier to distinguish. |
#252 @jwildfire disregard my note on this one. I was mistaken and not converting to %'s, so it appears to be working as expected. 10% and above is red, below 10% is grey. |
This PR covers most of the new user-facing functionality in v1.4.0. Test notes are in the issues listed below.
closes #187 #251 #252 #256 #258 #259 #260