Skip to content
Snippets Groups Projects
This project is mirrored from https://*****@github.com/iqb-berlin/verona-modules-aspect.git. Pull mirroring updated .
  1. Oct 09, 2023
  2. Aug 14, 2023
  3. Aug 11, 2023
  4. Jul 28, 2023
  5. 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
  6. 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
  7. Jun 27, 2023
  8. Jun 11, 2023
  9. Jun 05, 2023
  10. Jun 01, 2023
  11. May 24, 2023
  12. May 05, 2023
  13. Apr 21, 2023
    • jojohoch's avatar
      [player] Fix ExpressionChangedAfterItHasBeenCheckedError in TextArea · 9dc8dbbd
      jojohoch authored
      - Replace UpdateTextareaPipe with DynamicRowsDirective
      
      The dynamic height of the textarea is calculated based on the available
      width. However, accessing the width of the textarea often results in an
      error.
      For this reason, the calculation is now done using resize and change
      events in conjunction with a timeout to wait for the textarea to render.
      9dc8dbbd
  14. Jan 19, 2023
  15. Jan 03, 2023
  16. Jan 02, 2023
    • rhenck's avatar
      wip1 · b4532254
      rhenck authored
      b4532254
  17. Nov 30, 2022
    • rhenck's avatar
      Add new element math-editor · fa7e2b04
      rhenck authored
      Uses external software 'MathLive'.
      
      Distpacker issues with mathlive have been solved in a custom 
      distpacker.ts in scripts-folder. This is now used instead of the 
      distpacker from the npm package.
      fa7e2b04
  18. Nov 08, 2022
  19. 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
  20. Oct 27, 2022
  21. Oct 25, 2022
  22. 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
  23. Oct 14, 2022
  24. Sep 21, 2022
  25. Sep 01, 2022
  26. Aug 30, 2022
  27. 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
  28. May 02, 2022
    • rhenck's avatar
      Refactor simple elements for cloze · 28ead292
      rhenck authored
      - Split text field and drop list, so they can have differing props
      - Improve their dimension default values
      - Improve alignment of all cloze children components
      - Add dynamic width parameter of toggle buttons to dimension properties
      panel. Therefore the postion tab can always be shown and no longer needs
      a condition.
      28ead292
  29. Apr 19, 2022
  30. Mar 31, 2022
  31. Mar 07, 2022
  32. Feb 28, 2022
    • jojohoch's avatar
      [player] Add element groups · e0a6e0f2
      jojohoch authored
      This helps to divide the code of the element container into smaller
      meaningful units.
      In addition, each element can be given its own form group.
      e0a6e0f2
  33. 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
  34. Jan 22, 2022
Loading