-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
[FC-0009] [FAL-3496] Copy/paste unit from within a unit #33724
[FC-0009] [FAL-3496] Copy/paste unit from within a unit #33724
Conversation
Thanks for the pull request, @pkulkark! Please note that it may take us up to several weeks or months to complete a review and merge your PR. Feel free to add as much of the following information to the ticket as you can:
All technical communication about the code itself will be done via the GitHub pull request interface. As a reminder, our process documentation is here. Please let us know once your PR is ready for our review and all tests are green. |
81db070
to
55cd961
Compare
Sandbox deploy request received. Deployment will start soon. |
506a0e5
to
ce8ca40
Compare
Sandbox deploy request received. Deployment will start soon. |
17 similar comments
Sandbox deploy request received. Deployment will start soon. |
Sandbox deploy request received. Deployment will start soon. |
Sandbox deploy request received. Deployment will start soon. |
Sandbox deploy request received. Deployment will start soon. |
Sandbox deploy request received. Deployment will start soon. |
Sandbox deploy request received. Deployment will start soon. |
Sandbox deploy request received. Deployment will start soon. |
Sandbox deploy request received. Deployment will start soon. |
Sandbox deploy request received. Deployment will start soon. |
Sandbox deploy request received. Deployment will start soon. |
Sandbox deploy request received. Deployment will start soon. |
Sandbox deploy request received. Deployment will start soon. |
Sandbox deploy request received. Deployment will start soon. |
Sandbox deploy request received. Deployment will start soon. |
Sandbox deploy request received. Deployment will start soon. |
Sandbox deploy request received. Deployment will start soon. |
Sandbox deploy request received. Deployment will start soon. |
Sandbox deployment started. |
Sandbox deployment successful. Sandbox LMS is available at pr-33724-139931.staging.do.opencraft.hosting Instance config : https://grove-stage-build-logs.nyc3.digitaloceanspaces.com/34602668-5658124149-config.yml |
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 did another review pass to test out the updated functionality, it's working well.
When a unit is in the clipboard, the dropdown menu button appears with the "Paste as new unit" option that pastes right away once clicked. If there is no unit in the clipboard, the dropdown arrow button is not shown.
Sandbox deployment successful. Sandbox LMS is available at pr-33724-139931.staging.do.opencraft.hosting Instance config : https://grove-stage-build-logs.nyc3.digitaloceanspaces.com/34602668-5658124149-config.yml |
1 similar comment
Sandbox deployment successful. Sandbox LMS is available at pr-33724-139931.staging.do.opencraft.hosting Instance config : https://grove-stage-build-logs.nyc3.digitaloceanspaces.com/34602668-5658124149-config.yml |
Can you please verify if the changes are reflecting now ? |
@kaustavb12 Yes, whatever you did has fixed it. Thanks! |
@jmakowski1123 @ali-hugo If you want to see the (final?) version, the sandbox has been updated: https://studio.pr-33724-139931.staging.do.opencraft.hosting/ |
@pkulkark 🎉 Your pull request was merged! Please take a moment to answer a two question survey so we can improve your experience in the future. |
…penedx#33724) (requires the contentstore.enable_copy_paste_units waffle flag)
Sandbox destroy request received. |
3 similar comments
Sandbox destroy request received. |
Sandbox destroy request received. |
Sandbox destroy request received. |
2U Release Notice: This PR has been deployed to the edX staging environment in preparation for a release to production. |
2U Release Notice: This PR has been deployed to the edX production environment. |
1 similar comment
2U Release Notice: This PR has been deployed to the edX production environment. |
@bradenmacdonald Thanks for the link, but I'm seeing the following error: "This site is currently being provisioned. Please try again in a few minutes." |
Thanks for the confirmation @bradenmacdonald . It was a known issue where the cached image keeps getting reused and needs to be manually deleted. We already have an internal ticket to fix this.
@ali-hugo The automated sandbox was destroyed automatically since this PR was closed (on merge). |
@kaustavb12 Oh, I see. Thanks for the explanation! Now that the sandbox is no longer, is there somewhere else I can view this feature? |
@ali-hugo It will be available on the tagging/taxonomy sandbox, whenever we next update it. I think Jill will be updating it fairly soon. |
@ali-hugo Update: it's available now on the tagging/taxonomy sandbox :) |
@bradenmacdonald Thanks! The UX feels much better now with those few small fixes. I'm interested to see what users think. |
Description
This PR adds the option to copy/paste a unit from within a unit in CMS as per the designs in this wireframe. It also removes the
last published
section.Supporting Information
openedx/modular-learning#96
OpenCraft Internal Jira task - FAL-3496
Screenshots
Testing Instructions
contentstore.enable_copy_paste_units
waffle flag in cms admin panel.New Unit
button is clicked, only contains one option i.e.New Unit
Copy to Clipboard
button.Paste as new unit
.Paste as new unit
option and verify that the copies unit is pasted as a new unit.