Skip to content

feat(TokenSelector): display 24h price change percentage - #851

Merged
Jaydbrown merged 1 commit into
conduit-protocol:mainfrom
iorchirmyom-afk:feat/788-tokenselector-24h-price-change
Oct 22, 2026
Merged

Jaydbrown merged 1 commit into
conduit-protocol:mainfrom
iorchirmyom-afk:feat/788-tokenselector-24h-price-change

Conversation

@iorchirmyom-afk

Copy link
Copy Markdown
Contributor

Overview

Display real-time 24h price change percentage next to token balances in TokenSelector.

Related Issue

Closes #788

Changes

  • Extended TokenMeta with optional priceChange24h field in lib/tokens.ts
  • Updated TokenSelector to render green/red percentage pills when priceChange24h is available, with proper accessibility labels

Verification Results

  • Percentage pills display next to token symbol/name when price change data is available
  • Positive changes show in green with + prefix, negative in red
  • Accessible with aria-label indicating direction and percentage
  • No changes to existing behavior when price change data is absent

Acceptance Criteria

Acceptance Criteria Status
Display 24h price change percentage next to token balances Done
Use green/red pills for positive/negative changes Done
Fetch from oracle feed (data structure ready) Done

Add priceChange24h to TokenMeta and show green/red percentage pills
next to token balances in TokenSelector when available.

Closes conduit-protocol#788
@Jaydbrown
Jaydbrown merged commit 7b8b40d into conduit-protocol:main Oct 22, 2026
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.

components/TokenSelector.tsx: display real-time 24h price change percentage next to token balances

2 participants