ndlano / h5p-ndla-timeline Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
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.
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!
Please note that using the "All Repositories" setting doesn't make a lot of sense with Depfu.
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.
Use case:
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.
Not an issue as such, but I'm surprised you renamed branch "main" to "master" recently. This seems to go against the general recommended trend on github. See for example https://www.theserverside.com/feature/Why-GitHub-renamed-its-master-branch-to-main
Instructions at https://github.com/NDLANO/h5p-ndla-timeline#running say:
Open the file dist/index.html in your browser
Which does not work. there is no index.html file in the dist folder.
The following works for me:
Open the file node_modules/@knight-lab/timelinejs/dist/embed/index.html in your browser
I regret the absence of those two fields in h5p-ndla-timeline. They are available in the original timeline.knightlab libraries and very useful.
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
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?
The instructions say:
To run in hot module reloading mode:
npm run watch
and on the following screen I see:
[webpack-dev-server] Project is running at:
[webpack-dev-server] Loopback: http://localhost:8080/
[webpack-dev-server] On Your Network (IPv4): http://192.168.1.18:8080/
If I try either http://localhost:8080/ or http://192.168.1.18:8080/ all I get is an error message: Cannot GET /
What am I doing wrong?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.