feat: expand support for versioned URLs in v2 XBlock runtime (#35676)

* fix: problem block could not be used with versioned handler URls

* refactor: simplify REST API handling of usage keys

* feat: add more version awareness and update tests

* fix: make the preview changes modal bigger as requested

* refactor: parse version at the urlconf layer too
This commit is contained in:
Braden MacDonald
2024-10-21 09:14:17 -07:00
committed by GitHub
parent 9e14566f90
commit e2d6765637
11 changed files with 261 additions and 105 deletions

View File

@@ -17,7 +17,7 @@ function($, _, gettext, BaseModal, ViewUtils, XBlockViewUtils) {
options: $.extend({}, BaseModal.prototype.options, {
modalName: 'preview-lib-changes',
modalSize: 'med',
modalSize: 'lg',
view: 'studio_view',
viewSpecificClasses: 'modal-lib-preview confirm',
// Translators: "title" is the name of the current component being edited.

View File

@@ -570,7 +570,7 @@
& > iframe {
width: 100%;
min-height: 350px;
min-height: 450px;
background: url('#{$static-path}/images/spinner.gif') center center no-repeat;
}
}