mirror of
https://github.com/outline/outline.git
synced 2026-11-29 00:29:36 +03:00
* perf: Preload editor chunks when creating a new document The document scene, multiplayer editor, and editor itself each sit behind a separate lazy boundary, so their chunks were downloaded one after the other and only once the create request had resolved. Start them in parallel on intent instead. * perf: Don't wait for collaborative sync to edit an empty document A newly created document has no cached content, so the read-only cache editor shown while syncing renders identically to the live one – yet the editable document stayed hidden until the websocket had connected, authenticated and loaded. Only show the cache when there is content. * fix: Right sidebar flashing open when a document loads A history panel left in the persisted UI state is cleared in an effect, by which point the sidebar has already rendered open for a frame and has to animate away again. Derive the open state from the panel that will actually be displayed instead.