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 01, 2022
    • rhenck's avatar
      Rework class initialization · f28b0678
      rhenck authored
      - Elements initialize their fields explicitly and not with
        Object.assign, since Object.assign also assigns
        (and therefore overwrites) parent fields.
      - IDService is no longer an Angular service but a basic singleton. This
        allows to use it in classes.
      - The IDManager can be optionally passed to unit and element
        constructors. When present the elements check and fix their given ID
        when created.
        This way elements can be created without depending on the external
        IDManager but also with the dependency.
      - ElementFactory is no longer used to create elements. Those are now
        either created directly via 'new' or via the Section, which knows the
        different element types.
      f28b0678
  2. May 18, 2022
  3. May 17, 2022
  4. May 10, 2022
  5. May 09, 2022
  6. May 06, 2022
  7. May 05, 2022
    • rhenck's avatar
      Fix cloze duplication and refactor getClozeChildElements method · ea276786
      rhenck authored
      Makes more sense logically to pass the cloze element as a whole instead 
      of just the document. Knowing about the document is the responsibility 
      of the method not the caller.
      ea276786
    • rhenck's avatar
      Refactor droplist · abca027e
      rhenck authored
      - Fix DropLists with copyOnDrop to display a placeholder copy of
      dragged elements.
      The drop preview is hidden on those lists. It still has to be in the DOM
      to be the target for the 'falling' animation of the dragged item,
      otherwise it flies to the top left corner of the viewport.
      abca027e
  8. May 02, 2022
    • rhenck's avatar
      Implement copy on drop for dropLists · c6f4e3f2
      rhenck authored
      With this setting elements are copied when being dropped to another 
      list.
      
      On drop it is also checked if the item-ID is already present in the 
      list. If it is the drop event is silently discarded. This allows putting 
      items back in the list without creating duplicate IDs.
      
      Lists with this setting:
      - do show a placeholder of the items being dragged. This way it is 
      conveyed that the item will remain there after being dropped.
      - don't show a placeholder when items are hovered over them, to avoid 
      confusion with duplicate items.
      
      Sorting within DropLists is disabled, since it causes moving items 
      within the list. It has to be discussed if this feature is even needed.
      c6f4e3f2
    • jojohoch's avatar
      Fix element for TextFieldSimpleComponent · 55eb212c
      jojohoch authored
      55eb212c
    • rhenck's avatar
    • 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
    • rhenck's avatar
      Fix unclickable radio button text · c5dbc769
      rhenck authored
      The span element created by using rich text via innerHTML makes the 
      click listener not trigger. Making the innerHTML 'click through' solves 
      the issue.
      
      #244
      c5dbc769
    • rhenck's avatar
      6a3e0ce1
    • rhenck's avatar
      Fix line-height prop for cloze · 111b85bc
      rhenck authored
      111b85bc
  9. Apr 29, 2022
  10. Apr 28, 2022
  11. Apr 25, 2022
  12. Apr 22, 2022
  13. Apr 21, 2022
  14. Apr 20, 2022
    • rhenck's avatar
      Fix toggle button styling · f6013dfd
      rhenck authored
      Just innerHTML does not work properly because the Material stylings do 
      not take effect. Just using another element (div in this case) solves 
      the issue.
      f6013dfd
Loading