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
      Add example unit · 632ae45e
      rhenck authored
      632ae45e
    • 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 radio button without label · 488cfb47
      rhenck authored
      Options still had a margin-top, which is wrong when there is no label 
      above.
      488cfb47
    • rhenck's avatar
      Update README.md · 613fc0e5
      rhenck authored
      Fix typo
      613fc0e5
    • 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 11, 2021
  5. 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
      Use Partial type for serializedElements · 810a9674
      rhenck authored
      810a9674
    • 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
Loading