Code Monkey home page Code Monkey logo

h5p-ndla-timeline's People

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar

h5p-ndla-timeline's Issues

Depfu Error: No dependency files found

Hello,

We've tried to activate or update your repository on Depfu and couldn't find any supported dependency files. If we were to guess, we would say that this is not actually a project Depfu supports and has probably been activated by error.

Monorepos

Please note that Depfu currently only searches for your dependency files in the root folder. We do support monorepos and non-root files, but don't auto-detect them. If that's the case with this repo, please send us a quick email with the folder you want Depfu to work on and we'll set it up right away!

How to deactivate the project

  • Go to the Settings page of either your own account or the organization you've used
  • Go to "Installed Integrations"
  • Click the "Configure" button on the Depfu integration
  • Remove this repo (NDLA-H5P/h5p-timeline) from the list of accessible repos.

Please note that using the "All Repositories" setting doesn't make a lot of sense with Depfu.

If you think that this is a mistake

Please let us know by sending an email to [email protected].


This is an automated issue by Depfu. You're getting it because someone configured Depfu to automatically update dependencies on this project.

Missing scroll bar for longish Wikipedia articles

Use case:

  • in one Timeline slide Media part, create a link to a longish Wikipedia article extract (the length of the extract is automatically decided by Timeline, so you'll have to experiment)
  • in the Description text part of the slide, type a longish text
  • view the resulting timeline on a small screen (phone, or simulate view on desktop computer)
  • the longish Description text features a scroll bar (highlighted in red on attached screenshot)
  • the longish Wikipedia extract is cut and no scroll bar is available
    I have tried to add a CSS overflow: scroll; to various parts of the Media part of the slide but to no effect.
    2023-07-01_11-15-49

Does not work in Moodle core h5p activity

There are 2 ways to create/upload an H5P activity in Moodle:
method a) using the 3rd-party plugin provided by the H5P team (the black icon),
method b) using the core Moodle H5P activity (the blue icon).
In the current version of Moodle (4.2.x), h5p-ndla-timeline works OK using method a).
If using method b), it's possible to create/upload an h5p-ndla-timeline activity, but impossible to display it. Or rather there is a weird way of doing it. If you manage to click on the right of the line which is supposed to hold that content, it will open full screen and you will be able to view the content! But when you close/escape that full screen, it disappears again.

PS.- Interestingly I notice that there is exactly the same problem in LUMI... So not a bug special to Moodle core H5P.
2023-09-10_19-09-15

Time marker headline text much too big

Time marker headline text font-size much too big! (screenshot 1). Adding this rule to the styles.scss file fixes it (screenshot 2).
h2.tl-headline.tl-headline-fadeout {
font-size: 12px!important;
}

2023-04-12_18-55-55

wrong instructions for Building and running on localhost

1.- npm install throws lots of errors, some but not all are fixed by running npm audit fix --force
2.- To create a production build: npm run build-prod should be: npm run build
3.- To create a development build: npm run build-dev should be npm run build:dev

h5p pack h5p-ndla-timeline misses the dist files

On my local dev drupal 7 set up I fail to pack h5p-ndla-timeline correctly. I do h5p pack h5p-ndla-timeline h5p-ndla-timeline.h5p -r (using the -r parameter to add the dependencies).
In the resulting h5p-ndla-timeline.h5p archive there is no sign of the dist folder. Which means installing this library to another environment results in this Error message
The file "dist/bundle.js" is missing from library: "H5P.NDLATimeline-0.0"
The file "dist/bundle.css" is missing from library: "H5P.NDLATimeline-0.0"
The uploaded file was not a valid h5p package

Note.-
Given all the various issues with h5p-ndla-timeline that I have come across when trying to use it recently I wonder if this library has actually been tested on the various platforms where H5P libraries can be installed, e.g. WP, Moodle, Drupal... That's a pity because it has some useful elements which are missing from the current h5p timeline library. Or am I missingn some important information?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.