* fix: Only warn about unsynced changes when navigating to a different document
* fix: Do not prompt about uploading images when staying on the same document
* fix: Do not report edits before the first sync as unsynced when stored locally
* fix: Treat opening a revision as leaving the document
* fix: Warn before leaving a document with unsynced edits
* refactor: Move unsynced change tracking into CollaborationProvider
* refactor: Move collaboration event types next to CollaborationProvider
* fix: Pending changes stuck after the collaboration connection is restored
* chore: Log collaboration sync state changes in development
* fix: Report lost local persistence in the leave prompt
* fix: Stop local persistence when the initial read fails
* fix: Stop local persistence when a write aborts
* Remove test