Skip to content
Snippets Groups Projects
This project is mirrored from https://*****@github.com/iqb-berlin/verona-modules-aspect.git. Pull mirroring updated .
  1. Jun 03, 2024
    • rhenck's avatar
      Move MessageService to Editor project · 9e5ff29f
      rhenck authored
      This is only used by the Editor. It was in common while the 
      SanitizationService was used by the Player which then could display 
      errors. Sanitization has been refactored and this is no longer needed.
      9e5ff29f
  2. Feb 23, 2024
  3. Aug 03, 2023
  4. Jul 31, 2023
  5. Jul 25, 2023
    • rhenck's avatar
      Comment faulty Sanitizer (old) method · 7d284c4e
      rhenck authored
      This whole class will be deleted soon.
      7d284c4e
    • rhenck's avatar
      Rework ClozeElement document parsing · da7f46a4
      rhenck authored
      The ClozeDocument needs properly instantiated UIElements for the custom 
      elements.
      Instead of creating a new ClozeDocument on the basis of what TipTap is 
      producing and replacing the custom parts with instances, the 
      ClozeDocument is kept in place but the custom parts are collected into a 
      list and changed there.
      
      #450
      da7f46a4
  6. Jul 24, 2023
    • rhenck's avatar
      Rework class constructors · 81de7c0f
      rhenck authored
      In Player-context the constructors are to fail, when the given 
      properties are not exactly as expected. Therefoore they are validated. 
      When this validation fails, an environment variable is checked to 
      determine if the element should be created anyway with defaults. This 
      switch is off in player-context. But the Editor is not so strict and can 
      create elements with incomplete parameters.
      
      There is also a new VersionManager which checks given unit definitions 
      for version-validity. Upon failing this check Player and Editor show 
      error messages.
      The Editor accepts a certain unit definition version, but shows a 
      warning.
      
      The Editor checks units for invalid references after loading. If any are 
      found, they are removed and an info-panel is shown.
      81de7c0f
  7. Jul 17, 2023
  8. Jul 05, 2023
  9. 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
  10. Jun 27, 2023
  11. Jun 15, 2023
  12. Jun 05, 2023
  13. May 24, 2023
  14. Jan 06, 2023
  15. Jan 05, 2023
  16. 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
  17. Jan 03, 2023
  18. Nov 07, 2022
  19. Oct 14, 2022
  20. Oct 05, 2022
  21. Sep 21, 2022
  22. 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
  23. Sep 13, 2022
  24. Sep 12, 2022
  25. Sep 08, 2022
  26. Sep 06, 2022
  27. Sep 05, 2022
  28. 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
Loading