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 11, 2023
  2. Jun 05, 2023
  3. Jun 01, 2023
  4. May 24, 2023
  5. May 05, 2023
  6. 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
  7. Jan 19, 2023
  8. Jan 03, 2023
  9. Jan 02, 2023
    • rhenck's avatar
      wip1 · b4532254
      rhenck authored
      b4532254
  10. 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
  11. Nov 08, 2022
  12. 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
  13. Oct 27, 2022
  14. Oct 25, 2022
  15. 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
  16. Oct 14, 2022
  17. Sep 21, 2022
  18. Sep 01, 2022
  19. Aug 30, 2022
  20. 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
  21. 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
  22. Apr 19, 2022
  23. Mar 31, 2022
  24. Mar 07, 2022
  25. 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
  26. 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
  27. Jan 22, 2022
  28. Jan 19, 2022
    • rhenck's avatar
      Rework compound child components · 87effdf7
      rhenck authored
      Compound elements are now supposed to use overlays for their child
      elements. This overlay makes selecting child components (by clicking on
      them) and marking them as selected (done by the selection service)
      possible.
      The SelectionService no longer needs special logic to handle compound
      children selection, as they now also have an overlay with the same
      interface as normal (canvas) elements.
      
      A few modifications in connected directives are necessary. The now
      handle children components in a proper array instead of QueryList.
      
      Likert elements do not have clickable children yet and work a little
      differently. This should probably be unitized in the future.
      87effdf7
  29. Jan 18, 2022
  30. Jan 17, 2022
    • rhenck's avatar
      Extend cloze element · 5f69cce6
      rhenck authored
      Is now able to interpret more stuff from the editor. The only thing 
      missing are the list styles.
      5f69cce6
  31. Jan 12, 2022
    • rhenck's avatar
      Rework cloze element data · 15cdca5e
      rhenck authored
      - Now only has a variable 'document'. This holds the HTML representation
        in an object. This object is enriched with element models.
      - Because the the TextEditor extension can neither create multiple
        element instances nor use the IDService to generate their IDs, this
        has to be done afterwards. See ClozeParser.
      - The cloze element has rather extensive compatibility handling because
        cloze elements used to save an actual HTML representation. This has to
        be transformed to JSON/object. Therefore we replace the old backslash-
        markers with custom HTML tags. The editor object does this
        transformation. It needs some custom extensions to recognize (and
        don't remove) the HTML tags though.
      - Cloze now shows a placeholder text when empty
      - The cloze component needs a small pipe to extract text formatting
        options from the paragraph parts.
      - For getting the child elements for the player the models have to be
        extracted from the somewhat complex (JSON)document.
      - Added some rudimentary interfaces for the TextEditor document format.
      - Removed the old ClozePart interface. This is quasi part of the new
        interfaces.
      15cdca5e
  32. Jan 04, 2022
  33. Dec 07, 2021
  34. Dec 02, 2021
Loading