Indication of uploaded .h5p file

Created on 6 September 2022, about 2 years ago
Updated 6 October 2023, about 1 year ago

Problem/Motivation

There is no visual cue that there's existing .h5p file on field. Makes it easy to accidentally replace existing h5p component.

Steps to reproduce

1. Add h5p field to Basic page
2. Create basic page node and upload .h5p file to field. Save the node
3. See that h5p component is visible on page.
4. Edit the page created on #2, the field looks identical to empty.

Proposed resolution

Add check for content and display it on screen.

Remaining tasks

-

User interface changes

BEFORE the patch:

AFTER the patch:

📌 Task
Status

Needs work

Version

2.0

Component

Code

Created by

🇫🇮Finland sokru

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇫🇮Finland jhuhta

    This fixes the issue for us. For instance, when there's a possibility to have multiple H5P items on a page, it's quite difficult to guess which one is the correct one, as all the widgets look the same regardless of they're having a component already, or waiting for one to be uploaded.

  • Status changed to Needs work about 1 year ago
  • 🇫🇮Finland jhuhta

    I need to withdraw my RTBC status as I noticed that this is not working properly without 🐛 Paragraphs module compatibility Needs review . The idea is included there though.

Production build 0.71.5 2024