-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
refactor: inheritable authoring mixin callbacks for editing & duplication #33756
Merged
bradenmacdonald
merged 19 commits into
openedx:master
from
DanielVZ96:dvz/studio-editable-block-callback-refactor
Jul 25, 2024
Merged
Changes from 13 commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
536493f
refactor: inheritable studioeditableblock's callbacks for editing & d…
DanielVZ96 5901e25
refactor: remove hasattr and add editable studio to cms xblock modules
DanielVZ96 5c2dabb
fix: tests
DanielVZ96 3e9bb60
fix: library preview
DanielVZ96 42c2037
style: ran darker
DanielVZ96 b4a4c96
style: pylint fixes
DanielVZ96 aaa26bf
style: use *_args and **_kwargs
DanielVZ96 116b013
refactor: move load_services_for_studio back into
DanielVZ96 c5cb3f8
refactor: move editor_saved, post_editor_saved, and studio_post_dupli…
DanielVZ96 6199588
refactor: move duplication logic into authoringmixin
DanielVZ96 7f6924f
style: pylint and pep8 fixes
DanielVZ96 adeec3a
refactor: rename source_item to source_block
DanielVZ96 cd78eb3
refactor: remove redundant hasattrs due to inheritance
DanielVZ96 893ff58
Merge branch 'master' into dvz/studio-editable-block-callback-refactor
DanielVZ96 8ad064c
Merge branch 'master' into dvz/studio-editable-block-callback-refactor
DanielVZ96 e94fa52
Merge branch 'master' into dvz/studio-editable-block-callback-refactor
DanielVZ96 3cb2769
revert: remove studio duplicate hooks
DanielVZ96 5312b5e
Merge branch 'master' into dvz/studio-editable-block-callback-refactor
DanielVZ96 9c85399
style: fix pylint unused imports
DanielVZ96 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 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 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 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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -45,7 +45,7 @@ | |
wrap_xblock_aside | ||
) | ||
|
||
from ..utils import get_visibility_partition_info, StudioPermissionsService | ||
from ..utils import StudioPermissionsService, get_visibility_partition_info | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. from formatter |
||
from .access import get_user_role | ||
from .session_kv_store import SessionKeyValueStore | ||
|
||
|
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.
it's an indirect import, should be going directly to contentstore.utils