mirror of
https://github.com/dbeaver/cloudbeaver.git
synced 2026-09-24 16:04:36 +08:00
* dbeaver/pro#7614 adds first implementation of grid history action (has bugs) * some pr fixes * replace last instead of update method * adds history compression to cell edit * add add row history for undo/redo * adds history for delete row * adds duplicate row undo/redo * adds history for revert action * clears history inside edit clear action * refactors the undo/redo history to have more clean structure * cleanup * adds limits to history * uses data viewer undo/redo actions * cleanup for undo/redo actions + adds to the top of table icons * applies tooltips for the header table only * removes createEditorDataAccess (refactor) * removes getPrevCellValue (refactor) * bug fix: add row, change something, delete row, undo/redo in this history * adds more specific function naming * Revert "bug fix: add row, change something, delete row, undo/redo in this history" This reverts commit5f1799fe26. * adds batching history to the adding/deleting operations * refactors GridHistoryHandlers & GridEditAction API + fixes the bug with deleting added row * handling edge cases * cleanup * pr fixes * refactor: removes extra interfaces, uses addRow for duplication rows action, handlers cleanup * refactors the code to split editor changes to private and edits, history & action executions to public methods * Revert "refactors the code to split editor changes to private and edits, history & action executions to public methods" This reverts commit374201179a. * refactor: removes duplications of the code * cleanup * fixes menu bar item tooltip * fixes labels * removes get action info * hides undo/redo for readonly table action --------- Co-authored-by: Evgenia <139753579+EvgeniaBzzz@users.noreply.github.com>