Uh oh!
There was an error while loading. Please reload this page.
Updates to the react-pivottable component - #79
Conversation
…d modify. Made minor updates to Utilities as well.
…pand operations for complete attributes. Also cleanup some edge cases and pre-calculate the callbacks.
nicolaskruchten
commented
Jun 11, 2019
Interesting, thank you! Perhaps instead of modifying |
| : Object.keys(this.props.renderers)[0]; | ||
| const rendererCell = ( | ||
| rendererCell() { |
There was a problem hiding this comment.
are the changes here just refactoring or are they required for the new renderer to function?
nicolaskruchten
commented
Jun 11, 2019
The same might actually apply to |
prakhargoel-beacon
commented
Jun 13, 2019
Nicolas, Totally understood. This is a pretty large PR. And apologies for taking so long to get back to you. Work just kept getting in the way. For better understanding the changes:
Regarding splitting out the subtotal code:
Hope this helps! |
nicolaskruchten
commented
Jun 13, 2019
OK, thanks for the detailed response! I promise to take a close look in the coming week: I'm just buckling down for a big release at the moment. |
nicolaskruchten
commented
Jun 13, 2019
One thing which would make both reviewing and merging easier is the addition of a test or two for the modifications to |
prakhargoel-beacon
commented
Jun 13, 2019
That I can do. Also if it'll help, I can re-arrange the commits into something a bit more logical. Feel free to ask. |
nicolaskruchten
commented
Jun 13, 2019
Your description of the commits is great, no need to rearrange anything! A test would help and then it's a question of me finding the time to QA/review :) |
… more tests for PivotData. Also added a separate build target.
prakhargoel-beacon
commented
Jun 24, 2019
FYI: I added in that test for PivotData and the prepare script. Just wondering if you had any other requests. Thanks. |
newt0311
commented
Aug 4, 2019
Hi, Just wondering if you'd gotten a chance to take a look at this. Thanks. |
newt0311
commented
Sep 2, 2019
Hello again Nicolas, Got a chance yet? Any way I can help? Thanks. |
nicolaskruchten
commented
Nov 5, 2019
I'm looking at this today. Apologies on the delay. |
nicolaskruchten
commented
Nov 5, 2019
OK so I cloned this and ran |
nicolaskruchten
commented
Nov 5, 2019
In terms of getting this merged in, this really is too big a PR to easily review... Do you think you could submit a series of smaller ones or something? Maybe one for the row/total columns? And a separate one that just does some of the cleanup/refactoring without changing the behaviour? all in the service of making the bigger behaviour-change PR easier to review? Sorry, I know it's a big ask after a long silence, but I would like to get this sorted and release your hard work! |
newt0311
commented
Nov 5, 2019
I'll take a look at the errors and split up the pr. Thanks for taking a look. |
nicolaskruchten
commented
Jun 5, 2020
Did you still intend to look at the errors and/or break up this PR into more-digestible chunks? |
newt0311
commented
Jun 5, 2020
Yes. Eventually... Work has just gotten busy. (And yes, I recognize the irony in pushing for a review and then holding up progress myself. My sincere apologies.) |
nicolaskruchten
commented
Jun 5, 2020
No worries ;) |
mikkelking
commented
Jul 29, 2020
Any progress on this - I'm presuming the PR is a step forward for the module... is it best to spend more time and break it up into pieces, or accept it as is? |
newt0311
commented
Jul 30, 2020
I recommend adding to the current master. I don't know when I'll get around to updating this PR and besides the changes are pretty self contained in the table renderers. |
thetwosents
commented
Nov 24, 2020
Bump. Willing to sponsor project updates. |
nicolaskruchten
commented
Nov 24, 2020
@thetwosents please email me at nicolas@plotly.com and we can chat about sponsorship? |
This pull request adds in a number of pivot-table features. Primary among them are:
The subtotals renderers work with the heatmap logic and support collapsing sub-entries. They also play nicely with the aggregation framework, callbacks, etc... I've attached a screenshot below demonstrating the subtotal facility (the bottom table has rowTotals disabled).
(Apologies in advance for dumping such a large PR on your lap. I'd be happy to explain the changes and to update it to conform to your coding guidelines, etc...)
Thanks.
-- PG