-
Notifications
You must be signed in to change notification settings - Fork 95
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
Plan for backend changes to support Units in Libraries #1697
Comments
@ormsbee @kdmccormick @pomegranited Based on my work with our "Units/Containers" prototype so far, here's my attempt to plan the remaining backend work required for the units epic. Can you please review, and let me know your thoughts - especially if I've missed anything or included anything uncessary? |
Oh, in particular I'm looking for feedback on:
More details on both are above in the main description. |
@bradenmacdonald This is looking great! I think we're missing backend support for these two use cases, but everything else looks covered above:
When we do add support for components in units, the "DELETE unit" endpoint also needs to handle re-parenting its child components into the library (if that step is required), a la #1622. This is also mentioned in #1628.
My notes say this requirement been removed from MVP/Teak? |
@pomegranited Thanks!
I've updated the wording of the "Update API" story above to explicitly mention re-ordering. It covers removal too (already did): "Allow re-ordering and removing components via the update API."
I'm a bit reluctant to add that to the "GET unit" API, because it would be a more expensive thing to compute. But we can look at adding a separate API for it if needed. We may also be able to get away with just querying the search index, which should have that information already and already will provide it along with the component titles etc. I will add a note about this above though as a potential story.
I think we should do that in any case, so I've noted it above.
I don't think we need any re-parenting. My understanding is that all components will always be visible both in their unit(s) (if any) and separately in the library. When you delete the unit, the child component is still visible separately in the library just as it always was, with no action required on our part.
Yeah it may very well be - we're still discussing. |
Sketching out the backend work remaining until the backend will fully support the Epic 12: Units in Libraries epic, and the bare-bones version of Epic 14: Units can be published and reused in courses
Learning Core tasks
containers
app intopublishing
?containers
app intopublishing
(test exists but is currently skipped)edx-platform Libraries REST API tasks
Unclear tasks
visibility
,discussions_enabled
) - see Slack discussionTasks that can be done at the same time as the frontend ticket
edx-platform REST API tasks for using units in courses
The text was updated successfully, but these errors were encountered: