Skip to content
Snippets Groups Projects
This project is mirrored from https://*****@github.com/iqb-berlin/verona-modules-aspect.git. Pull mirroring updated .
  1. 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
  2. Feb 09, 2022
  3. Feb 07, 2022
  4. Jan 25, 2022
  5. Jan 24, 2022
  6. Jan 22, 2022
  7. Jan 21, 2022
  8. Jan 20, 2022
    • rhenck's avatar
      Make cloze element children not directly clickable · 0493fd04
      rhenck authored
      Only the overlay can be clicked. This way the statre of the elements can 
      not be changed which might be confused for actual value changes. Those 
      can still only be done via properties panel.
      
      Unfortunately we need another variable so the cloze elements knows when 
      it runs in the editor or not.
      0493fd04
    • rhenck's avatar
      [editor] Improve code style and comments · ace7ec9a
      rhenck authored
      ace7ec9a
    • rhenck's avatar
      [editor] Fix cloze dropList properties references · 63fc058e
      rhenck authored
      Do not change the underlying temp object, but instead use an new object 
      reference.
      This avoids changing references to objects of other elements.
      63fc058e
    • rhenck's avatar
      Use index + 1 for element list values · 5bcf68f0
      rhenck authored
      All elements which report the selected index are supposed to send an 
      index starting with 1 instead of 0. This a special requirement for the 
      analysis of answers.
      5bcf68f0
    • rhenck's avatar
      [editor] Disable font field · 2e1d13d7
      rhenck authored
      Since we can't safely assume any other font than the one we ship is 
      available, it is better to not allow changing this.
      
      I have not removed the variable completely as in the futire more than 
      one font might be wanted. So for now you just can't choose another.
      2e1d13d7
    • rhenck's avatar
      [editor] Make menus not close when clicking on them · 1d76728e
      rhenck authored
      Also focus the height input field upon opening the menu.
      For the layout menu this does not work as checkboxes don't play nicely 
      with menus.
      
      In fact having anything but button in the menu is against the Material 
      spec. But i still think this is the best way to achieve the usability we 
      want.
      1d76728e
  9. Jan 19, 2022
    • rhenck's avatar
      [editor] Use dashed outline for element selection and resize · 12662c72
      rhenck authored
      For dynamic section we keep the solid line as the dashed one is harder 
      to see. Needs to be discussed maybe.
      12662c72
    • rhenck's avatar
      [editor] Overhaul TextEditor style · fd8cb915
      rhenck authored
      Input elements are now grouped in fieldsets.
      They also a cool gradient background color.
      fd8cb915
    • rhenck's avatar
      Rework compound child components · 87effdf7
      rhenck authored
      Compound elements are now supposed to use overlays for their child
      elements. This overlay makes selecting child components (by clicking on
      them) and marking them as selected (done by the selection service)
      possible.
      The SelectionService no longer needs special logic to handle compound
      children selection, as they now also have an overlay with the same
      interface as normal (canvas) elements.
      
      A few modifications in connected directives are necessary. The now
      handle children components in a proper array instead of QueryList.
      
      Likert elements do not have clickable children yet and work a little
      differently. This should probably be unitized in the future.
      87effdf7
    • rhenck's avatar
      [editor] Set minimal width for TextEditor to 870 · 9f22865d
      rhenck authored
      Lower and the input element panel does not show properly.
      9f22865d
    • rhenck's avatar
      d28cbc5b
    • rhenck's avatar
      [editor] Pass page width to editor dialog · d00010ee
      rhenck authored
      This way the dialog does not grow too wide, when lots of text is 
      entered. There could be a lot more logic here to calculate exactly how 
      big the window should be, but that seems like overengineering right now.
      d00010ee
  10. Jan 18, 2022
  11. Jan 17, 2022
  12. Jan 13, 2022
    • rhenck's avatar
      [editor] Fix TextEditor fontSize extension · 18069bd1
      rhenck authored
      Was broken after previous refactoring.
      The renderHTML method only works with a proper return. Don't know why. 
      Therefore disregard the linter warning for now.
      18069bd1
Loading