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
      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 ID initialization · 45c2874c
      rhenck authored
      There were some cases where elements could end up without an ID.
      Also just in case an error is thrown when no ID is present.
      45c2874c
    • 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
      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 31, 2022
  6. May 25, 2022
  7. 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
Loading