This diff introduces a function to calculate the size of the reaction tooltip. In order to build a tooltip, we need to first know the size, so this function will handles that for our new reaction tooltip.
Here is a screenshot of the reaction for context:
Depends on D8858