Skip to content
Snippets Groups Projects
This project is mirrored from https://*****@github.com/iqb-berlin/verona-modules-aspect.git. Pull mirroring updated .
  1. Jan 03, 2023
  2. Jan 02, 2023
  3. Dec 23, 2022
  4. Dec 22, 2022
  5. Dec 21, 2022
  6. Dec 19, 2022
  7. Dec 16, 2022
  8. Dec 12, 2022
  9. Dec 02, 2022
  10. 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
  11. 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
  12. 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
  13. Nov 21, 2022
  14. Nov 20, 2022
  15. Nov 09, 2022
  16. Nov 08, 2022
  17. 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
  18. Oct 18, 2022
  19. Oct 07, 2022
  20. Sep 09, 2022
  21. Sep 08, 2022
  22. Aug 30, 2022
  23. Aug 08, 2022
  24. 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
  25. 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
  26. 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
  27. 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
Loading