Skip to content
Snippets Groups Projects
This project is mirrored from https://*****@github.com/iqb-berlin/verona-modules-aspect.git. Pull mirroring updated .
  1. Dec 15, 2021
  2. Dec 14, 2021
    • rhenck's avatar
      [editor] Refactor color inputs · d67ba751
      rhenck authored
      Use a suffix button to activate color picker instead of having an extra 
      form field.
      
      Also add direct input for likert line coloring color.
      d67ba751
    • rhenck's avatar
      Fix build process for custom theme · 363058d0
      rhenck authored
      The theme file is now project specific because Angular demands assets
      to be part of the project.
      It also differs in content: The editor theme is only applied to canvas
      elements. For the player every checkbox and radio button is affected.
      
      The components now again use the default color of 'accent'. The custom
      theme now has the green as accent color and no longer primary.
      363058d0
  3. Dec 13, 2021
  4. Dec 10, 2021
    • rhenck's avatar
      [editor] Refactor cloze parser · ccb70e2c
      rhenck authored
      ccb70e2c
    • rhenck's avatar
      Improve code style · ce392fca
      rhenck authored
      Variable naming, reorder imports etc.
      ce392fca
    • rhenck's avatar
      [editor] Refactor Verona API Service · 2ca15907
      rhenck authored
      Introduce interfaces and clean the structure.
      2ca15907
    • rhenck's avatar
      Refactor ElementFactory to abstract class · 33e72a0b
      rhenck authored
      This makes for cleaner imports.
      33e72a0b
    • rhenck's avatar
      [editor] Refactor canvas component events · 4a60c8c2
      rhenck authored
      The dropListList generation is now done when things are changed via the 
      section menu and no longer on element update via unit service.
      Also remove some interfaces to avoid circular imports. The interfaces 
      are so small and insignificant that their form might as well be 
      specified at usage point.
      4a60c8c2
    • rhenck's avatar
      [editor] Refactor unit service · 53f4e848
      rhenck authored
      No longer have unit as subject. Components can use the unit variable as 
      is and still get updated.
      This removes some listener stuff in conected components.
      53f4e848
    • rhenck's avatar
      [editor] Fix element duplication · 2e743910
      rhenck authored
      Was not correctly creating new instances of non-primitive values. Now
      uses "JSON.parse(JSON.stringify(element))" for deep copying the element
      first.
      
      Also refactor by moving the method to the UnitService, where all ID
      handling should take place.
      2e743910
    • rhenck's avatar
      Refactor IDService and add unit tests · 7affe7f9
      rhenck authored
      No longer is a singleton but a normal servicce now again. The singleton 
      logic was needed in the past but not anymore.
      7affe7f9
    • rhenck's avatar
      Set test runner to close after being done · eaecf921
      rhenck authored
      eaecf921
    • rhenck's avatar
      Move ID-Service to editor · 03e8c00b
      rhenck authored
      Generally only the editor needs to generate new IDs. Before there was
      need to have it in common because some elements (like compound elements)
      needed to generte new Elements including IDs.
      Now all ID stuff is handled by the UnitService and the elements classes
      are handed the fully built elements. Unfortunately this means that some
      logic has to move back from classes into the UnitService. To un-bloat
      the UnitService a (and in the future some more) helper class is created
      for this logic.
      
      The most important thing is, that the UIElement no longer generates
      an ID when created. The ID has to be created before and passed to the
      constructor.
      03e8c00b
    • rhenck's avatar
      Move FileService to editor · bfd5272c
      rhenck authored
      bfd5272c
  5. Dec 09, 2021
    • rhenck's avatar
      [editor] Add special character 'apostrophe' · 9d639f55
      rhenck authored
      9d639f55
    • rhenck's avatar
      Add coloring options to taoggle-button · 0b8056f0
      rhenck authored
      Now correctly sets the chosen background color and additionally sets 
      another (configurable) color to the selected value.
      0b8056f0
    • rhenck's avatar
      Remove text field and area appearance variants and fix remaining · 7a3c8be2
      rhenck authored
      The other  variants are basically the same as filled. The only
      difference is the background color, which we are manilupating anyway.
      So there is no reason to keep them.
      
      Also for the background color directive different target elements are
      needed for the different appearance variants. This is now possible.
      As stylings of the old appearance are kept when changing the appearance
      the styles need to be removed first.
      In the moment the appearance value is changed the component is not
      actually changed yet and there we need to wait for another Angular
      change detection cycle, via timeout.
      7a3c8be2
  6. Dec 08, 2021
  7. Dec 07, 2021
    • rhenck's avatar
      Improve code style · 9acf89b3
      rhenck authored
      9acf89b3
    • rhenck's avatar
      [editor] Add section element list · af1b9ad7
      rhenck authored
      This allows to select elements without clicking them on the canvas, as 
      elements may be obstructed or not visible for some reason.
      
      The selection logic is a bit complicated because usually only the 
      overlay components are usd for selection which are also the place to 
      apply any highlighting on. Here we have to find the component element 
      reference from the section. Therefore the double looping 
      'getElementComponent' method.
      
      Also when an elements is selected it briefly gets z-index 100 so it is 
      moved to the front and visible and manipulatable.
      af1b9ad7
    • rhenck's avatar
      [editor] Add missing translation · 41df2460
      rhenck authored
      41df2460
  8. Dec 06, 2021
  9. Dec 03, 2021
  10. Dec 02, 2021
  11. Dec 01, 2021
Loading