Lukas May
243f24a397
fix: Eliminate content page flickering from layout shifts and double invalidation
- Reserve fixed height for "Saving..." indicator instead of conditionally
rendering it, preventing layout shift on every auto-save cycle
- Remove getPage from updatePage mutation cache invalidation — useAutoSave
already handles optimistic updates, and SSE events cover external changes.
This eliminates double-invalidation (mutation + SSE) refetch storms.
- Memoize TiptapEditor extensions array to avoid recreating extensions and
pageLinkDeletionDetector on every render
- Memoize useLiveUpdates rules array in initiative detail page