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 09, 2022
  2. Jun 03, 2022
  3. Jun 02, 2022
  4. Jun 01, 2022
    • rhenck's avatar
      7f1640ec
    • rhenck's avatar
      Fix simple drop list properties panel · f63443af
      rhenck authored
      Now properly finds all normal and simple drop lists.
      This is achieved by a new method of unit all it's sub-components, which 
      returns all contained elements with and optional type filter.
      
      Also improve (still not very pretty) styling of the drop list props 
      panel.
      
      #260 #259
      f63443af
    • rhenck's avatar
      Fix element drop in dynamic sections · 0e88544f
      rhenck authored
      #264
      0e88544f
    • rhenck's avatar
      [editor] Fix unit service imports · f89f392b
      rhenck authored
      f89f392b
    • rhenck's avatar
      Refactor cloze element's document handling · 89befccd
      rhenck authored
      - Move methods from cloze parser helper library to cloze class.
      - Cloze children are set up with a special placeholder which is then 
      recognized and replaced by a new ID. And the element is recreated (like 
      before) to have a proper element model class, which the TipTap editor 
      doesn't provide.
      89befccd
    • rhenck's avatar
      Add section copy&paste functionality · e3a9ab00
      rhenck authored
      Add 2 new menu buttons to the section menu.
      One simply copies the selected section to the clipboard.
      The other opens a dialog where a copied section can be pasted. The 
      section element's IDs are checked if they are available and a warning is 
      shown.
      e3a9ab00
    • 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
  5. May 17, 2022
  6. May 09, 2022
  7. May 06, 2022
  8. May 05, 2022
  9. 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
    • 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
      Cleanup styling · bfaa942e
      rhenck authored
      Remove unused class.
      bfaa942e
  10. Apr 25, 2022
    • rhenck's avatar
      [editor] Improve button properties panel · aa541c48
      rhenck authored
      - Add fieldset to make it look nicer.
      - Improve image to have fixed size, scale properly and show buttons only 
      on hover.
      - Improve translations
      - Add tooltip to actionparam dropdown: When having selected pageNav it 
      shows a tooltip to get across that only valid pages can show up.
      
      #240
      aa541c48
  11. Apr 22, 2022
  12. Apr 20, 2022
  13. Apr 19, 2022
  14. Apr 14, 2022
Loading