cubism-es
cubism-es copied to clipboard
Upgrading to D3V6
The latest version of cubism-es is incompatible with the latest D3 library version realised last September, namely one of the issues is the API change around d3-selection new event manager (d3.mouse
-> d3.pointer
).
Is there a plan to upgrade? If wanted, I can submit a pull request with the changes necessary to both the library and demos.
Because of the lack of activity, I'll just go ahead and attempt to do it myself.
Thank you. Once you make a pull request I'll merge it.
Any update on this @Fallstop? I'd be happy to test.
Sorry! Completely forgot about this. It's mostly done as there was not a lot of API changes, but my testing method is very jank. Is there an example repo that I could use to test the changes?
You can presumably use the demos in this repo: https://github.com/BigFatDog/cubism-es/tree/master/demo
That's what I thought too. But those are all using DISCRETE CUBISM.JS
, a modified version of the original cubism, and don't use cubism-es
.
That's not correct:
- Only
demo/discrete-cubism.html
is usingdemo/discrete-cubism.js
; none of the others are. -
demo/discrete-cubism.js
is not a modified version of the original cubism, it's some code specific to the discrete-cubism demo, and that demo, like all the others usescubism-es
:
https://github.com/BigFatDog/cubism-es/blob/c8dd327e549148c29fcfed86c38bbd4748018937/demo/discrete-cubism.html#L20
Any news ?
@Fallstop can you push your work in progress in your repo ?
I made a few commits in my fork to:
- update dependencies: https://github.com/ekacnet/cubism-es/tree/update_deps
- update d3: https://github.com/ekacnet/cubism-es/commits/update_d3
- add github actions: https://github.com/ekacnet/cubism-es/tree/add_github_actions
I don't know how much @BigFatDog is still active on this project if not active I might end up publishing something on npm on my own.
All my changes are available in my dev branch on: https://github.com/ekacnet/cubism-es/tree/dev.