overleaf/services/web/frontend/js/features/history
Domagoj Kriskovic 218a4538c1 [web] support for reverting binary files (#18033)
* [web] revert binary file

* use addEntityWithName if file was deleted

* todo comments

* only show Revert file in ui even if deleted

* use _revertBinaryFile function

* emit new ids when reverting

* format:fix

* await emitToRoom calls

* use EditorController.upsertFile

* remove _revertBinaryFile function

* binary file check

* mock importFile method in tests

* move findElementByPath stub

* debug ci error

* resolve with empty object as file

* fix tests

* remove await before expect()

* format:fix

* test when binary file exists and when it does not

* use "file-revert" for source

* [web] revert existing file without ranges support (#18107)

* [web] revert existing file without ranges support

* ignore document_updated_externally if file-revert

* fix test

GitOrigin-RevId: a5e0c83a7635bc7d934dec9debe916bdd4beb51e
2024-05-30 08:04:20 +00:00
..
components Merge pull request #18338 from overleaf/ii-bs5-split-badges-and-tags 2024-05-28 08:04:05 +00:00
context [web] Show confirmation modal when reverting a file (#18105) 2024-05-14 08:03:44 +00:00
controllers Merge pull request #15269 from overleaf/jpa-delete-dead-history-code 2023-10-18 08:04:01 +00:00
extensions Use EditorView.theme for the history diff viewer styles (#17156) 2024-02-22 09:04:38 +00:00
hooks Fix last edit date for labels in history panel (#16113) 2023-12-06 09:04:04 +00:00
services [web] support for reverting binary files (#18033) 2024-05-30 08:04:20 +00:00
utils Merge pull request #17525 from overleaf/ae-upgrade-prettier 2024-03-26 09:04:05 +00:00