overleaf/services/web/frontend/js/features/ide-react
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 #18323 from overleaf/mj-editor-loss-debug 2024-05-16 08:05:26 +00:00
connection Ensure that onTimeoutHandler is called when there are unacknowledged edits (#18340) 2024-05-17 08:04:37 +00:00
context [web] support for reverting binary files (#18033) 2024-05-30 08:04:20 +00:00
editor Merge pull request #17128 from overleaf/em-filter-out-comments 2024-02-19 09:04:00 +00:00
hooks Merge pull request #18323 from overleaf/mj-editor-loss-debug 2024-05-16 08:05:26 +00:00
scope-adapters Merge pull request #16493 from overleaf/ii-rp-mini-page-load 2024-01-17 09:03:17 +00:00
scope-event-emitter Fix React scope event listener (#16434) 2024-01-10 09:03:05 +00:00
scope-value-store [ide-react] Preserve scope value update watchers on watcher add (#16729) 2024-01-29 09:03:20 +00:00
types [ide-react] Improve file tree and outline components in the editor sidebar (#16225) 2023-12-18 09:03:53 +00:00
util [ide-react] Improve file tree and outline components in the editor sidebar (#16225) 2023-12-18 09:03:53 +00:00
create-ide-event-emitter.ts Replace strict-event-emitter with EventTarget (#16374) 2024-01-08 09:05:22 +00:00