overleaf/services/project-history/test
Domagoj Kriskovic 1557338775 [project-history] fix convertToDiffUpdates when track delete is moved by previous op (#17681)
* [project-history] fix convertToDiffUpdates

* fix test

* preserve source ranges for applyRetain

* use sourceRanges for applyDelete

* use cursor difference for offset

* move statement to closer to original

* handle deletion before tracked delete

* Revert "handle deletion before tracked delete"

This reverts commit 6f2570f22473bd64516c166b29a34639ec701230.

* using resultCursor and sourceCursor

* refactor, use scanCursor

* skip track delete properly

* prettier

* remove .sort() in applyRetain

* small test fixes

GitOrigin-RevId: 94755c219c90d6fedcdc64284d71137cf56d2442
2024-04-10 08:04:03 +00:00
..
acceptance Merge pull request #17162 from overleaf/em-handle-comments 2024-02-21 09:03:27 +00:00
unit/js [project-history] fix convertToDiffUpdates when track delete is moved by previous op (#17681) 2024-04-10 08:04:03 +00:00
setup.js Merge pull request #11790 from overleaf/em-promisify-redis-manager 2023-02-17 09:04:08 +00:00