Skip to content
Snippets Groups Projects
This project is mirrored from https://*****@github.com/iqb-berlin/verona-modules-aspect.git. Pull mirroring updated .
  1. Nov 07, 2022
  2. Oct 14, 2022
  3. Oct 05, 2022
  4. Sep 21, 2022
  5. 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
  6. Sep 13, 2022
  7. Sep 12, 2022
  8. Sep 08, 2022
  9. Sep 06, 2022
  10. Sep 05, 2022
  11. 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
  12. Aug 01, 2022
  13. Jun 03, 2022
    • rhenck's avatar
      Fix type issues · e1ab36e3
      rhenck authored
      Remove 'any's be adding proper types and using 'never'.
      e1ab36e3
  14. 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
      Fix IDService unit tests · d458e13c
      rhenck authored
      The service is no longer an Angular service, but is now a basic 
      singleton.
      d458e13c
    • 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
  15. May 17, 2022
  16. May 10, 2022
  17. May 09, 2022
  18. May 05, 2022
Loading