Skip to content
Snippets Groups Projects
This project is mirrored from https://*****@github.com/iqb-berlin/verona-modules-aspect.git. Pull mirroring updated .
  1. May 24, 2023
  2. Apr 28, 2023
  3. Jan 04, 2023
    • Richard Henck's avatar
      Add replacement feature and other small improvements · 60664b22
      Richard Henck authored
      - allowReplacement (moved from element to list prop)
      - originList and Index are non-optional (means placeholders have to be 
      used sometimes)
      - Re-introduced the dict of all DropListComponents. This is the only way 
      I have found to get a reference to a DropListComponent by ID. This is 
      needed for returning to origin. Origin is not actually part of the 
      transaction and needs to be fetched from somewhere else. Hence the dict.
      
      - Console statements still present for debugging.
      60664b22
  4. Jan 03, 2023
  5. Dec 16, 2022
  6. 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
  7. Nov 30, 2022
  8. Nov 29, 2022
  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 25, 2022
  11. Nov 24, 2022
  12. Nov 21, 2022
  13. Nov 20, 2022
    • rhenck's avatar
      [editor] Allow file upload for geogebra definition · 66d13661
      rhenck authored
      Reads file as base64.
      
      Also rework the GeoGebra dialog to close automatically when a valid 
      definition is available, either through pasting or file upload.
      66d13661
    • rhenck's avatar
      [editor] Add control to allow element interaction · 596a70c1
      rhenck authored
      - Part of the properties panel for every element (like delete and 
      duplicate)
      - This allows interacting with elements, generating events and inpect 
      their usage. Usually this is unwanted since it might interfere with 
      dragging the overlay, but sometimes you want to get a feel for the 
      element or check it's contents (GeoGebra for example)
      596a70c1
  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. Nov 04, 2022
  16. Nov 01, 2022
  17. Oct 27, 2022
  18. Oct 26, 2022
  19. Oct 25, 2022
  20. Oct 21, 2022
    • jojohoch's avatar
      Implement HotspotImage · b174d3a2
      jojohoch authored
      - A HotspotImage has an image and divs placed on it, which are used
      as hotspots
      - Inherits from FormElementComponent, which is why the hotspots are kept
        as a list in the value property.
      - Can be validated as required and uses its own custom validator
      b174d3a2
  21. Oct 18, 2022
  22. Oct 17, 2022
  23. Oct 13, 2022
  24. Oct 12, 2022
  25. Sep 21, 2022
  26. Sep 12, 2022
  27. Aug 29, 2022
  28. Aug 12, 2022
  29. Aug 11, 2022
    • rhenck's avatar
      Rework radio-with-images element · 9550df25
      rhenck authored
      Add new parameter 'itemsPerRow'. This limits the grid columns used, 
      making items move to the next row if overextending.
      
      Also simplify component structure.
      9550df25
  30. Aug 09, 2022
  31. Aug 08, 2022
  32. Aug 02, 2022
    • rhenck's avatar
      Implement strikethrough for selected ToggleButton value · 4b7df84a
      rhenck authored
      Also refactor properties panel and ToggleButton class logic for striking 
      values. This now relies more on CSS classes provided by Material instead 
      of doing finetuned logic my ourselves. This also allows showing the 
      correct preview in the editor.
      
      #287
      4b7df84a
  33. Jun 09, 2022
  34. Jun 02, 2022
  35. Jun 01, 2022
    • rhenck's avatar
      Add section copy&paste functionality · e3a9ab00
      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.
      e3a9ab00
Loading