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 18, 2022
  2. Jan 17, 2022
  3. Jan 14, 2022
  4. 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
  5. 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
  6. 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
  7. Jan 07, 2022
  8. Jan 06, 2022
  9. Jan 04, 2022
  10. Dec 17, 2021
  11. Dec 16, 2021
  12. Dec 15, 2021
  13. Dec 14, 2021
    • rhenck's avatar
      Fix radio button without label · 488cfb47
      rhenck authored
      Options still had a margin-top, which is wrong when there is no label 
      above.
      488cfb47
    • rhenck's avatar
      Fix build process for custom theme · 363058d0
      rhenck authored
      The theme file is now project specific because Angular demands assets
      to be part of the project.
      It also differs in content: The editor theme is only applied to canvas
      elements. For the player every checkbox and radio button is affected.
      
      The components now again use the default color of 'accent'. The custom
      theme now has the green as accent color and no longer primary.
      363058d0
  14. Dec 13, 2021
    • rhenck's avatar
      Use custom Material Theme for colors · c78c5329
      rhenck authored
      Used in checkboxes and radio buttons, which are now green.
      The secondary is unused but for safety set to the same as the default
      theme should be.
      c78c5329
    • rhenck's avatar
      Add flex orientation for dropList · 6dd9ba11
      rhenck authored
      This new setting makes child items space around in a row with line 
      break.
      
      Images in vertical alignment now always reserve the whole row and don't 
      appear next to each other.
      6dd9ba11
    • jojohoch's avatar
      Refactor button component · 7f12879f
      jojohoch authored
      - Replace onClick method with an event emitter inside the template
      7f12879f
  15. Dec 10, 2021
Loading