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 29, 2021
  2. Nov 26, 2021
    • jojohoch's avatar
      [player] Update release notes · 715b31c2
      jojohoch authored
      715b31c2
    • jojohoch's avatar
      [player] Add option to disable muting of audios and videos · 4eb6dce0
      jojohoch authored
      The interaction can now be turned off without hiding the button.
      4eb6dce0
    • jojohoch's avatar
      [player] Fix dependency resolving problems with audios and videos · b4f165ea
      jojohoch authored
      If maxRuns at minRuns had the same value, the valid state of an audio
      could not be set. Therefore no event was sent to other audios and videos
      b4f165ea
    • jojohoch's avatar
      [player] Fix the playback option for videos · 0f0db95d
      jojohoch authored
      The latest changes to the events for the control bar have so far been
      implemented only for the audio component
      0f0db95d
    • jojohoch's avatar
      Add rubber icon button to delete text marks · 1ea28324
      jojohoch authored
      1ea28324
    • jojohoch's avatar
      Use `packageName` as parameter for distpacker.ts · 52830090
      jojohoch authored
      This helps to find the asset path for images
      when they are imported from the js context
      52830090
    • jojohoch's avatar
      Update iqb-dev-components (version 1.4.0) · 200244ee
      jojohoch authored
      200244ee
    • rhenck's avatar
      Refactor element class and interface structure · 4a413b60
      rhenck authored
      The problem being solved is that compound-sub-elements must not have
      all the properties other elements have. For exampe positioning info.
      Sub-Elements are positioned inline. To avoid having similar class
      inheritance structures for positioned and inline elements, we use
      interface. Positioning is done via interface and is therefore optional.
      
      Those optional properties are kept in an object in a variable. This
      allows to hide specifics from element classes and removes the need to
      initialize all the fields in every class using the interface.
      The elements mostly care about their own specific properties anyway.
      
      The same technique is used for font and surface elements. Here we also
      don't want to initialize all the styles in every class.
      
      Changing values of element properties works like before. Just set the
      property as if it would be a direkt prop of the element. The element
      itself puts the value in the currect sub-object (positioningProps,
      fontProps etc).
      
      For reading the values there is a similar method, but it is not used
      anywhere by now. Since the properties panel operates on the raw values
      anyway (refer CombinedProperties) and for element components this would
      mean calling a function in the template, which caused change detection
      to run the function very often and is therefore bad practice.
      
      Additional notes and refactorings:
      - Restructure all files in common. UIElements in the same folder etc.
      - Move all interfaces to the UIElement file. This avoids circular
        imports, which would be needed to allow PositionedElement to extend
        UIElement.
      - Interface initializers also handle reading values in the old form.
      - Add PositionedElement for use in canvas overlays. This is a UIElement
        with guaranteed postionProps.
      - Don't export all Material packages from common, only the ones
        used in player and editor. The rest is only used in common and
        does not need to be exported.
      4a413b60
  3. Nov 25, 2021
  4. Nov 24, 2021
  5. Nov 23, 2021
Loading