️(frontend) improve UploadFile process

We notices that `context.getChanges` was very
greedy, on a large document with multiple
users collaborating, it caused performance issues.
We change the way that we track a upload by
listening onUploadEnd event instead of tracking
all changes in the document.
When a doc opens, we check if there are any ongoing
uploads and resume them.
We fix as well a race condition that could happen
when multiple collaborators were on a document
during an upload.
This commit is contained in:
Anthony LC
2025-11-28 09:19:08 +01:00
parent f7d4e6810b
commit 9aeedd1d03
3 changed files with 100 additions and 74 deletions

View File

@@ -15,6 +15,7 @@ and this project adheres to
- ⚡️(sw) stop to cache external resources likes videos #1655
- 💥(frontend) upgrade to ui-kit v2
- ⚡️(frontend) improve perf on upload and table of contents #1662
### Fixed