Skip to content
Snippets Groups Projects
This project is mirrored from https://*****@github.com/iqb-berlin/verona-modules-aspect.git. Pull mirroring updated .
  1. Nov 30, 2022
    • rhenck's avatar
      Add new element math-editor · fa7e2b04
      rhenck authored
      Uses external software 'MathLive'.
      
      Distpacker issues with mathlive have been solved in a custom 
      distpacker.ts in scripts-folder. This is now used instead of the 
      distpacker from the npm package.
      fa7e2b04
  2. Nov 07, 2022
    • rhenck's avatar
      Re-implement DropList element · 6d1ad52c
      rhenck authored
      - Replace Material Droplist with native HTML events
      - Remove simple-drop-list element; Cloze elements now use the normal 
      DropList element
      - Add example units
      6d1ad52c
  3. Oct 25, 2022
  4. Oct 17, 2022
    • rhenck's avatar
      Rework Elementfactory · 0c0b9e3b
      rhenck authored
      The unit tests errored out because of circular dependencies via the 
      Elementfactory class. Therefore:
      - No longer creates styling/position/player-Properties. This is done in 
      the Element parent class.
      - Move element creation from Section to the ElementFactory class 
      instead.
      0c0b9e3b
  5. Oct 14, 2022
  6. Oct 07, 2022
  7. Sep 15, 2022
    • rhenck's avatar
      Rework ID handling · 0e45e323
      rhenck authored
      - remove ID handling from model classes. This is now done by the editor 
      itself (mainly unit service).
      - Rename and move IDManager to editor as IDService
      0e45e323
  8. Sep 12, 2022
  9. Sep 08, 2022
    • jojohoch's avatar
      [player] Remove UnitUtils · c97e4c10
      jojohoch authored
      - Use Unit's getAllElements method of Unit instead of
      UnitUtils.findUIElements to get all DragNDropValueObjects
      in UnitComponent
      -Remove unnecessary timeout in UnitComponent
      c97e4c10
  10. Aug 10, 2022
    • rhenck's avatar
      Refactor option label creation · 9d988978
      rhenck authored
      Move label creation to ElementFactory.
      
      No way has been found to have an abstract static method for 
      OptionElement's label generation, therefore silence the linter.
      Same for getElementComponent.
      9d988978
  11. Aug 08, 2022
  12. Aug 01, 2022
  13. Jun 09, 2022
    • rhenck's avatar
      [editor] Fix likert row generation · c3a80aa5
      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.
      c3a80aa5
  14. Jun 03, 2022
  15. Jun 01, 2022
    • rhenck's avatar
      Rework class initialization · f28b0678
      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.
      f28b0678
  16. May 23, 2022
  17. May 20, 2022
  18. May 17, 2022
    • rhenck's avatar
      Refactor model interfaces to classes · 2e9be6e9
      rhenck authored
      This way elements can handle their logic themselves without having to
      rely on outside utility classes.
      
      Also restructure files in common in a more logical way.
      2e9be6e9
  19. May 09, 2022
  20. May 05, 2022
  21. May 02, 2022
    • rhenck's avatar
      Implement copy on drop for dropLists · c6f4e3f2
      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.
      c6f4e3f2
    • rhenck's avatar
      Refactor simple elements for cloze · 28ead292
      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.
      28ead292
  22. Apr 25, 2022
  23. Apr 22, 2022
  24. Apr 21, 2022
  25. Apr 20, 2022
  26. Apr 19, 2022
  27. Apr 14, 2022
Loading