This project is mirrored from https://*****@github.com/iqb-berlin/verona-modules-aspect.git.
Pull mirroring updated .
- Jun 09, 2022
-
-
rhenck authored
Better icons and reordered elements. #267
-
rhenck authored
- Missing type inforamtion as constructor parameter - Also the new ID generation mechanism uses the type of the element to request an ID from the the IDManager. Here was a mismatch, where the type is 'likert-row', but the IDManager only knew 'likert_row'. This is now files all IDs use hyphens instead of underscores.
-
rhenck authored
-
- Jun 03, 2022
- Jun 02, 2022
-
-
rhenck authored
-
- Jun 01, 2022
-
-
rhenck authored
-
rhenck authored
Now properly finds all normal and simple drop lists. This is achieved by a new method of unit all it's sub-components, which returns all contained elements with and optional type filter. Also improve (still not very pretty) styling of the drop list props panel. #260 #259
-
rhenck authored
#264
-
rhenck authored
-
rhenck authored
- Move methods from cloze parser helper library to cloze class. - Cloze children are set up with a special placeholder which is then recognized and replaced by a new ID. And the element is recreated (like before) to have a proper element model class, which the TipTap editor doesn't provide.
-
rhenck authored
Add 2 new menu buttons to the section menu. One simply copies the selected section to the clipboard. The other opens a dialog where a copied section can be pasted. The section element's IDs are checked if they are available and a warning is shown.
-
rhenck authored
- Elements initialize their fields explicitly and not with Object.assign, since Object.assign also assigns (and therefore overwrites) parent fields. - IDService is no longer an Angular service but a basic singleton. This allows to use it in classes. - The IDManager can be optionally passed to unit and element constructors. When present the elements check and fix their given ID when created. This way elements can be created without depending on the external IDManager but also with the dependency. - ElementFactory is no longer used to create elements. Those are now either created directly via 'new' or via the Section, which knows the different element types.
-
- May 17, 2022
- May 09, 2022
- May 06, 2022
-
-
rhenck authored
Show accordion with expansion-panels instead of tabs. This way elements can be grouped logically.
-
- May 05, 2022
-
-
rhenck authored
-
rhenck authored
-
rhenck authored
- Add fieldset and reorder fields - Add dynamic connectedDropLists menu
-
rhenck authored
Components with bigger scope are put to the component root, canvas, props panle and new-element-panel.
-
rhenck authored
Makes more sense logically to pass the cloze element as a whole instead of just the document. Knowing about the document is the responsibility of the method not the caller.
-
rhenck authored
- Move value input to dropList input group
-
- May 02, 2022
-
-
rhenck authored
With this setting elements are copied when being dropped to another list. On drop it is also checked if the item-ID is already present in the list. If it is the drop event is silently discarded. This allows putting items back in the list without creating duplicate IDs. Lists with this setting: - do show a placeholder of the items being dragged. This way it is conveyed that the item will remain there after being dropped. - don't show a placeholder when items are hovered over them, to avoid confusion with duplicate items. Sorting within DropLists is disabled, since it causes moving items within the list. It has to be discussed if this feature is even needed.
-
rhenck authored
- Split text field and drop list, so they can have differing props - Improve their dimension default values - Improve alignment of all cloze children components - Add dynamic width parameter of toggle buttons to dimension properties panel. Therefore the postion tab can always be shown and no longer needs a condition.
-
rhenck authored
Remove unused class.
-
- Apr 25, 2022
-
-
rhenck authored
- Add fieldset to make it look nicer. - Improve image to have fixed size, scale properly and show buttons only on hover. - Improve translations - Add tooltip to actionparam dropdown: When having selected pageNav it shows a tooltip to get across that only valid pages can show up. #240
-
- Apr 22, 2022
-
-
rhenck authored
-
rhenck authored
-
rhenck authored
The sanitizer is now a service, so it is testable. Since it uses the IDService it needs to be a real service as well. Both are used by the player therefore moved to common.
-
rhenck authored
- Clearer methods with only one return value - better naming - comments
-
jojohoch authored
since the player uses it as well
-
- Apr 20, 2022
-
-
rhenck authored
-
- Apr 19, 2022
-
- Apr 14, 2022