-
Couldn't load subscription status.
- Fork 4.2k
feat: follow migrated legacy library content block #37405
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
Merged
navinkarkera
merged 23 commits into
openedx:master
from
open-craft:navin/fal-4251/legacy-lib-content-to-item-bank
Oct 20, 2025
Merged
Changes from all commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
ed395e3
feat: show item bank ui for migrated legacy library content
navinkarkera ddeca53
feat: migrate legacy content block to item bank block on view in studio
navinkarkera a0a0644
fix: duplicate and copy issues
navinkarkera 1d7d208
refactor: migration location and add tests
navinkarkera 6436099
fix: lint issues
navinkarkera 19ada39
fix: item bank and library content children view add button functiona…
navinkarkera 1ba790d
fix: lint issues
navinkarkera 8e2856d
fix: lint issues
navinkarkera 3a3485e
feat: only migrate if same version of library is migrated
navinkarkera 01a5135
refactor: migrate block on request
navinkarkera 747cb11
fix: component reload on migration
navinkarkera b0257a4
fix: tests
navinkarkera 5ebca79
refactor: comments and message wordings
navinkarkera 8d82e8a
refactor: update alert text
navinkarkera ea83ae6
docs: add context
navinkarkera 7964d6b
fix: component links not being created on migrating legacy blocks
navinkarkera 7210985
fix: api docs and types
navinkarkera 29f1b30
refactor: use inheritance and specific parent method call
navinkarkera 6537e59
fix: imports
navinkarkera 6cdb1f0
fix: api typing
navinkarkera 62ab6c9
fix: upstream_version check
navinkarkera 6353ffd
refactor: rename variables
navinkarkera 9047bf7
refactor: parsing entity keys to usage_keys
navinkarkera File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
unnecessary?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, since we set
upstream_version = 0while migrating legacy blocks under LegacyLibraryContent,not xblock.upstream_versionevaluates toTrueand the Entity links are not created.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
gotcha