Skip to content
Snippets Groups Projects
This project is mirrored from https://*****@github.com/iqb-berlin/verona-modules-aspect.git. Pull mirroring updated .
  1. May 28, 2024
    • rhenck's avatar
      [editor] Add undo function · bbffab06
      rhenck authored
      Only works for a few commands (mainly page and section stuff).
      
      - Adds new menu to page-bar, which shows issued change commands with a 
      button to rollback the latest change.
      - Added warning to the UI element that this is a experimental feature 
      and can destroy units.
      - Undo is done by having the normal function to apply the change to the 
      unit-object and another to undo this change. The HistoryService manages 
      the list and calling rollack (via UnitService).
      - Further refactiring to the unit services.
      bbffab06
  2. May 27, 2024
  3. May 26, 2024
    • rhenck's avatar
      [editor-ui] Rework page menu · d0af963a
      rhenck authored
      - Encapsule into separate component
      - No more pop-in-controls
      - slicker ui layout
      - More tooltip with explanations
      d0af963a
  4. Aug 07, 2023
  5. Aug 03, 2023
  6. Jun 13, 2023
    • rhenck's avatar
      [editor] Add reference checker · 0b27b48c
      rhenck authored
      - Add ReferenceManager to check if deleted elements are referenced 
      anywhere in the unit. If so display a warning.
      - Move page logic to UnitService
      0b27b48c
  7. Jun 08, 2023
  8. Jun 05, 2023
  9. May 05, 2023
  10. Sep 06, 2022
  11. Jun 03, 2022
    • rhenck's avatar
      Fix type issues · e1ab36e3
      rhenck authored
      Remove 'any's be adding proper types and using 'never'.
      e1ab36e3
  12. Mar 10, 2022
  13. Mar 09, 2022
  14. Mar 04, 2022
  15. Feb 28, 2022
  16. Feb 22, 2022
    • rhenck's avatar
      [editor] Refactor page view component · d67f72f7
      rhenck authored
      - Now does unit (page) manipulation itself instead of delegating 
      everything to the UnitService. Still need to call the UnitService to 
      make it notify the API about the change to the unit.
      - Also improve the hack for refreshing the tab view.
      d67f72f7
    • rhenck's avatar
      [editor] Remove page view component · 973ab396
      rhenck authored
      It did not do anyhting anyway. Is now integrated in unit view.
      973ab396
  17. 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
  18. 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
  19. Dec 13, 2021
  20. 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
  21. Nov 02, 2021
  22. Oct 29, 2021
  23. 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
  24. Oct 15, 2021
  25. Sep 21, 2021
  26. Sep 17, 2021
  27. 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
  28. 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
  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
  31. Jul 30, 2021
  32. Jul 27, 2021
  33. 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
  34. Jul 21, 2021
  35. Jul 15, 2021
Loading