Skip to content
Snippets Groups Projects
  • rhenck's avatar
    bbffab06
    [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
    History
    [editor] Add undo function
    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.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.