Move ToolDock above auth gate to prevent tool window wipe on navigation

Fixkamo-internal
Spegnimento
11 marzo 2026 alle ore 17:27 UTC
Autore
kamo
Impegno
18dbcc4

PresenceWrapper switches its component tree structure when auth resolves (Fragment > children → ChatWebSocketProvider > PresenceProvider > children). This unmounts/remounts children including AuthenticatedToolWrapper, which resets hasEverAuthRef and briefly returns null, unmounting ToolDock and destroying all ChatTool/SoftphoneTool instances. Fix: render ToolDock directly inside ToolWindowsProvider (in ToolProviders), above PresenceWrapper. ToolDock reads windows from context (which never resets), so tool component instances now outlive any auth-state tree switches and all page navigations.

Tutte le modifiche

Come quello che vedi la spedizione?

Ognuno di questi aggiornamenti atterra automaticamente nello spazio di lavoro. Inizia gratis e guardalo crescere settimana dopo settimana.

Inizia gratis per sempreVisualizza il prezzo