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 05, 2023
  2. 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
  3. Nov 30, 2022
  4. 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
  5. Nov 20, 2022
  6. Oct 26, 2022
  7. Oct 25, 2022
  8. 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
  9. Oct 18, 2022
  10. Sep 21, 2022
  11. 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
  12. Aug 11, 2022
  13. Aug 09, 2022
  14. Aug 08, 2022
  15. Aug 02, 2022
  16. Jun 01, 2022
    • rhenck's avatar
      Fix simple drop list properties panel · f63443af
      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
      f63443af
    • 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
  17. 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
  18. Apr 22, 2022
  19. Apr 14, 2022
  20. Apr 07, 2022
  21. Apr 06, 2022
  22. Apr 04, 2022
    • rhenck's avatar
      Add rich text option to radio and likert column headers · 2acdd720
      rhenck authored
      Also rename LikertColumn to ColumnHeader, since it is not exclusively 
      used by likert.
      2acdd720
    • rhenck's avatar
      Clean likert interfaces · 07921403
      rhenck authored
      The LikertColumn is actually just an image-text-combo. Has a generalized 
      name now.
      The other interface was not needed anymore and has been deleted.
      07921403
    • rhenck's avatar
      Add rich text for radio group options · 201f69c0
      rhenck authored
      - A new new editor component has been created for this, which has a
      reduced interface and produces span-elements instead of paragraphs.
      - Since the created HTML (span with CSS) is regarded as potentially
      harmful it needs to be sanitized. For element components the sanitizer
      is put in the abstract parent element-component-directive.
      201f69c0
  23. Mar 31, 2022
  24. Mar 04, 2022
  25. Feb 17, 2022
    • rhenck's avatar
      Rework models from classes to interfaces · f416ce14
      rhenck authored
      This removes all the classes and goes back to simple interfaces for
      unit, pages etc and all elements. This makes creating them easier and
      cleaner.
      Things like specific needs when setting element properties and most
      importantly compatibility handling is done by a special service module,
      that knows all the elements and how to repair old their potentially
      outdated definitions.
      f416ce14
  26. Feb 09, 2022
  27. Jan 20, 2022
    • rhenck's avatar
      Use index + 1 for element list values · 5bcf68f0
      rhenck authored
      All elements which report the selected index are supposed to send an 
      index starting with 1 instead of 0. This a special requirement for the 
      analysis of answers.
      5bcf68f0
  28. Jan 18, 2022
  29. Jan 13, 2022
  30. Jan 12, 2022
  31. Jan 05, 2022
    • rhenck's avatar
      [editor] Introduce TextEditor mode · df606006
      rhenck authored
      This is for the different use saces of a simple text element and a cloze 
      element. The latter needs more inputs for child elements and also return 
      JSON instead of HTML.
      df606006
Loading