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

Fixkamo-internal
Name
lúc 17:27 11 tháng 3, 2026 UTC
Tác giả
kamo
Cam kết
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.

Mọi thay đổi

Như những gì anh thấy vận chuyển?

Mỗi một bản cập nhật này đều được tự động cập nhật trong không gian làm việc của bạn. Bắt đầu tự do và xem nó lớn lên tuần này qua tuần khác.

Bắt đầu tự do mãi mãiXem truy cập