Skip to content
Snippets Groups Projects
This project is mirrored from https://*****@github.com/iqb-berlin/verona-modules-aspect.git. Pull mirroring updated .
  1. Jun 01, 2022
    • rhenck's avatar
      Add section copy&paste functionality · e3a9ab00
      rhenck authored
      Add 2 new menu buttons to the section menu.
      One simply copies the selected section to the clipboard.
      The other opens a dialog where a copied section can be pasted. The 
      section element's IDs are checked if they are available and a warning is 
      shown.
      e3a9ab00
  2. May 17, 2022
  3. May 05, 2022
  4. Apr 14, 2022
  5. Apr 05, 2022
  6. Mar 25, 2022
  7. Mar 23, 2022
  8. Mar 11, 2022
  9. 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
  10. Feb 09, 2022
  11. Jan 20, 2022
    • 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
  12. Dec 10, 2021
    • rhenck's avatar
      [editor] Refactor canvas component events · 4a60c8c2
      rhenck authored
      The dropListList generation is now done when things are changed via the 
      section menu and no longer on element update via unit service.
      Also remove some interfaces to avoid circular imports. The interfaces 
      are so small and insignificant that their form might as well be 
      specified at usage point.
      4a60c8c2
  13. Dec 07, 2021
    • rhenck's avatar
      Improve code style · 9acf89b3
      rhenck authored
      9acf89b3
    • rhenck's avatar
      [editor] Add section element list · af1b9ad7
      rhenck authored
      This allows to select elements without clicking them on the canvas, as 
      elements may be obstructed or not visible for some reason.
      
      The selection logic is a bit complicated because usually only the 
      overlay components are usd for selection which are also the place to 
      apply any highlighting on. Here we have to find the component element 
      reference from the section. Therefore the double looping 
      'getElementComponent' method.
      
      Also when an elements is selected it briefly gets z-index 100 so it is 
      moved to the front and visible and manipulatable.
      af1b9ad7
  14. Nov 11, 2021
    • rhenck's avatar
      [editor] Refactor directory structure and separate dialog components · cc549202
      rhenck authored
      This structure moves closer to the structure template the team decided
      on. Components and services are kept in dedicated folders instead of
      following the logical code structure. This is still not the case here as
      the unit-view component is still nested, but it's closer.
      cc549202
  15. Oct 18, 2021
    • rhenck's avatar
      [editor] Refactor directory structure · 9f65f0c9
      rhenck authored
      The main components are right at top level and the directories below
      mimic the data structure (unit->page->section).
      The toolbar is only used in dev mode and does not belong directly to the
      unit view.
      The TextEditor is a complex component and deserves it's own directory
      even though it is used within the unit-view. Might be refactored to its
      own module later.
      9f65f0c9
  16. Oct 15, 2021
  17. Oct 14, 2021
  18. Oct 13, 2021
  19. Sep 26, 2021
    • rhenck's avatar
      [editor] Add section duplication · 95eb555e
      rhenck authored
      The duplication is done by creating a new element (UnitUIElement)
      for each element of the copied object. And then overwriting it with
      the props of the old one, in addition to assigning a new ID.
      95eb555e
  20. Sep 20, 2021
    • rhenck's avatar
      [editor] Refactor section properties / remove edit mode · 94395fb8
      rhenck authored
      The section menu (containing all former properties options and
      reordering) is now shown on section hover.
      - With the removal of the section edit mode the view-only elements
      are no longer needed, as sections can no longer be dragged.
      - The unit service now has a unified logic for moving items in an array,
      being used for pages and sections. Although for pages there is an
      additional regarding the always shown page.
      The reorder function silently ignores nonsense reorders!
      - The prompt dialog now takes the text as parameter
      94395fb8
  21. Sep 17, 2021
  22. Sep 16, 2021
  23. Aug 25, 2021
  24. Aug 23, 2021
  25. Aug 19, 2021
  26. Aug 18, 2021
  27. Aug 16, 2021
  28. Aug 10, 2021
    • rhenck's avatar
      [editor] Improve dynamic positioning · 6481d53a
      rhenck authored
      - Add (editable) rows to the grid
      - Add drag and drop functionality to grid elements. The element is in 
      'absolute' positioning mode while being dragged and snaps back to the 
      grid when droppped.
      6481d53a
  29. Aug 05, 2021
  30. Aug 03, 2021
    • rhenck's avatar
      [editor] Massively refactor unit and page view · 99094fd3
      rhenck authored
      - ... mostly for dynamic positioning
      - Refactor reordering of sections. They can now be moved by small
      buttons to the side, which appear when hovering. The section edit mode
      is no longer available. -> KISS
      - Removed all toolbars. The props can now be set via the props panel,
      which now has sections for pages, sections and elements. This is to have
      more vertical space available for editing the unit.
      - Sections can now (only) be added via the toolbox panel, where the
      second tab is now exclusively for sections. Future templates are
      supposed to be whole sections, which can also be added from there.
      - Refactor CSS layouting (flex and co) to have better handling of
      vertically growing page (via sections)
      - Some preparation for an upcoming overhaul of selection stuff
      (again :))
      99094fd3
Loading