Skip to content

Remove percentage change from chart tooltips - #2134

Merged
MusabShakeel576 merged 1 commit into
masterfrom
claude/brave-wright-g1cwwj-master
Jun 9, 2026
Merged

Remove percentage change from chart tooltips#2134
MusabShakeel576 merged 1 commit into
masterfrom
claude/brave-wright-g1cwwj-master

Conversation

@MusabShakeel576

Copy link
Copy Markdown
Contributor

Cherry-picks the chart tooltip change from qa (#2130) onto master.

What changed

Removes the period-over-period percentage change indicator from the chart tooltips on the savings rate chart (savings page) and the token price chart (coins/[id] page). Tooltips now show only the value and the date.

  • components/ChartTooltip.tsx (web tooltip): removed the change-% block plus the now-unused isPriceChange prop, cn import, and selectedPriceChange selector read.
  • components/AreaChart.web.tsx: stopped passing isPriceChange.
  • components/AreaChart.tsx (native tooltip): removed the change-% block and the dead priceChange state/computation.

The setSelectedPriceChange store updates are preserved so the coins page header's price-change indicator (a separate element) continues to work.

Cherry-picked cleanly from commit 66f433e (merged to qa via #2130).

https://claude.ai/code/session_01KE3gjUzyjkEN8ntFCkDTNC


Generated by Claude Code

The savings rate chart (savings page) and token price chart (coins/[id]
page) tooltips showed a period-over-period percentage change next to the
date. Remove that change indicator from both the web (recharts
ChartTooltip) and native (AreaChart) tooltips so they only display the
value and the date.

The selectedPriceChange store update is kept so the coin detail header's
price-change indicator continues to work.

https://claude.ai/code/session_01KE3gjUzyjkEN8ntFCkDTNC
@vercel

vercel Bot commented Jun 9, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

2 Skipped Deployments
Project Deployment Actions Updated (UTC)
solid-app Ignored Ignored Jun 9, 2026 12:43pm
solid-app-staging Ignored Ignored Jun 9, 2026 12:43pm

Request Review

@MusabShakeel576
MusabShakeel576 merged commit 6f56473 into master Jun 9, 2026
3 of 5 checks passed
@MusabShakeel576
MusabShakeel576 deleted the claude/brave-wright-g1cwwj-master branch June 9, 2026 12:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants