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
      [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
  2. Jan 18, 2022
  3. Jan 17, 2022
  4. Jan 13, 2022
  5. 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
      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
  6. Jan 10, 2022
  7. Jan 07, 2022
  8. Jan 06, 2022
  9. Jan 05, 2022
  10. Jan 03, 2022
  11. Dec 17, 2021
    • rhenck's avatar
      [editor] Add toggle-button to TextEditor in Cloze-mode · 7bc1ac8c
      rhenck authored
      Also improve tooltips.
      7bc1ac8c
    • rhenck's avatar
      [editor] Fix and improve sizing props panel · 56f65547
      rhenck authored
      - Fix reading values from combinedProperties object. This object has the
      needed property in its root.
      - Don't show alignment buttons in dynamic mode
      - Make the small input fields a little wider so the placeholder text
      does not overflow, when there is no valid value to show. This may happen
      when multiple elements are selected, which have differing values.
      56f65547
    • rhenck's avatar
      [editor] Fix element alignment · 5269a5f4
      rhenck authored
      - Move the method to the unit service, so the proper 
      updateElementProperty method can be used.
      - Also improve the logic, reducing variables.
      5269a5f4
    • rhenck's avatar
      [editor] Improve element selection logic · a682b6d0
      rhenck authored
      Only select the element component when it is not already selected. This 
      prevents delesecting elements which have been multiselected.
      a682b6d0
  12. Dec 16, 2021
Loading