Skip to content
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

M3 Enhancement: Add option to copy/paste a unit from within the unit #96

Open
jmakowski1123 opened this issue Aug 28, 2023 · 3 comments

Comments

@jmakowski1123
Copy link

User stories:

As an author, I want an option to copy a unit from within the unit view of my course, so I can see the exact content I am copying at the time of the copy.

As an author, I want an option to paste a unit within the unit view of my course, so that I don't have to navigate out of the unit authoring environment in order to paste a unit from my clipboard.

Requirements:

  • Add a "copy" button/icon to the unit icons in the horizontal unit navigation view of the unit authoring environment. When the copy button is clicked, the unit gets copied to the clipboard. Needs to be implemented in a way that doesn't clutter the horizontal nav view.

  • Add a "paste new unit" to the horizontal unit navigation view of the unit authoring environment. When the paste button is clicked, the unit is added to the subsection, in the same way that a new unit is added via the "+ New Unit".

Image

Out of scope (?):

  • The ability to choose where in the subsection the copied unit can be added. When the "Paste New Unit" button is clicked from the horizontal navigation bar, the copied unit will be added as the next unit in the subsection. This follows the same behavior as clicking the "+ New Unit". If users want to rearrange the order of the units in the subsection, they can do so from the course outline. (Unless there's an easy way to implement moving/changing unit order from the horizontal nav bar within the unit, but I suspect that's probably too complicated and out of scope... ?)
@jmakowski1123 jmakowski1123 converted this from a draft issue Aug 28, 2023
@jmakowski1123 jmakowski1123 moved this from Refined to To refine in New Feature: Copy/Paste Aug 28, 2023
@jmakowski1123 jmakowski1123 changed the title M2 Enhancement: Add option to copy/paste a unit from within the unit M3 Enhancement: Add option to copy/paste a unit from within the unit Aug 29, 2023
@ali-hugo
Copy link

ali-hugo commented Sep 7, 2023

Hi @jmakowski1123

I've finished the first draft of the design for copy/pasting a unit within a unit. I've tried 2 different approaches, both of which differ slightly from what is outlined in the description above (as per our Slack discussion about aligning the Copy/Paste project and Content Tagging). I'd love to hear your thoughts!

I've shared the design with @pkulkark for her feedback as well as she will be implementing the chosen approach. On that note, @jmakowski1123, Pooja has planned to work on this next week (11-15 September). I know your plate is likely to be full when you get back from leave, but it would be great if you could prioritize this review if possible.

Here is a link to the design. You can add comments directly to Figma.

@santiagosuarezedunext
Copy link

Without a doubt this is a necessary feature. I leave my point of view on the design.
I think that either of the two approaches to copying the unit is understandable and useful.
Screenshot 2023-10-02 at 12 35 41 PM

And for the paste button I prefer the following approach, because as a user it makes me understand that I can only paste a unit as a new unit, not inside another, and I also like that we use an existing button, we avoid adding an independent button to the interface.
Screenshot 2023-10-02 at 12 36 23 PM

However, it's just an opinion, I hope it's helpful.

@ali-hugo
Copy link

ali-hugo commented Oct 4, 2023

Thanks @santiagosuarezedunext! Your feedback is very helpful, as always. 🙂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Status: To refine
Development

No branches or pull requests

3 participants