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

Version 1.0 [work-in-progress] #1871

Closed
wants to merge 15 commits into from
Closed

Version 1.0 [work-in-progress] #1871

wants to merge 15 commits into from

Conversation

aendra-rininsland
Copy link
Member

This PR is meant to rally efforts towards getting to v1 of C3.js.

Key features of v1:

  • D3 v4 compat (D3 4.0 compatibility #1648)
  • Charts provided via plugin system
  • Component parts separated into ES2015 modules
  • Each part of internal API fully documented
  • TypeScript definition generated from documentation

James Garfield and others added 15 commits September 14, 2016 22:30
Add tap events to eventRects
separates Chart.prototype fns from ChartInternal.prototype fns (api.flow and api.transform)
separates Chart.prototype fns from ChartInternal.prototype fns (api.flow and api.transform)
separates sources into 3 modules + core

moves API and inherit functions to their own file, inside axis folder

moves ChartInternal constructor from core.js to chartinternal/index.js file

moves Chart constructor from core.js to chart/index.js file

moves Chart constructor from core.js to chart/index.js file

separates core.js into start.js and end.js

separates remaining core.js logic  into head.js and tail.js

polyfill should be in the global namespace

concatenate using the new paths

creates multitask to generate modules axis, chart and chartinternal

runs tests against new module structures

adds rollup script

module concat tasks also add their imports and exports

es6_modules folder, which also contains rollup.entry skeleton

adds rollup task

renames api_inherits

multitask build_rollup
@panthony
Copy link
Contributor

Hi @Aendrew,

Is this project still being worked on ?

I really like this library I'm using it a lot and I'd rather invest time fixing and adding missing things that redoing everything using another chart library.

But looking at the issues that are never closed or responded to, PR that are never merged, and this big bang PR that will break every other ones I wonder if it is still worth it to try to fix things.

Maybe I could help in some way ?

@aendra-rininsland
Copy link
Member Author

@panthony I'm honestly not sure what the best approach is at this point. I've admittedly halted work on this PR for the moment as I'm drowning in work and behind deadline on my book, but am hoping to return to it at the start of next year with fresh eyes. I think what's needed more than anything is a feature freeze until we can get everything sorted out architecturally, so if you're wanting features C3 lacks, you may want to look elsewhere for the moment, unfortunately.

@panthony
Copy link
Contributor

@Aendrew Well I could always workaround the issues, fix them in a fork, or directly implement what I need using D3 directly.

What worries me is more the issues not being closed, PR proposing unit tested fix not being merged, etc.

I'd like to avoid diverging too much from the official repository.

And are you alone on c3 ?

When I walk around issues because I'm looking for something I often see duplicate issues, or simply questions about "how do things" that could be closed since they should use the google groups instead.

And I honestly think that the scope of this PR is way to broad and should be broken down into several steps in order to not freeze everything for months. Isn't it possible to move code as module little by little ?

@aendra-rininsland
Copy link
Member Author

@panthony Good points. I've not gotten a lot of input or buy-in from the other contributors so I don't perceive there to be a lot of appetite for my current tack with this. My feeling is that it might be better to close this PR for now to prevent confusion, re-evaluating efforts to get to v1.0 in the New Year.

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.

4 participants