Skip to content
Snippets Groups Projects
This project is mirrored from https://*****@github.com/iqb-berlin/verona-modules-aspect.git. Pull mirroring updated .
  1. Jan 19, 2022
    • 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
  2. Jan 18, 2022
  3. Jan 17, 2022
  4. Jan 14, 2022
  5. Jan 13, 2022
  6. Jan 12, 2022
    • rhenck's avatar
      [editor] Fix minor issues in TextEditor · 0964ade7
      rhenck authored
      - Naming
      - Focus after nodeview insert
      0964ade7
    • rhenck's avatar
      [editor] Rework TextEditor to also accept cloze documents are input · 7f2ac313
      rhenck authored
      Also editor in cloze mode now respects the element's font size.
      7f2ac313
    • rhenck's avatar
      Make InputElement labe optional and remove it from cloze children · 5b90fa99
      rhenck authored
      Cloze elements are displayed inline and have no way to show a label.
      5b90fa99
    • rhenck's avatar
      Refactor simple dropList element · 4121a526
      rhenck authored
      Now manages height and width by itself. So no overlay div is needed in 
      the cloze component.
      4121a526
    • rhenck's avatar
      Rework cloze element data · 15cdca5e
      rhenck authored
      - Now only has a variable 'document'. This holds the HTML representation
        in an object. This object is enriched with element models.
      - Because the the TextEditor extension can neither create multiple
        element instances nor use the IDService to generate their IDs, this
        has to be done afterwards. See ClozeParser.
      - The cloze element has rather extensive compatibility handling because
        cloze elements used to save an actual HTML representation. This has to
        be transformed to JSON/object. Therefore we replace the old backslash-
        markers with custom HTML tags. The editor object does this
        transformation. It needs some custom extensions to recognize (and
        don't remove) the HTML tags though.
      - Cloze now shows a placeholder text when empty
      - The cloze component needs a small pipe to extract text formatting
        options from the paragraph parts.
      - For getting the child elements for the player the models have to be
        extracted from the somewhat complex (JSON)document.
      - Added some rudimentary interfaces for the TextEditor document format.
      - Removed the old ClozePart interface. This is quasi part of the new
        interfaces.
      15cdca5e
    • rhenck's avatar
      [editor] Fix minor issues in TextEditor extensions · 71575dd6
      rhenck authored
      - Give proper name
      - Fix variable names
      - Fix deprecated methods
      71575dd6
    • rhenck's avatar
      c04e7014
  7. Jan 10, 2022
Loading