overleaf/services/web/frontend
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
..
fonts Merge pull request #17835 from overleaf/mf-fix-mono-font 2024-04-11 08:04:26 +00:00
js [web] support for reverting binary files (#18033) 2024-05-30 08:04:20 +00:00
macros Replace logger with console in frontend macro (#16816) 2024-01-30 16:49:46 +00:00
stories Merge pull request #18338 from overleaf/ii-bs5-split-badges-and-tags 2024-05-28 08:04:05 +00:00
stylesheets Merge pull request #18110 from overleaf/ds-sales-contact-form-redesign 2024-05-30 08:04:02 +00:00
extracted-translations.json Merge pull request #18175 from overleaf/jdt-new-bib-file-prompt 2024-05-27 10:23:41 +00:00
translations-loader.js