Skip to content
Snippets Groups Projects
This project is mirrored from https://*****@github.com/iqb-berlin/verona-modules-aspect.git. Pull mirroring updated .
  1. Oct 25, 2022
  2. Oct 17, 2022
    • rhenck's avatar
      Rework Elementfactory · 0c0b9e3b
      rhenck authored
      The unit tests errored out because of circular dependencies via the 
      Elementfactory class. Therefore:
      - No longer creates styling/position/player-Properties. This is done in 
      the Element parent class.
      - Move element creation from Section to the ElementFactory class 
      instead.
      0c0b9e3b
  3. Oct 07, 2022
  4. Sep 15, 2022
    • rhenck's avatar
      Rework ID handling · 0e45e323
      rhenck authored
      - remove ID handling from model classes. This is now done by the editor 
      itself (mainly unit service).
      - Rename and move IDManager to editor as IDService
      0e45e323
  5. Aug 10, 2022
  6. Jun 09, 2022
  7. Jun 03, 2022
  8. Jun 02, 2022
  9. 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
  10. 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