Repository navigation
fix(author): a Drag and Drop's task fits its boxes, or its picture's shape (#297) - #298
Conversation
|
@cubic-dev-ai review this pull request |
@alekswebnet I have started the AI code review. It will take a few minutes to complete. |
There was a problem hiding this comment.
All reported issues were addressed across 7 files
You’re at about 90% of the monthly reviewed-line limit. You may want to disable incremental reviews to conserve quota. Reviews will continue until that limit is exceeded. If you need help avoiding interruptions, please contact contact@cubic.dev.
Reply with feedback, questions, or to request a fix.
View guided diff | Turn on auto-fix | Re-trigger cubic
…zones, list items' defaults, geometry kept on a read, placement wording)
|
@cubic-dev-ai review the changes since your last review |
@alekswebnet I’ve started reviewing the changes since the last completed review. I’ll post the results here when it’s done. |
There was a problem hiding this comment.
All reported issues were addressed across 6 files (changes from recent commits).
You’re at about 91% of the monthly reviewed-line limit. You may want to disable incremental reviews to conserve quota. Reviews will continue until that limit is exceeded. If you need help avoiding interruptions, please contact contact@cubic.dev.
Reply with feedback, questions, or to request a fix.
View guided diff | Turn on auto-fix | Re-trigger cubic
Closes #297.
A Drag and Drop's task size was left to the model: it wrote one too tall for its boxes, and on a background picture the task kept 620 × 310 whatever the picture's shape. The rules below come from H5P.DragQuestion 1.15's player, H5PEditor.DragQuestion 1.10 and the core's size widget, read and measured in the player.
What changes
schema --markdown): a group's default gives its fields theirs. Drag and Drop'ssize.widthandsize.heightread= 620and= 310, no longer "required". No other type file changes.readback keeps the editor's size.backgroundOpacityis 0 unless written. At the default 100 the zones hid what they name; the player still lights them up while a word is dragged.readwrites a stored 100 back, so a package read back keeps it.readwrites a stored height alone, and the build had then refused the missing width.sizeout, and on a picture leave the elements out too. A zone is the box around its thing:xandyits top-left corner in percent of the picture,widthandheightin em by a given factor. Zones stay off each other, andshowLabelstays off on a picture, since a label shown names the answer.Content a 1.1.0 build gave differently
docs/compatibility.md promises the same content from a source that builds. This changes it in three places, all in Drag and Drop:
Tested
pnpm comments,sync-skill --check.