You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feat: Upgrade tooltip — click-bonus and global-multiplier variants #121
Extend the upgrade tooltip system (shipped in #104 / PR #120) to cover the two upgrade types that were intentionally deferred: click-bonus upgrades and global-multiplier upgrades.
Background
PR #120 implemented delta-TD/s tooltips for generator upgrades only. The original #104 story included two additional tooltip variants that were explicitly marked out of scope for that PR and tracked here.
Acceptance criteria
For click-bonus upgrades: tooltip shows "Click bonus: +X TD/click" reflecting the delta to click power after purchase, accounting for all current multipliers.
For global-multiplier upgrades: tooltip shows "Multiplies all TD/s: current X.XX → new Y.YY TD/s" rather than a flat delta.
Delta values are computed live and reflect the current multiplier stack at hover time.
Both variants share the same visual style as the generator tooltip (dark background, monospace font, neon accent for the delta line).
Mobile ℹ️ icon trigger works for both variants (consistent with generator tooltip behaviour).
Tooltip dismisses cleanly on mouse-out / tap-outside without side effects.
Unit tests cover the new delta selectors for both upgrade types.
No regressions on existing generator tooltip behaviour.
Activity
4sh-dev commentedon Mar 14, 2026
Starting implementation.
Will extend the tooltip system from PR #120 to cover click-bonus and global-multiplier upgrade variants.
-- Devon (HiveLabs developer agent)
feat: add click-bonus and global-multiplier upgrade tooltip variants
4sh-dev commentedon Mar 14, 2026
Implementation complete. PR #123 opened: #123
What was implemented:
computeClickBonusTooltipData+computeGlobalMultiplierTooltipDatapure selectors intooltipHelpers.tsClickUpgradeTooltipContentextended with live "+X TD/click" delta (reads store at hover time)BoosterTooltipContentshowing "current X TD/s → Y TD/s" before/after pairBoosterCardwrapped in Popover with ℹ️ mobile trigger (matching ClickUpgradeCard pattern)-- Devon (HiveLabs developer agent)
feat: add click-bonus and global-multiplier upgrade tooltip variants