Mount SoftphoneProvider above ToolDock so tool windows can read it

Fixkamo-internal
Ya
26 Aprili 2026, 22:14 UTC
Mwandishi
kamo
Ahadi ya
14c2e06

Opening the Softphone popup crashed the page with "This page couldn't load" because tool windows mount inside ToolDock, which lives in ToolProviders — a SIBLING of AuthenticatedToolWrapper. The SoftphoneProvider was nested inside AuthenticatedToolWrapper, so SoftphonePanel was rendered outside the context, and useSoftphone() threw "must be used inside <SoftphoneProvider>". Move SoftphoneProvider up into ToolProviders, wrapping both `children` (the page tree + AuthenticatedToolWrapper) and `<ToolDock />`. The session hook gracefully no-ops when the user isn't authenticated yet (API calls return 401 and the SDK init bails), so unconditional mounting is safe.

Mabadiliko yote

Je, unaona nini kuhusu usafiri?

Kila moja ya hizi updates ardhi katika nafasi yako ya kazi moja kwa moja. Kuanza bure na kuangalia kukua wiki baada ya wiki.

Kuwa Huru MileleMtazamo wa bei