overleaf/services/web/frontend/js/features/history
Domagoj Kriskovic 7e8e2b0585 Send origin metadata through docupdater and project-history when restoring files (#18721)
* add RestoreFileOrigin in overleaf-editor-core

* support source to be an object

* use sourceOrOrigin as param

* rename to originOrSource so the priority is more clear

* get timestamp from version

* fix test

* include version and min_count in getUpdatesFromHistory

* extractOriginOrSource util function

* fix RestoreManagerTests

GitOrigin-RevId: 0ace05a6ade2794c753a9d0bffb4f858ecc6899a
2024-06-18 08:04:34 +00:00
..
components Merge pull request #18690 from overleaf/ii-bs5-projects-welcome 2024-06-14 08:04:32 +00:00
context [web] Show confirmation modal when reverting a file (#18105) 2024-05-14 08:03:44 +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 Send origin metadata through docupdater and project-history when restoring files (#18721) 2024-06-18 08:04:34 +00:00
utils Merge pull request #17525 from overleaf/ae-upgrade-prettier 2024-03-26 09:04:05 +00:00