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 09, 2022
    • rhenck's avatar
      Change all selector prefixes from "app" to "aspect" · a6bdf445
      rhenck authored
      This is done according to the Angular best practices and minimizes
      namespace collisions when using other packages which might use the same
      selectors.
      
      Technically the selectors are not even becessary since we use an Angular
      component factory to create element components but it is still useful
      for the DOM element naming, for debugging purposes for example.
      a6bdf445
  2. 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
  3. Dec 13, 2021
  4. 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
  5. Nov 02, 2021
  6. Oct 29, 2021
  7. 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
  8. Oct 15, 2021
  9. Sep 21, 2021
  10. Sep 17, 2021
  11. Sep 16, 2021
    • rhenck's avatar
      [editor] Add move page buttons functionality · 12612a02
      rhenck authored
      Also rework selected page index to be managed by the selection service.
      
      There is a bug in Angular and as a result Material tab elements brake 
      when the underlying array is changed. To circumvent that we temporarily 
      remove the tab element and add it again, which should re-initialize it.
      12612a02
  12. Aug 16, 2021
    • rhenck's avatar
      Refactor unit service and selection service · 9b525650
      rhenck authored
      - Unit service now again takes the elements to be changed as parameter
      instead of managing (and even knowing) selections.
      - Selections are managed by the appropriate service
      - Also using rxjs operators instead of serving observable state as
      getter method.
      9b525650
  13. Aug 05, 2021
  14. 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
  15. Jul 30, 2021
  16. Jul 27, 2021
  17. Jul 26, 2021
    • rhenck's avatar
      Add label and id property to UnitPage · c7258685
      rhenck authored
      Those props are set when page is created and can not be changed. This 
      will have to be refactored when the functionality to switch pages is 
      implemented.
      c7258685
  18. Jul 21, 2021
  19. Jul 15, 2021
  20. Jul 09, 2021
  21. Jul 06, 2021
  22. Jul 05, 2021
  23. Jun 23, 2021
  24. Jun 22, 2021
Loading