fix(pulse): token selector responsiveness and daily price change data#487
fix(pulse): token selector responsiveness and daily price change data#487
Conversation
- Refactored token selector in Buy and Sell components to use a flexible flexbox layout, resolving text overlap and width issues. - Fixed dailyPriceChange data mapping in Search.tsx to correctly handle both 'price_change_24h' and 'priceChange24h' properties. - Updated Buy.tsx to include price change data when pre-selecting tokens from URL.
WalkthroughThis PR refactors the Pulse token selector components' UI layouts and data sourcing. It converts fixed absolute-positioned layouts to flexible flex-based designs in Buy and Sell components, updates token price change data sourcing to derive from Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly related PRs
Suggested reviewers
Pre-merge checks and finishing touches❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: defaults Review profile: CHILL Plan: Pro 📒 Files selected for processing (3)
🧰 Additional context used🧠 Learnings (7)📓 Common learnings📚 Learning: 2025-09-09T12:40:15.629ZApplied to files:
📚 Learning: 2025-11-21T13:10:33.422ZApplied to files:
📚 Learning: 2025-12-11T12:40:09.964ZApplied to files:
📚 Learning: 2025-08-12T07:42:24.656ZApplied to files:
📚 Learning: 2025-03-28T09:22:22.712ZApplied to files:
📚 Learning: 2025-04-23T15:04:20.826ZApplied to files:
🧬 Code graph analysis (2)src/apps/pulse/components/Sell/Sell.tsx (1)
src/apps/pulse/components/Buy/Buy.tsx (1)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (4)
🔇 Additional comments (4)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Deploying pillarx-debug with
|
| Latest commit: |
9237fb4
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://e433c87f.pillarx-debug.pages.dev |
| Branch Preview URL: | https://feature-pulse-token-selector.pillarx-debug.pages.dev |
Deploying x with
|
| Latest commit: |
9237fb4
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://5fa768b3.x-e62.pages.dev |
| Branch Preview URL: | https://feature-pulse-token-selector.x-e62.pages.dev |
IAmKio
left a comment
There was a problem hiding this comment.
Can we sort out the unit tests / linting issues before we review
Description
How Has This Been Tested?
Screenshots (if appropriate):
Types of changes
Summary by CodeRabbit
Release Notes
Bug Fixes
UI/UX Improvements
✏️ Tip: You can customize this high-level summary in your review settings.