-
Notifications
You must be signed in to change notification settings - Fork 567
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
Slider upgrade #1979
Slider upgrade #1979
Conversation
Is there something I can do here to help? I'm not particularly familiar with the slider, but if @PoignardAzur is otherwise busy, I can take a look. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, I looked at the code, meant to write a review, but I forgot about it.
Overall, I think the code is pretty good. It's clean, it's mostly straightforward, no major flaw stands out.
Some additional notes:
- The druid codebase tries to avoid merge commits. You should probably rebase your PR onto master, and batch the changes into fewer commits while you're at it.
- You need to add a short description your example to
druid/examples/readme.md
.
Overall, I think this code is ready to merge. The big blockers are the problem of low step values with Annotated
and the examples/
readme. All the other changes I suggest are nice-to-haves.
@jneem I'm not too occupied, I just procrastinated on it. But thanks for the offer. =) |
Thanks for your review and sorry that it took so long, i was quite busy lately. I addressed all of your suggested changes except the merge commits. Can i get rid of them by squash-merging the branch? These commits were created by Github, after resolving the merge conflicts is there another way to resolve merge commits without creating merge-commits? The other thing i dont understand is this error:
I didn't changed anything in druid_shell. Has is something to do with merging? I am not a Git expert any advice with these two things is appreciated :) |
Feel free to cherry-pick this commit that fixes the CI issue: db7faff |
What's the status of this? I'm happy to do the squash/rebase if it's all that's needed. |
Oh, sorry. I'm currently busy catching up on other work, so if you want to take responsibility for this PR, feel free =) Just ping me once you need it merged. |
Yes, thank you. The problem is i used merge commits to update my fork and i don't know how to remove them from this PR and i need to cherry-pick db7faff but i don't know how that works. |
No problem, I can probably handle it today. Any objections if I just modify this PR directly? |
No, that's fine, thanks :) |
d7247ed
to
6430bf8
Compare
I think these changes have been made already
Makes color, axis, and knob style configuration, and adds annotations.
6430bf8
to
f205c31
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, I think the git/CI issues are resolved now.
For future reference, it's best not to merge changes from the main branch into a PR: it creates duplicate commits, because when git merges it creates new commits that "look like" the original commits but have different ids. And then when you try to merge back there are multiple commits all trying to do the same thing. The fix was:
(Edit: sorry, I just realized from scrolling up that you already know about the issue with merge commits. Didn't mean to pile on 😄) |
Thanks a lot. I am going to try to understand what you did there :) |
|
Adding
RangeSlider
andAnnotated
.Adding options track_color, axis, knob_style and annotated on
Slider
andRangeSlider
.