getHoverActions(): return null when there are no actions
Created by: lguychard
Fixes #4940
Emitting an empty array instead of null
when no actions are contributed trips up codeintellify's unpinning logic, causing empty hovers to remain pinned.
Test plan:
- Unit tests verify that
null
is emitted when appropriate - Manually verified that hover overlay was unpinned by running through the scenario described in #4940