Skip to content
Snippets Groups Projects
This project is mirrored from https://*****@github.com/iqb-berlin/verona-modules-aspect.git. Pull mirroring updated .
  1. Dec 22, 2022
  2. Dec 21, 2022
  3. Dec 19, 2022
  4. Dec 16, 2022
  5. Dec 12, 2022
  6. Dec 02, 2022
  7. Dec 01, 2022
    • rhenck's avatar
      Fix and refactor DropList component · 39882c75
      rhenck authored
      Rules for when drop is allowed have been fixed. It is quite complicated 
      and therefore a lot of explanatory comments are added.
      
      - improved translation
      - add example file
      39882c75
  8. Nov 29, 2022
    • rhenck's avatar
      Add DropList feature returnToOriginOnReplacement · 705cadf5
      rhenck authored
      Allows DropListvalueObjects which have this setting to be replaced in
      lists which only allow onlyOneItem. When this switch is set, the class
      sets the other 2 internal values
      (originListID?: string; originListIndex) itself. Those can not be seen
      nor changed from outside.
      
      Also refactoring in lots of places around droplists. Better names, 
      cleaner structure, comments.
      
      #305
      705cadf5
  9. Nov 28, 2022
    • rhenck's avatar
      Add new DropList property: deleteDroppedItemWithSameID · 2bd675dc
      rhenck authored
      Lists with this setting delete dropped value objects. This allows 
      putting items back.
      (Only makes sense when used with copyOnDrop. Otherwise there can not be 
      duplicate value IDs).
      
      Also improve constructor value checks to correctly handle nullish 
      booleans.
      
      #281
      2bd675dc
  10. Nov 21, 2022
  11. Nov 20, 2022
  12. Nov 09, 2022
  13. Nov 08, 2022
  14. 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
  15. Oct 18, 2022
  16. Oct 07, 2022
  17. Sep 09, 2022
  18. Sep 08, 2022
  19. Aug 30, 2022
  20. Aug 08, 2022
  21. Jun 03, 2022
    • rhenck's avatar
      Fix drag and drop with images · 781568b0
      rhenck authored
      The dragged image did contain carry information about it's element.
      Also remove useless drag and drop functionality for the placeholder.
      781568b0
  22. 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
  23. May 05, 2022
    • rhenck's avatar
      Refactor droplist · abca027e
      rhenck authored
      - Fix DropLists with copyOnDrop to display a placeholder copy of
      dragged elements.
      The drop preview is hidden on those lists. It still has to be in the DOM
      to be the target for the 'falling' animation of the dragged item,
      otherwise it flies to the top left corner of the viewport.
      abca027e
  24. 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
  25. Apr 19, 2022
  26. Apr 05, 2022
  27. Mar 31, 2022
  28. Mar 02, 2022
    • rhenck's avatar
      Refactor unit definition and sanatizer · 874c1af3
      rhenck authored
      - Units and element are now built via the factory. This ensures only the
        wanted properties are present. All others are discarded.
      - Since the sanatizer is supposed to check the unit defintion version
        it is used by player and editor and therefore put in common.
        This in turn makes it necessary to put the JSON resolver settings
        in the root-TSConfig file.
      - Renamed a couple of properties to have clearer names.
      874c1af3
  29. Feb 28, 2022
Loading