-
Notifications
You must be signed in to change notification settings - Fork 80
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
kselect refactor #549
kselect refactor #549
Conversation
Thanks @Jaspreet-singh-1032. I will review. It may take a while - lots of work here! |
@Jaspreet-singh-1032 The conflicts here will be caused by our rebranding work and I think it'd be simplest not to do much about it right now because there may be some further updates. I think we will just prefer updates from this PR after the review and then before merging I will make sure it's rebranded, so in this regard there won't be any action necessary from your part. Thank you for your patience. |
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.
While validating one of the props value, I want to share some of the concerns:
- Logic of computed properties are reduced which may be dangerous and may cause bugs unknowingly.
- Inconsistent use of this.selection and this.value, even tho they are same thing we should prioritize using what was already used naming convention, if there's some specific reason we are doing this would love to know!
Hi @Jaspreet-singh-1032, thank you. I think @ozer550 was going to do some testing in Kolibri. After that, I will give the PR the final look. I think it'd be fine to resolve @ozer550's first feedback already if you'd like to, since it seems there's agreement on it. |
@Jaspreet-singh-1032 We have started QA. Now it would be good to resolve the feedback from @ozer550, if you can, because after the QA, I'd like to rebase this on top of the latest work and resolve conflicts related to the rebrand. |
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.
Hi @Jaspreet-singh-1032, apologies it took me such a long time and thanks one more time @ozer550 for providing first round of feedback.
I've just did my best to review as well, focusing on going through the previous KSelect
API and checking that everything that needed to be moved there from KeenUiSelect
is indeed there. I haven't noticed any issues, as far as I can say, and for the rest of it I think we can rely on linters and thorough QA :-)
I left one note in regards to docstrings, and I also think that multiple
and multipleDelimiter
logic needs to be returned as @ozer550 asked for some time ago.
I believe the work on this has been pretty demanding and thanks again. I learned a lot and I think the strategy for all upcoming refactors like this could be to (1) just rename and move the logic while not deleting any APIs, (2) determine and list APIs to be removed, if any (or alternatively document them if we decide to keep them), (3) do whatever was planned in the previous step gradually. If you had some reflections on how to make work and review smooth for issues like this, we'd be very glad to hear from you.
@Jaspreet-singh-1032 Good news :) Our QA team hasn't noticed any problems with selects in Kolibri, except of just one that is not related to this work. Great work! I believe we'll be close to merge after the feedback I posted earlier is resolved. |
Great, thanks so much, @Jaspreet-singh-1032. I will take it from here and resolve the conflict related to the rebranding because I think it's best to have some more background for that. |
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.
I resolved conflicts in style and tested one more time on the documentation page as well as at a few places in Kolibri. All looking good to me, thanks everyone.
Thanks @MisRob |
closes #523
KeenUiSelect
toKSelect
and removed unused codeKeenUiSelectOption
toKSelectOption
Tested it by linking
kds
with Kolibrihttps://www.loom.com/share/66f72fc4572641a6a46c09373d319ad8?sid=6034a517-8088-4b4d-9645-8200761b5cb2
Testing checklist
Reviewer guidance
After review
CHANGELOG.md
Comments