Posts made by Joseph Rézeau

Picture of Core developers Picture of Plugin developers Picture of Testers Picture of Translators

Hi Dani,

In the course of getting my new "Random questions select" question type plugin approved I came across a few errors triggered in the Code prechecks. Actually, the same coding style pbs appear in question types which have been recently adapted to Ionic 5, e.g. multichoiceset, as follows:

Javascript coding style problems (2 errors, 1 warnings)
This section shows the coding style problems detected in the code by eslint
question/type/multichoiceset/mobile/multichoiceset.js
    (#43) 'i' is defined but never used. (no-unused-vars)
    (#60) Do not nest ternary expressions. (no-nested-ternary)
    (#72) Expected an assignment or function call and instead saw an expression. (no-unused-expressions)

Average of ratings: Useful (1)
Picture of Core developers Picture of Plugin developers Picture of Testers Picture of Translators

In the course of submitting a new plugin (Random select answers) I have encountered the following issue.

In the Edit this plugin form, a Logo file can be submitted. The Logo field specifies: "Accepted file types: Image files used on the web .gif .jpe .jpeg .jpg .png .svg .svgz"

However, the .svg files are not accepted. The only question type that tried to insert a .svg logo file is Record audio question type, and it does not work as can be seen on its page.

By the way, out of the approx. 80 question types in the plugin directory, only 28 feature a logo there.thoughtful

Can someone please amend the Logo field description with the correct types of accepted image files? Thanks.

Average of ratings: Useful (1)