Thanks for sharing. Might be a helpful snippet for someone who only wants the title on certain tiles to be truncated or not. There’s a dashboard setting (hidden behind the advanced option) to enable or disable truncation of titles across all tiles in the dashboard:
Since you mentioned Hero Attribute Tiles, there’s a setting for the hero attribute tile to wrap or truncate the content on those too.