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

Units can be copy-pasted from a library into a course #1647

Open
bradenmacdonald opened this issue Feb 4, 2025 · 3 comments
Open

Units can be copy-pasted from a library into a course #1647

bradenmacdonald opened this issue Feb 4, 2025 · 3 comments

Comments

@bradenmacdonald
Copy link
Contributor

No description provided.

@bradenmacdonald
Copy link
Contributor Author

@sdaitzman could you please flesh out this issue? We'll want to ensure that for Teak, it's at least possible to copy-paste units into a course so that there is some way to use the new units functionality before we implement the full Epic 14 workflow.

@sdaitzman
Copy link

@bradenmacdonald I'm concerned about adding copy-paste support to units because of the added complexity. Would we have to keep track of two (eventually four) clipboards for different levels of content? Or, would we end up in a situation where you can have a clipboard that can't be pasted in a context with a paste button?

Let me know if I'm overthinking this, or missing some reason to prioritize copy-paste support for units— I was planning to defer this to a later epic to build out that logic.

@bradenmacdonald
Copy link
Contributor Author

@sdaitzman We already support copy-pasting units among courses in the platform. There is very little new functionality here, only adding a "Copy" button to the UI.

I think you're overthinking it a bit perhaps. We have only one clipboard, and the paste button on the course outline page is only enabled if you have a unit in the clipboard. The paste button on the unit page (to paste a component) is only enabled if you have a component in the clipboard. You can try this out in courses in Studio today.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants