Skip to content
Snippets Groups Projects
This project is mirrored from https://*****@github.com/iqb-berlin/verona-modules-aspect.git. Pull mirroring updated .
  1. Nov 23, 2021
  2. Nov 22, 2021
  3. Nov 20, 2021
  4. Nov 19, 2021
    • rhenck's avatar
      Minor code cleanup · b5f468ea
      rhenck authored
      b5f468ea
    • rhenck's avatar
      Add specific styling for Cloze children components · 43676782
      rhenck authored
      Child elements need some special CSS, for example to prevent taking up 
      more space than needed.
      This is only for text field and drop list, which are the relevant sub 
      elements for now.
      43676782
    • rhenck's avatar
      Remove button and other nonsensical child elements from Cloze · c9149b60
      rhenck authored
      Button is no InputElement which causes trouble in some places. Since it 
      does not make much sense in the Cloze context it is just removed.
      c9149b60
    • rhenck's avatar
      24d0152e
    • rhenck's avatar
      Refactor button element to stop preventing event bubbling · f0c4d69d
      rhenck authored
      The problem that was to be solved is that buttons within a form always 
      cause form validation for all form elements. Which is not wanted here.
      The better solution than preventing all event is to simply declare the 
      button type. As button without any type are treated as submit buttons.
      f0c4d69d
    • rhenck's avatar
      Make Likert a CompoundElement · 86d9a03e
      rhenck authored
      This new class makes sense logically, does not have an effect on the 
      children though.
      86d9a03e
    • rhenck's avatar
      Refactor Cloze element to allow clicking on element in the player · 761d22bc
      rhenck authored
      A new variable is introduced for CompoundComponents: 
      "allowClickThrough". With this set components can set their children and 
      overlays to allow clicking on child elements or not. In the editor this 
      is not wanted as the elements internal structure is different and the 
      resulting event target can not be reliably styled. There we need the 
      (span) overlay.
      In the player though elements should be clickable as usual. The player 
      can completely ignore this setting as it is on true (allowing clicking) 
      by default.
      761d22bc
    • jojohoch's avatar
      Refactor error transform pipe · 75b71f25
      jojohoch authored
      - Remove fallback of TranslationService to allow empty error messages
        that can still cause red borders
      - Remove the case distinction for checkboxes, since the requiredTrue
        validator also sends required as errorKey and a special fallback text
        is no longer used
      75b71f25
    • jojohoch's avatar
      [player] Change the registration with the UnitStateService · 57ad4b6e
      jojohoch authored
      Since CompoundElementComponent now inherits from ElementComponent,
      a case distinction can no longer be made implicitly via the property
      domElement.
      57ad4b6e
Loading