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

UI to select components for the Problem Bank (MVP) #1385

Open
bradenmacdonald opened this issue Oct 15, 2024 · 1 comment
Open

UI to select components for the Problem Bank (MVP) #1385

bradenmacdonald opened this issue Oct 15, 2024 · 1 comment

Comments

@bradenmacdonald
Copy link
Contributor

bradenmacdonald commented Oct 15, 2024

Note: "Problem Bank" is in the UI, ItemBankBlock is what it's called in the backend.

Building on openedx/edx-platform#35553 (backend PR) and #1356 (add library component picker), integrate the component picker into the UI for the Problem Bank editor, so that authors can:

  1. Create a Problem Bank in the course
  2. Select a library and then one or more components using the component picker (ideally it should allow multiple selections at once - see Figma designs; I recommend doing that as a separate follow-up PR to reduce risk)
  3. See those components in the course (as children of the Problem Bank).
    • They should be "linked" and display the library icon (and sync button if updates are available) - but no specific work needs to be done for that; it should be already implemented. The only thing necessary here is to use the correct APIs to copy the blocks into the course as linked content.

This is an MVP version so the UI can be as bare-bones as necessary. But the workflow should be working end to end.

@bradenmacdonald
Copy link
Contributor Author

@jmakowski1123 Another new ticket to check please.

kdmccormick added a commit to openedx/edx-platform that referenced this issue Oct 22, 2024
This is a new XBlock that presents a random subset of its children. As of this commit, the block
can only be added as an Advanced component. For Sumac, we plan to enable it as part of the
Libraries Relaunch Beta, under the name "Problem Bank (Beta)"

The block does not care if its children are from V1 library, V2 library, or the course itself.
It shares the randomization logic with LegacyLibraryContentBlock. It is also fully backwards-compatible with LegacyLibraryContentBlock. So, once V1 libraries are migrated to V2 libraries (after Teak), we eventually
could point the `library_content` entry point at ItemBankBlock.

Part of: openedx/frontend-app-authoring#1385
kdmccormick added a commit to openedx/edx-platform that referenced this issue Oct 23, 2024
kdmccormick pushed a commit to openedx/edx-platform that referenced this issue Oct 23, 2024
This implements basic multi-select for adding components to a problem bank,
for the Libraries Relaunch Beta [FC-0062].

Part of: openedx/frontend-app-authoring#1385
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In grooming
Development

No branches or pull requests

1 participant