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

Collections Page - Create new content from within a collection #1167

Open
jmakowski1123 opened this issue Jul 17, 2024 · 3 comments
Open

Collections Page - Create new content from within a collection #1167

jmakowski1123 opened this issue Jul 17, 2024 · 3 comments

Comments

@jmakowski1123
Copy link

jmakowski1123 commented Jul 17, 2024

When users are on a Collection Page, one option to populate the Collection with content is to create new content within the collection.

Option 1: Create new content

When a user clicks on the "new" button, this triggers the "Add content" sidebar to open.
Users can select to create a new text, problem, video block.
NOTE: Creating a new unit is out of scope for the MVP.
When a content type is selected, the requisite editor opens, which will be addressed in Epic 4. For now, the Add Content sidebar just needs to exist.
After the content has been edited in the Editor, the content tile automatically populates in the Collection Page. If the Collections page is in the auto-sorted state, which is "recently modified" by default, then the new content tile will appear first. If the Collections page has another sort applied, then the new content tile will appear accordingly, and the page should jump to the new tile's location.

Screen Shot 2024-07-18 at 2 36 55 PM
@kdmccormick kdmccormick transferred this issue from openedx-unsupported/frontend-app-library-authoring Jul 18, 2024
@jmakowski1123 jmakowski1123 changed the title Collections Page - Create new content/Add content from within a collection Collections Page - Create new content from within a collection Jul 18, 2024
@navinkarkera
Copy link
Contributor

@jmakowski1123 @lizc577 @sdaitzman @marcotuts This is ready for AC testing on the sandbox

@jmakowski1123
Copy link
Author

When I click "edit" on a text or a problem block that is in a collection, and then I click save, I am bumped out of the Collection and back to Library Home. The expected behavior should be: If I edit a piece of content from within a collection, then I should stay in the collection after clicking "save".

@bradenmacdonald
Copy link
Contributor

When I click "edit" on a text or a problem block that is in a collection, and then I click save, I am bumped out of the Collection and back to Library Home. The expected behavior should be: If I edit a piece of content from within a collection, then I should stay in the collection after clicking "save".

@jmakowski1123 that will be fixed by #1321 which I should get to soon.

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

No branches or pull requests

3 participants