overleaf/services/web/frontend/js/ide
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
..
binary-files Merge pull request #15342 from overleaf/td-remove-file-tree-manager-in-react 2023-10-27 08:03:10 +00:00
chat
cobranding
colors
connection Merge pull request #18222 from overleaf/jpa-socket-io-mock 2024-05-09 08:05:14 +00:00
directives Remove unused Angular code from "main" and "ide" endpoints (#15868) 2023-12-06 09:04:45 +00:00
editor [web] support for reverting binary files (#18033) 2024-05-30 08:04:20 +00:00
file-tree Merge pull request #15129 from overleaf/mj-jpa-angular-parameters 2023-10-16 08:04:25 +00:00
file-view
history/util Remove history-related Angular code (#15932) 2023-11-29 09:04:17 +00:00
human-readable-logs Add citepalias and citetalias (#18272) 2024-05-17 08:04:20 +00:00
log-parser Remove latex-log-parser split test (#17999) 2024-04-23 08:05:16 +00:00
metadata Merge pull request #15129 from overleaf/mj-jpa-angular-parameters 2023-10-16 08:04:25 +00:00
online-users
permissions
references Merge pull request #15242 from overleaf/mf-index-all-references-after-bib-is-modified 2023-10-19 08:03:25 +00:00
review-panel Send operations to project-history when resolving/unresolving comments (#17540) 2024-04-10 08:04:08 +00:00
services Merge pull request #15129 from overleaf/mj-jpa-angular-parameters 2023-10-16 08:04:25 +00:00
toolbar Store editor selection on a per-user rather than per-project basis (#16246) 2023-12-19 09:04:31 +00:00
LoadingManager.js