Skip to content
Snippets Groups Projects
This project is mirrored from https://*****@github.com/iqb-berlin/verona-modules-aspect.git. Pull mirroring updated .
  1. Mar 28, 2024
  2. Feb 02, 2024
  3. Nov 28, 2023
  4. Sep 08, 2023
  5. Aug 01, 2023
  6. Jun 30, 2023
    • rhenck's avatar
      Refactor PositionProperties · 7f571ddf
      rhenck authored
      - Remove dynamicPositioning from PositionProperties. This is not 
      knowledge that the element needs to know. In the few places it was used, 
      it was fixed or solved by asking the containing section about which 
      positioning is active.
      
      - Fix and improve cloze child sizing. All can now have dynamic width and 
      height.
      
      - Fix empty lines in ClozeDocument rendering
      
      - Editor SelectionService now knows if a cloze child is selected. This 
      way the PropertiesPanel can show valid dimension inputs regardless of 
      the underlying section.
      7f571ddf
  7. Jun 05, 2023
  8. Jan 06, 2023
    • Richard Henck's avatar
      Fix alignment for child elements · 7ef356d5
      Richard Henck authored
      For Droplists this needs to be done when multiple items are allowed.
      
      For ToggleButtons it needs to be set when vertical orientation is used.
      
      It is then centered without caring about text alignment. With multiple 
      item it would not be possible to align all of them anyway.
      7ef356d5
  9. Jan 05, 2023
  10. Jan 03, 2023
  11. Jan 02, 2023
    • rhenck's avatar
      wip1 · b4532254
      rhenck authored
      b4532254
  12. Dec 02, 2022
    • rhenck's avatar
      Remove useless CompoundElement component wrapper-element and CSS rules · 46a34283
      rhenck authored
      - Extra span element around cloze child elements served no visible 
      purpose. It also makes sense that an inline div is not inside of a span, 
      which is meant for text.
      - CSS rules were overengineered and in part shadowed (and thereby 
      pointless) by element styles from the template.
      This is also in preparation for the DropList styling overhaul.
      46a34283
  13. Oct 14, 2022
  14. Oct 07, 2022
  15. Aug 09, 2022
  16. Jun 09, 2022
  17. 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
  18. May 05, 2022
  19. May 02, 2022
  20. Apr 19, 2022
  21. Apr 14, 2022
  22. Mar 31, 2022
  23. Mar 02, 2022
    • rhenck's avatar
      Refactor unit definition and sanatizer · 874c1af3
      rhenck authored
      - Units and element are now built via the factory. This ensures only the
        wanted properties are present. All others are discarded.
      - Since the sanatizer is supposed to check the unit defintion version
        it is used by player and editor and therefore put in common.
        This in turn makes it necessary to put the JSON resolver settings
        in the root-TSConfig file.
      - Renamed a couple of properties to have clearer names.
      874c1af3
  24. Feb 28, 2022
  25. Feb 22, 2022
  26. Feb 18, 2022
    • rhenck's avatar
      Refactor style interface · 6237ccb2
      rhenck authored
      - Unify font and surface props
      - Use intersection type for additional properties
      - Also rework editor props panel to properly create the combined 
      properties recursively, passing the results to its child panel (tabs).
      New algorithm works without lodash, therefore the package is removed.
      6237ccb2
  27. Feb 17, 2022
    • rhenck's avatar
      Rework models from classes to interfaces · f416ce14
      rhenck authored
      This removes all the classes and goes back to simple interfaces for
      unit, pages etc and all elements. This makes creating them easier and
      cleaner.
      Things like specific needs when setting element properties and most
      importantly compatibility handling is done by a special service module,
      that knows all the elements and how to repair old their potentially
      outdated definitions.
      f416ce14
  28. Feb 16, 2022
  29. Feb 11, 2022
  30. Feb 09, 2022
    • rhenck's avatar
      Change all selector prefixes from "app" to "aspect" · a6bdf445
      rhenck authored
      This is done according to the Angular best practices and minimizes
      namespace collisions when using other packages which might use the same
      selectors.
      
      Technically the selectors are not even becessary since we use an Angular
      component factory to create element components but it is still useful
      for the DOM element naming, for debugging purposes for example.
      a6bdf445
  31. Jan 22, 2022
    • rhenck's avatar
      Fix paths · e27660f9
      rhenck authored
      e27660f9
    • rhenck's avatar
      Fix and refactor cloze compat handling · e58147db
      rhenck authored
      Now correctly creates child elements for every marker it finds.
      
      Updated the TipTap extensions to use model instead of just the ID.
      
      Also improve interface naming.
      e58147db
  32. Jan 21, 2022
Loading