-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Checkbox filtering dc v3 #1389
Checkbox filtering dc v3 #1389
Conversation
Facing a peculiar issue - few test cases fail in phantomjs, but succeed when I run in browser (firefox, safari, chrome) on a Mac. Issue appeared only in current commit, works well with D3v3 (original PR). |
Ugh, that is upsetting. Perhaps phantomjs is falling behind on compatibility with the browsers. I believe it has been abandoned and people have moved on to other headless browsers for testing. Perhaps it is time for us to do the same? How do you feel about trying some infrastructure upgrades? The particular error is
I could be wrong, but I am guessing this means that I believe there's only one line that could trigger this, here: .property('checked', function (d) {
return d && _chart.filters().indexOf(String(_chart.keyAccessor()(d))) >= 0;
}); So you could try adding |
@gordonwoodhull you are a genius 👍 I am creating a new task for infrastructure upgrades. |
Complete my work for now. Moving onto next PR. |
Hi @ialarmedalien, many thanks for getting back! Your assistance will be quite appreciated. So, far I have just ensured that code works with newer version of D3. In the meanwhile it will be helpful if you can check that functionally and test wise it mimics the select menu component. I will give commit access to the branch so that you can directly push your changes. I am less available for next 2-3 days, so my responses will be slow. |
Rebased and changed base to |
Thanks @ialarmedalien, @kum-deepak! Merged for 3.0.0 |
Based on #1348 - updated for D3v4.