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

Refactor summary row #254

Merged
merged 33 commits into from
May 31, 2018
Merged

Refactor summary row #254

merged 33 commits into from
May 31, 2018

Conversation

jwildfire
Copy link
Contributor

@jwildfire jwildfire commented Apr 11, 2018

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

@jwildfire jwildfire requested a review from samussiah April 18, 2018 17:55
@@ -0,0 +1,82 @@
export default function makeHist(this_, d) {
Copy link
Contributor

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')
Copy link
Contributor

@samussiah samussiah May 2, 2018

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';
Copy link
Contributor

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.

Copy link
Contributor

@samussiah samussiah left a 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!

jwildfire and others added 4 commits May 11, 2018 10:33
@danedexF5
Copy link

danedexF5 commented May 23, 2018

@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)
#187:
-"Confirm that a text-based summary of the variable appears above the chart when a row is expanded" Not seeing this when a variable is expanded.
-Test page isn't rendering in IE
#251:
-" Confirm that column count is hidden by default (when 100% of the columns are selected)" Not sure how to test this as it seems we're confirming a negative. Column Count is hidden, when I hide a column in settings, it does give me the number of hidden columns next to row count. Is this the confirmation we're looking for?
#252:
-If the threshold is hard coded to anything missing above .1 will highlight red then right now it doesn't appear to be right. I am seeing values above .1 that don't highlight red.
#256:
-"Confirm that the shape of the distribution mimics the larger chart (click "show all charts" to see the large charts)" Not sure what this means but the numbers of the chart to the right of the variable headers appears to match the larger charts within the variables.
-"Confirm that continuous variables have black bars while categorical variables have gray bars" I'm not seeing any black bars, how can I filter for a continuous variable? I do see some gray bars with blacks caps on the end of them.
#258: Only issue appears to be the same problem of the test page not loading in IE.
#259: Only issue appears to be the same problem of the test page not loading in IE.
#260: No Issues.

@jwildfire
Copy link
Contributor Author

jwildfire commented May 24, 2018

@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.

@danedexF5
Copy link

@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.

@jwildfire
Copy link
Contributor Author

jwildfire commented May 31, 2018

#187 @danedexF5 just refers to this section of the variable summary (text-based might not be the best identifier. screen shot 2018-05-31 at 11 53 13 am

@jwildfire
Copy link
Contributor Author

jwildfire commented May 31, 2018

#251 @danedexF5 yep, I think the test you describe above confirms functionality for the column counts.

@jwildfire
Copy link
Contributor Author

#252 @danedexF5 Can you please create a bug and document the steps to reproduce the situation when a missing value >10% isn't red.

@jwildfire
Copy link
Contributor Author

jwildfire commented May 31, 2018

#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.

@danedexF5
Copy link

#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.

@jwildfire jwildfire merged commit fe8376d into v1.4.0-dev May 31, 2018
@samussiah samussiah deleted the refactor-summary-row branch June 11, 2018 14:24
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.

3 participants