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

Updating dependencies, updating rollup config file #13

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

LostInBrittany
Copy link

Hi! Thanks a lot for having updated this module to D3 version 4+!

I am using it in a D3 v5 project (it works great!), so after having tested it, you have here a PR updating the dependencies (normal, peer and dev). As recent Rollup versions have changed the format of the config file, I've also updated it.

Thanks again for the good job!

@denisemauldin
Copy link
Owner

Hi @LostInBrittany !

Thanks for the PR. I think the package-lock.json gets generated by npm v5 right? I know there's some debate on whether or not to commit it to source control. What do you think are the advantages of including it comparing to having npm regenerate it?

@LostInBrittany
Copy link
Author

LostInBrittany commented Apr 27, 2018 via email

@LostInBrittany
Copy link
Author

Hi! I've updated the PR as I have changed the default for colors() to d3.scaleOrdinal(d3.schemeCategory10) instead of d3.scaleOrdinal(d3.schemeCategory20).

The reason is that d3.schemeCategory20 has been removed from d3 v5.

@LostInBrittany
Copy link
Author

Hi!

There are some errors I need to check before being able to submit you the PR in full confidence, I close it by now and I will reopen it as soon as I will fix them.

@LostInBrittany
Copy link
Author

Ok, I made all the examples work :)

I had a problem with allowZoom. As written, it only allows zoom is allowZoom(false) is configured.
As I understand it should the the oposite, I have change it. If I am wrong, sorry about that!

@LostInBrittany
Copy link
Author

Hello!

When do you think you will have a moment to look at this PR?

Sorry to insist, I am using it in an app, and I would prefer dropping the dependency to my fork and put this one :)

@denisemauldin
Copy link
Owner

@LostInBrittany Ah, I didn't realize you were done trying to fix it. :) Everything is working now?

@LostInBrittany
Copy link
Author

LostInBrittany commented May 22, 2018 via email


if (! allowZoom) {
}
if (allowZoom) {
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There needs to be a default zoom. The default zoom is what allows the sideways scrolling in the days_scrollable.html. Why was this change necessary?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, I commented on that jon the PR thread :)

I had a problem with allowZoom. As written, it only allows zoom is allowZoom(false) is configured.
As I understand it should the the oposite, I have change it. If I am wrong, sorry about that, I guess I don't see the semantics/meaning of the allowZoom method :(

@denisemauldin
Copy link
Owner

@LostInBrittany This PR results in a change in functionality. Please address comment.

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