Skip to content
Snippets Groups Projects
This project is mirrored from https://*****@github.com/iqb-berlin/verona-modules-aspect.git. Pull mirroring updated .
  1. Jan 20, 2022
  2. 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
  3. Jan 18, 2022
  4. Jan 17, 2022
  5. Jan 14, 2022
  6. Jan 13, 2022
    • rhenck's avatar
      Rework toogle-button component · 9be97ef6
      rhenck authored
      Now manages it's width and height itself.
      
      Also has some new properties:
      - verticalOrientation should be self-explanatory
      - dynamicWidth allows the user to set a width manually. The buttons on 
      the element automatically stretch to meet the set width (or height).
      9be97ef6
  7. Jan 12, 2022
    • rhenck's avatar
      Make InputElement labe optional and remove it from cloze children · 5b90fa99
      rhenck authored
      Cloze elements are displayed inline and have no way to show a label.
      5b90fa99
    • rhenck's avatar
      Refactor simple dropList element · 4121a526
      rhenck authored
      Now manages height and width by itself. So no overlay div is needed in 
      the cloze component.
      4121a526
    • 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
  8. Jan 10, 2022
    • jojohoch's avatar
      [player] Fix restoring of toggle buttons · 2daf595f
      jojohoch authored
      - Explicitly set the value of the form control of CompoundChildren,
      because they are not yet fully registered in the onInit phase.
      - Use ChangeDetectorRef to prevent
      ExpressionChangedAfterItHasBeenCheckedError
      2daf595f
  9. Jan 07, 2022
  10. Jan 06, 2022
  11. Jan 04, 2022
  12. Dec 17, 2021
  13. Dec 16, 2021
  14. Dec 15, 2021
  15. Dec 14, 2021
Loading