Giter Club home page Giter Club logo

Comments (4)

jamesjonesmath avatar jamesjonesmath commented on August 20, 2024

Adding a flag to removing the fudge point duplication was something I considered when I wrote the script. There were a few things I "forced" on people who wanted to use the script; that was one of them. I did not want to get rid of the update scores button because of the update scores and advance button that is right next to it and that would have no context without the update scores button. That is needed there so that the process of autorun is quick and you can just click on the button over and over to quickly move through an entire course. When I looked at it to see what lines would need commented out, the code that creates the update and advance button depends on the update button.

I do not want to expand the size of the box when typing. If you are copy/pasting six lines, it doesn't matter if only 3 show up and it causes less scrolling to have 3 than filling the width. Canvas has had a lot of trouble with boxes that they try to make autosize and so I'm not wanting to go down that path.

Right now, pretty much everything I have is in maintenance mode and I don't have much time to develop. Classic Quizzes is being deprecated, which means that the majority of this script will become useless next year.

There is a standalone version that you can install and then modify to meet your specific needs (both of them), but I'm not going to put these changes into the main system.

from canvancement.

martinmts avatar martinmts commented on August 20, 2024

Thanks, James.
I'll try to make some stand alone user scripts so that I can edit them myself.
Can you point me to the necessary scripts for assigning either full points or 0 to essay/file upload questions?

I'm looking at this page: https://github.com/jamesjonesmath/canvancement/tree/master/quizzes/quizwiz/install
But all functions are placed in a single file, and I don't know which part is required for this purpose only.

I have the stand alone script for resizing the comment boxes, duplicating the questions headers. I only need the scripts for assigning either full points or 0 to essay/file upload questions now.

from canvancement.

jamesjonesmath avatar jamesjonesmath commented on August 20, 2024

You do not need to make the scripts standalone so that you can edit them. If you install the standalone version (qw-standalone.user.js), you're getting the full thing and then you can customize it as desired. If I ever update my end the userscript manager should show you the differences between mine and yours and allow you to edit or approve them.

The full_points section starts at about line 837 and should be fairly obvious when you look at the code. I just did a ctrl-f in the browser for full_points. However, there are parts of the code that are re-used, so copying the full_points into a separate file probably won't work. You really want to make edits to the full package and have one script rather than a bunch of them.

from canvancement.

martinmts avatar martinmts commented on August 20, 2024

Thanks, James. I wanted to edit the full package. But I don't know how to remove the duplicated "Update Scores" button without breaking the script. That's why I wanted to copy only the needed sections and compile a new user script without those functions that I probably won't need.
Thank you very much for help. Your user script is excellent. I'll play more with it.

from canvancement.

Related Issues (20)

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.