Ports RingSlider2D to v2 architecture - #1121
Conversation
|
I’ve pushed the initial changes for this. Would really appreciate it if you could take a look and share any feedback or suggestions.I’d be happy to iterate and refine it further . |
|
Hello @medha-14 Thanks for the work. I have merged #1118 from @ganimtron-10 . Please rebase the PR. Also provide an example for the same to try and test the changes. |
03c9439 to
7dd54da
Compare
|
Hi @maharshi-gor, @ganimtron-10 I’ve completed the required changes and also added the corresponding examples and tests. Could you please review the updates when you get a chance and let me know if anything needs further improvement or fixes? Thanks! |
maharshi-gor
left a comment
There was a problem hiding this comment.
Hello @medha-14 Thank you for the work. Looks good.
I strongly believe that we are repeating work from lineslider2D. @ganimtron-10 should be able to assess better.
I think RingSlider2D should inherit LineSlider2D and just override the methods which are absolutely necessary.
Please provide your view @ganimtron-10 .
Again @medha-14 thanks for work it works as expected, but I think we might need to consider the maintenance as well.
|
Hi @medha-14 , |
|
@ganimtron-10 and @maharshi-gor thanks you for the reviews and I agree with the changes you have suggested. I’ve made a It would be great if you could take a look at the changes and share your feedback. |
ganimtron-10
left a comment
There was a problem hiding this comment.
Hi @medha-14 ,
Thanks for the PR!
I have added few initial review comment, PTAL and update accordingly.
|
@ganimtron-10, thank you for the detailed review. I have fixed all the review comments. For the testing part, I kept it as it is for now because we do not yet have an Also, I used a mock subclass for I am happy to improve both of these later :) |
maharshi-gor
left a comment
There was a problem hiding this comment.
Thanks again @medha-14
and sorry I was caught up on somethings so could not look into it.
I feel this is a good progress but it will need more work. Please check my comments.
|
Also, Thank you @ganimtron-10 for helping out here. |
|
@ganimtron-10 @maharshi-gor, thanks for the review. I have implemented all the changes that you suggested, please review and let me know if anything else is needed. |
|
Hey @ganimtron-10 and @maharshi-gor, could you please rerun the checks on this? |
|
Hi @maharshi-gor ,
I think a better UX would be to have the zero at the top center (12's position) and increase clockwise and it resonate the clock and would be general flow for anyone to start using it, because when I tried the demo it felt a bit off first like staring on the right and then moving counter clockwise. Would love your comments on it. |
|
Hey @medha-14 any updates on this one? |
I agree on the UX would be better to have the starting point at 90degrees and work from that in clockwise instead of counter clockwise. Let's stick to that. |
|
@maharshi-gor @ganimtron-10 I have fixed the angle calculation, to make it clockwise and also changed the initial point to 90 degrees, please have a look and tell if anything else needs changing. Thanks! |
|
Hi @medha-14,
|
|
@ganimtron-10 I have done the required changes, please have a look :) |
maharshi-gor
left a comment
There was a problem hiding this comment.
Thanks for the work @medha-14 .
We are almost there. Please check my final round of comments.
|
@medha-14 ??? any chance to have an update ? |
|
Sorry, I completely missed this review. I’ll be more careful going forward. I have made the changes please see if anything else is needed. |
|
Thank for the update. @maharshi-gor and @ganimtron-10 , any other comments ? |
ganimtron-10
left a comment
There was a problem hiding this comment.
Hi @medha-14 ,
Please resolve the below two comments, rest LGTM, Thanks!
|
I have done the requested changes, please review. Thanks! |
|
Thank you for the changes @medha-14 |
|
Last request will squash commits significant commits like 8 commits @medha-14 ? I do not want to squash all of them into one but there are a lot of not so useful commits. |
|
Hey @medha-14 please rebase the PR as well. |
|
@maharshi-gor @ganimtron-10 I’ve squashed the commits and rebased the branch. Please review the changes whenever you get a chance, and let me know if there’s anything else that needs to be updated. Thanks :) |


Issue: #1116
Ports
RingSlider2Dto thev2branch following the new UI architecture.Changes
Base Branch
v2