Skip to content
Snippets Groups Projects
This project is mirrored from https://*****@github.com/iqb-berlin/verona-modules-aspect.git. Pull mirroring updated .
  1. Jul 17, 2023
  2. Jul 05, 2023
  3. Jun 30, 2023
    • rhenck's avatar
      Refactor PositionProperties · 7f571ddf
      rhenck authored
      - Remove dynamicPositioning from PositionProperties. This is not 
      knowledge that the element needs to know. In the few places it was used, 
      it was fixed or solved by asking the containing section about which 
      positioning is active.
      
      - Fix and improve cloze child sizing. All can now have dynamic width and 
      height.
      
      - Fix empty lines in ClozeDocument rendering
      
      - Editor SelectionService now knows if a cloze child is selected. This 
      way the PropertiesPanel can show valid dimension inputs regardless of 
      the underlying section.
      7f571ddf
  4. Jun 15, 2023
  5. Jun 05, 2023
  6. May 24, 2023
  7. Jan 06, 2023
  8. Jan 05, 2023
  9. 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
  10. Jan 03, 2023
  11. 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
  12. Oct 14, 2022
  13. 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
    • rhenck's avatar
      [editor] Add ID check to sanitizer · d284c2e7
      rhenck authored
      Just called from the editor, before creating the Unit instance.
      It goes through all IDs and checks for duplicates. If found it generates 
      a new one and shows the prompt.
      d284c2e7
  14. Sep 13, 2022
  15. Sep 12, 2022
  16. Sep 08, 2022
  17. Sep 06, 2022
  18. Sep 05, 2022
  19. Aug 09, 2022
    • rhenck's avatar
      Add sanitization for option element values · 0e9a02dc
      rhenck authored
      sanatizer
      TextImageLabel:
       position -> imgPosition
      
      DragNDropValueObject
       stringValue -> text
       imgSrcValue -> imgSrc
      
      RadioButtonGroupComplexElement
       columns -> options
      
      Likert
       columns -> options
      0e9a02dc
  20. Aug 01, 2022
  21. Jun 03, 2022
    • rhenck's avatar
      Fix type issues · e1ab36e3
      rhenck authored
      Remove 'any's be adding proper types and using 'never'.
      e1ab36e3
  22. Jun 01, 2022
    • rhenck's avatar
      Quick and dirty fix sanitization service tests · 2f9dcce3
      rhenck authored
      2f9dcce3
    • 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 sanitization for drop-list-simple · e74d1ae5
      rhenck authored
      e74d1ae5
    • rhenck's avatar
      Fix sanitization of cloze elements · 044b0c92
      rhenck authored
      The creation of a temporary cloze elements fails when it encounters 
      unknown child types.
      Therefore we use a static ClozeElement method to get the child elements 
      from the document instead of the whole element.
      044b0c92
    • 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
  23. 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
  24. May 10, 2022
  25. May 09, 2022
Loading