Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-68636

Render specific icons for different H5P content types in content bank

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide

      Prerequisites

      1. As an admin go to Site administration > H5P > Manage H5P content types
      2. Check the 'Installed H5P content types'. 
      3. You can compare here the icons for each H5P content type.
      4. In case this list is empty, run the 'Download available H5P content types from h5p.org' cron task. This should fill the list.

      Test

      1. Log in as admin.
      2. Go to "Content bank" in the navigation block (for classic theme) or drawer (for boost theme).
      3. Click on the Upload button.
      4. Upload "filltheblanks.h5p" file and 'Save changes'.
      5. Confirm the H5P content is rendered with no errors.
      6. Go to "Content bank" using the breadcrumbs. 
      7. Confirm the icon for the created content is the one for 'fill the blanks' H5P content type and not the default H5P one.
      8. Click on the Upload button.
      9. Upload "findthewords.h5p" file and 'Save changes'.
      10. Confirm the H5P content is rendered with no errors.
      11. Go to "Content bank" using the breadcrumbs. 
      12. Confirm the icon for the created content is the one for 'find the words' H5P content type and not the default H5P one, and different to the one rendered for filltheblanks.h5p content
      Show
      Prerequisites As an admin go to Site administration > H5P > Manage H5P content types Check the 'Installed H5P content types'.  You can compare here the icons for each H5P content type. In case this list is empty, run the 'Download available H5P content types from h5p.org' cron task. This should fill the list. Test Log in as admin. Go to "Content bank" in the navigation block (for classic theme) or drawer (for boost theme). Click on the Upload button. Upload "filltheblanks.h5p" file and 'Save changes'. Confirm  the H5P content is rendered with no errors. Go to "Content bank" using the breadcrumbs.  Confirm the icon for the created content is the one for 'fill the blanks' H5P content type and not the default H5P one. Click on the Upload button. Upload "findthewords.h5p" file and 'Save changes'. Confirm  the H5P content is rendered with no errors. Go to "Content bank" using the breadcrumbs.  Confirm the icon for the created content is the one for 'find the words' H5P content type and not the default H5P one, and different to the one rendered for filltheblanks.h5p content
    • Affected Branches:
      MOODLE_39_STABLE
    • Fixed Branches:
      MOODLE_39_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-68636-master

      Description

      Following the prototype (https://projects.invisionapp.com/share/TEW3EUZK692#/screens/414333451) we should render an specific H5P icon for different H5P content types instead of the default one.
      Because we need to deploy the H5P content to know the H5P content type in each package, we will change the current workflow to redirect to content view page when a new content is uploaded.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              amaia Amaia Anabitarte
              Reporter:
              amaia Amaia Anabitarte
              Peer reviewer:
              Carlos Escobedo
              Integrator:
              Adrian Greeve
              Tester:
              Janelle Barcega
              Participants:
              Component watchers:
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                15/Jun/20

                  Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 day, 5 hours
                  1d 5h