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

Add library content to a course #1337

Open
Tracked by #1095
jmakowski1123 opened this issue Sep 26, 2024 · 0 comments
Open
Tracked by #1095

Add library content to a course #1337

jmakowski1123 opened this issue Sep 26, 2024 · 0 comments

Comments

@jmakowski1123
Copy link

jmakowski1123 commented Sep 26, 2024

User story: As a course author, I want to find a piece of content in my library and add it to my course, without navigating away from my course outline.

Assumptions:

  • When Library content is pulled into a course, it remains connected to the Library so that future updates can be synced. Users are not prompted to choose whether to maintain the connection or not; rather, the connection is in place by default.
  • When an update is made to the content in the library, the corresponding sync page in the course where the content is used is also updated, and users can accept or reject the sync [see epic 8 for more details]
  • Users can opt to disconnect the content from the library for good via the sync page. [see epic 8 for more details].

Requirements:

User clicks on the new "Library Content" tile/block in the Add New Component section on the unit page. See here: #1335

When a user clicks on the tile, then they see the "Select a Library" modal. For the MVP, the modal can simply display a list of all available libraries, displayed alphabetically.

The modal contains a free-text search bar, which enables users to search for libraries by name. This experience can be the same experience as searching for a Library on the Studio Home Library tab.

[Out of scope: The steppers at the top of the modals, and the recently used library section.]

Users may only click one library at a time in the list.

Image

When a user clicks "next" from the "Select a Library" modal, then the selected Library opens in an "Add to [Course]" state. This state is the the same as the Library Home experience, but with a few changes:

  • No sidebar is opened by default
  • Component tiles have an "add" button instead of the 3-dot menu

Other expected behavior:

  • It's possible to click on any component or collection, and the corresponding sidebar will open. The sidebar contains a button that says "Add to Course", which replaces the "Edit" and "Publish" buttons.
  • No content is edit-able in this state
  • Users can open Collections in this state. The tiles display in collections the same way, with an "add" button instead of the 3-dot menu.

Image

Image

Once a user clicks Add (either from the component tile or from the sidebar), then the Library modal closes and the user is back on the Unit Page in the course. The Library content displays as the newest component in that unit.

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

No branches or pull requests

1 participant