Open marco9446 opened 8 years ago
Looks good. Some comments:
type
of the questionProperties
array should accept the same values as the Polymer property types, but you can add enum
if you want. You can have a widget
or widgetType
property that indicates whether it's rich text etc.<asq-text-input-q>
: ability to connect to an <asq-text-input-q-stats>
element.<asq-code-q>
, <asq-fiddle-q>
, <asq-js-function-body-q>
, <asq-sqlite-q>
and asq-order-q
. Maybe they worth taking a look at.
Editors Structure
The idea is to maintain the structure of the current editor with some small changes.
The question properties should be an array which contains one object for each property with the following attributes:
Each editor should contains the asq-stem and the asq-solution components and a way to modify them. In order to insert the solution the editor should have two 'modes' one for the creation of the question and the other where the user should answer the question in the correct way and save the state.
To prevent an overflow of informations to the user, there should be an option to enable or disable the view of the most advanced properties
Multi choice editor (asq-multi-choice-q)
questionProperties
Common characteristics
Specific characteristics
Text editor (asq-text-input-q)
questionProperties
Common characteristics
Highlight editor (asq-highlight-q)
questionProperties
Common characteristics
Specific characteristics
Rating editor (asq-rating-q)
Specific characteristics
Buckets editor (asq-buckets-q)
questionProperties
Specific characteristics