overleaf/services/project-history/test/unit/js
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
..
BlobManager Avoid duplicating a math-closing dollar sign (#11227) 2023-01-16 08:41:42 +00:00
ChunkTranslator [project-history] fix convertToDiffUpdates when track delete is moved by previous op (#17681) 2024-04-10 08:04:03 +00:00
DiffGenerator Avoid duplicating a math-closing dollar sign (#11227) 2023-01-16 08:41:42 +00:00
DiffManager Avoid duplicating a math-closing dollar sign (#11227) 2023-01-16 08:41:42 +00:00
DocumentUpdaterManager Avoid duplicating a math-closing dollar sign (#11227) 2023-01-16 08:41:42 +00:00
ErrorRecorder Avoid duplicating a math-closing dollar sign (#11227) 2023-01-16 08:41:42 +00:00
HistoryStoreManager Merge pull request #16859 from overleaf/jpa-sharelatex-cleanup 2024-02-09 09:04:11 +00:00
HttpController Merge pull request #16545 from overleaf/dp-project-owner-delete-labels 2024-01-23 09:03:08 +00:00
LabelsManager Merge pull request #16545 from overleaf/dp-project-owner-delete-labels 2024-01-23 09:03:08 +00:00
LockManager Merge pull request #12210 from overleaf/em-camel-case-project-history 2023-03-21 09:05:13 +00:00
OperationsCompressor [overleaf-editor-core] Restructure TextOperation hierachy (#16582) 2024-01-24 09:04:18 +00:00
RedisManager Merge pull request #11952 from overleaf/em-batch-redis-reads 2023-02-28 09:04:23 +00:00
RetryManager Merge pull request #16218 from overleaf/csh-issue-11625-mongo-ug-5-project-history 2023-12-18 09:04:07 +00:00
SnapshotManager Merge pull request #17782 from overleaf/mj-project-history-merge-test-fix 2024-04-08 08:04:21 +00:00
SummarizedUpdatesManager Avoid duplicating a math-closing dollar sign (#11227) 2023-01-16 08:41:42 +00:00
SyncManager Merge pull request #16218 from overleaf/csh-issue-11625-mongo-ug-5-project-history 2023-12-18 09:04:07 +00:00
UpdateCompressor Merge pull request #17662 from overleaf/em-handle-tcs-history 2024-03-28 09:04:57 +00:00
UpdatesManager Merge pull request #17162 from overleaf/em-handle-comments 2024-02-21 09:03:27 +00:00
UpdateTranslator Merge pull request #17667 from overleaf/em-history-comment-ids 2024-04-03 08:04:02 +00:00
Versions Avoid duplicating a math-closing dollar sign (#11227) 2023-01-16 08:41:42 +00:00
WebApiManager Merge pull request #16859 from overleaf/jpa-sharelatex-cleanup 2024-02-09 09:04:11 +00:00