maths / moodle-qbank_importasversion

A Moodle question bank plugin to import a singe question from a Moodle XML file as a new version of an exsiting question, rather than a separate question
Other
1 stars 0 forks source link

Next development ideas #1

Open timhunt opened 1 year ago

timhunt commented 1 year ago

So far, we just implemented the minimum useful thing. Already, we have the following ideas to make it better. (Normally, I woudl create these as separate issues, but for now, I just want to brain-dump a list before I forget, with no immediately plan to work on it, so I will leave this as a single list here.)

  1. Are we using the best possibly icon for the action in the menu? Check to see if there is a more appropriate one.
  2. Currently, if the file cannot be imported, we just throw an exception. Really, this should be checked in form validation, and reported nicely to the user.
  3. We would like to add a <select> setting to the form: "State for the new version" with choices "draft" and "ready" and make it work.
  4. We would like to add a CLI script and/or a web service that can be used to trigger "Import as new version" automatically.
  5. We would like to add a question bank bulk action, to allow several questions to be updated in a single import.
malone01 commented 7 months ago

Hi, (1) I support all of your ideas, esp. the question bank bulk action would be great for mass updates. (2) Support for time dependency would also be very helpful: I would like to define a point of time when the status of a new version changes from "draft" to "ready". I am looking forward to every extension of this plugin :-) Best regards Martin

pnbowen commented 1 month ago

Great work Tim - we are definitely reviewing this for our own scenario:

We will look to add

We will happily create a PR for work we do - you can decide if it is useful to incorporate.

Cheers Peter

sangwinc commented 4 weeks ago

@pnbowen thanks for your interest. This note is just to make sure you've spotted a related plugin we are developing https://github.com/maths/moodle-qbank_gitsync

This already addresses your "Automate based on repository" request. I see this plugin (import as version) as a single-question component in wider tools to managing quiz/banks of questions and syncing them externally.

Comments, users and contributions on both are very welcome!

pd431 commented 3 weeks ago

Our organisation would be very keen on the bluk import as version. Some of our educators have question banks with thousands of questions, and sometimes need updates that can be bulk actioned in an xml file (find and replace a url with a new one for example) and having the ability to bulk import questions as versions would be very valuable to a small subset of our users.