-
Notifications
You must be signed in to change notification settings - Fork 3
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
SHS-5771: Make the Paragraph Drag and Drop option more visible to Site Editors #1610
Conversation
…o top of paragraph toolbar
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.
@codechefmarc Works great, thanks! Just one detail: can you please remove the changes in composer.lock
from the PR. It's better to leave this to SWS, they're the ones in charge of module updates.
Ok, @cienvaras , reverted |
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 @codechefmarc !
@ahughes3 Ready for you to review.
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.
Works as expected and looks good, approved by H&S
Yea, I'm just not sure if looping through the config key/values will set or unset all the values correctly, even if it gets most of it accomplished. The updateFromStorageRecord method should work. |
@codechefmarc @ahughes3 Is #1599 going to make this PR irrelevant since paragraphs_browser is being deprecated? |
I'm having the same issue. The database update doesn't work but running the update code manually with |
@joegl What I added was part of the paragraphs module directly, so not sure if the widget is changing. I'll take a look over on that PR to check first. If not, I'll make the one change you need here and let you know. |
@joegl - So, I checked PR-1599 and this PR to add drag and drop visibility is still needed as we're still using Paragraphs in the regular way, it's just the way to choose a new paragraph is new. I did test out just changing the service as you had mentioned and again it works with the I'm out of hours this week, so I can continue to work on this next week if you wish. Let me know your thoughts. Thanks! |
Sounds good and thanks for all the back-and-forth. We'll definitely need to coordinate the merge and release of these 3 paragraph PR's probably in the next release cycle but it's all looking good so far. Enjoy your time off 👍 |
A quick update/summary: I'd like to merge #1574 and #1599 first, then get those changes merged into this PR and update this PR necessary. Because this change is much smaller than the other two, it's probably easier to merge those two larger PR's first and accommodate those changes here than vice-versa. CC: @ahughes3 @codechefmarc |
Both #1574 and #1599 have been merged now. This will need to have the latest code merged in and get the conflicts resolved, and then probably get a second look to see if it needs to be updated to work with the new paragraph changes. @cienvaras @codechefmarc |
…-5771--paragraphs-drag-drop
@joegl the branch is updated and ready to review. I implemented the requested changes in the new update hook ( |
We'll have to reconcile some other code too - I just made changes to PR-1622 that also includes a |
PR-1622 was updated so the update hooks are now corrected. |
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 @cienvaras and @codechefmarc
READY FOR REVIEW
Summary
Need Review By (Date)
2024-09-11
Urgency
low
Steps to Test
PR Checklist