Layout and usability issues with 1.9.40, 1.9.18 works
Hello,
We noticed a bug in H5P.Dialogcards after updating from 1.9.18 to 1.9.40.
We have Dialog Cards embedded inside a Course Presentation slide. With H5P.Dialogcards 1.9.18, the content looked and worked as expected. After updating to a newer 1.9.40 version, the same content appears quite different.
Observed behavior:
* The navigation controls for switching between several cards are missing or no longer usable.
* The text is displayed much smaller and is difficult to read.
* The overall layout looks very different, even there are multiple cards, the navigation buttons are missing
* The image inside the card is displayed much smaller than before.
It looks like the problem may be related to the redesign / new theme and navigation changes that were introduced after 1.9.18. From what I can see, newer versions use `h5p-theme` and `H5P.Components.Navigation`, while 1.9.18 still used the older layout/navigation.
According to otacke, this may also be connected to the versioning: if this was not only a bug fix but a visual/behavioral change, it probably should have been released with a higher **minor version** instead of only a higher **patch version**. Since H5P automatically updates content within the same major/minor version to the newest patch version, existing 1.9.x Dialog Cards may have been updated to a version with changed behavior without an explicit content upgrade. The internal H5P-Cache isn’t updated which causes the problem.
So my assumption is:
* Existing content using `H5P.Dialogcards 1.9.x` may automatically be moved to the latest 1.9.40 patch version.
* If that latest 1.9 patch version contains the redesigned layout/navigation, existing content may break or look significantly different.
* A new minor version, for example `1.10.x`, might have been more appropriate for the redesigned version, while the `1.9.x` line should have kept the old behavior.
Possible affected versions:
* Working: `H5P.Dialogcards 1.9.18`
* Probably affected: later `1.9.x` versions, possibly from the redesign/navigation changes onward
* We noticed the problem with 1.9.40 version
Expected behavior:
Existing Dialog Cards in Course Presentation should remain visually and functionally stable when only the patch version changes. In particular, card navigation should remain visible and usable, and the text/image layout should not change significantly.
As far as I understand the working 1.9.18 version should be released as 1.9.41, then an automatic upgrade of the broken 1.9.40 version takes place and dialog cards are displayed correctly again.
The current 1.9.40 code should then be released as 1.10.1, so that internal cache is updated accordingly. As far as I understand there must be written an upgrade script https://h5p.org/documentation/developers/content-upgrade
Since I am no H5P developer, I can’t fix this.
Hope this bug can be fixed very soon.
Thank you very much in advance