-
-
Notifications
You must be signed in to change notification settings - Fork 642
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
Refactored Blocks/ToC/Edits.jsx to functional component #6167
Refactored Blocks/ToC/Edits.jsx to functional component #6167
Conversation
✅ Deploy Preview for plone-components canceled.
|
@stevepiercy Can you review my pr, it's ready to preview. |
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.
This needs review from a member of the @plone/volto-team.
I noticed several recent pull requests that provide similar refactors from newcomers. I'm curious whether this PR is part of a GSoC project or some other recruitment or discovery?
Co-authored-by: Steve Piercy <web@stevepiercy.com>
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.
LGTM.
I am just exploring this things with my friends. |
@Prince0906 you do not need to repeatedly |
@Prince0906 Merging a pull request takes time and you need to be patient. There are some extra things to take into consideration when something is merged such as the need to mark something as breaking or not, or to think on what release version this change should be added. The good news is that you have 2 approved reviews so this work will be merged however asking sneridan to review it I know that you are anxious to have this merged but again that takes time. While waiting if you see another issue that you would know how to tackle feel free to do so and we can help then just like we did now. |
Sorry for the mistake, I will be patient and will avoid making this mistake again. |
I went through the original PLIP and found that this PR may duplicate work in #4961. |
In that pr , Because of some other fixing all checks are not passing. |
@Prince0906 OK. Thanks for confirming. I've put this (and dozens of other) PRs on our next Volto Team Meeting agenda. @plone/volto-team needs to do better with its management of PRs. |
@stevepiercy I had updated the branch and this failed check is not related to my component. |
@Prince0906 thanks for the update and confirming your results against the CI failing check. I restarted the failing check as it has a flaky test in it (metadata). |
Flaky test passed. We need a final review before merging from @plone/volto-team to see if it is a breaking change, and compare against #4961. |
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.
Thanks for your contribution!
I'll go ahead and merge this, and take a separate look at #4961, which also includes a fix that is unrelated to the refactoring.
Ref: #4460
About This PR
This PR refactored
from class based to functional component
Before:
WhatsApp.Video.2024-07-13.at.13.44.33.mp4
After
WhatsApp.Video.2024-07-13.at.13.43.58.mp4
This is my first time contrubuting to Volto .So,if I have done anything wrong in my PR, please give feedback and I will try to rectify that.