Skip to content
Snippets Groups Projects
This project is mirrored from https://*****@github.com/iqb-berlin/verona-modules-aspect.git. Pull mirroring updated .
  1. Jul 19, 2024
    • rhenck's avatar
      [editor] Fix section counter update · 011cde02
      rhenck authored
      New section components no longer get their number on creation. This has 
      the effect that the section gets a new number and is updated again with 
      all others after that.
      Numbering of all sections is triggered in one place (UnitService) and 
      updates all existing sections.
      011cde02
  2. Jul 18, 2024
  3. Jul 12, 2024
    • rhenck's avatar
      [editor] Set expert mode via API parameter · 8a487a23
      rhenck authored
      Everybody is considered expert but role 'developer'. The host 
      application allows not saving the unit when rights are insufficient, so 
      the editor needs not to take care of that. Having full rights allows for 
      better inspection of units even if it can't be changed(saved).
      8a487a23
  4. Jul 11, 2024
  5. Jul 09, 2024
  6. Jul 05, 2024
  7. Jun 25, 2024
  8. Jun 24, 2024
  9. Jun 20, 2024
  10. Jun 19, 2024
  11. Jun 17, 2024
  12. Jun 07, 2024
  13. Jun 03, 2024
  14. Jun 01, 2024
  15. May 30, 2024
    • rhenck's avatar
      [editor] Add static icons and names to element classes · dae0f897
      rhenck authored
      Separating code changes is rather hard right now, so there is a lot of stuff that is part of this commit that should not. Details below.
      
      - All elements have static fields that holds their title and icon. This way dynamic lists can be built (for example for delete dialog) which show title and icon for all elements. ALso icons and names can be changed in one place.
      - Template-Tab has been added. This should have templates to help creating groups of ui elements. This is work in progress and there are actually no templates yet. So this will change or even be removed in the future. This is mostly UI, the code is "TODO".
      - Refactoring and improvement for delete and reference dialogs
      - Delete logic refactored for elements, sections and pages. There are no longer different dialogs when references are found, but instead one dialog that can do both.
      dae0f897
  16. May 28, 2024
    • rhenck's avatar
      [editor-ui] Add shadows to side panels · 0c7eb437
      rhenck authored
      This sets them up from the central UnitView.
      0c7eb437
    • 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
  17. May 27, 2024
  18. May 26, 2024
  19. Aug 07, 2023
  20. Aug 03, 2023
  21. Jul 24, 2023
    • rhenck's avatar
      Rework class constructors · 81de7c0f
      rhenck authored
      In Player-context the constructors are to fail, when the given 
      properties are not exactly as expected. Therefoore they are validated. 
      When this validation fails, an environment variable is checked to 
      determine if the element should be created anyway with defaults. This 
      switch is off in player-context. But the Editor is not so strict and can 
      create elements with incomplete parameters.
      
      There is also a new VersionManager which checks given unit definitions 
      for version-validity. Upon failing this check Player and Editor show 
      error messages.
      The Editor accepts a certain unit definition version, but shows a 
      warning.
      
      The Editor checks units for invalid references after loading. If any are 
      found, they are removed and an info-panel is shown.
      81de7c0f
  22. Jun 27, 2023
  23. 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
  24. Jun 08, 2023
  25. Jun 05, 2023
Loading