Skip to content

feat: add fee tier popover to perp trading panel#10281

Draft
rayston92 wants to merge 1 commit intoxfrom
perp-fees
Draft

feat: add fee tier popover to perp trading panel#10281
rayston92 wants to merge 1 commit intoxfrom
perp-fees

Conversation

@rayston92
Copy link
Copy Markdown
Collaborator

@rayston92 rayston92 commented Feb 17, 2026

Summary

  • Add a "Fee Tier" popover below trading buttons in the perp order panel
  • Your Fees tab: shows Builder Fee (OneKey: 0%), Hyperliquid Taker/Maker fees with staking discount, total fees, and Fee Tier / Staking Tier badges
  • Compare tab: 7-wallet comparison (OneKey, Dreamcash, Phantom, Infinex, Liquid, Rainbow, MetaMask) with icons, brand-color progress bars, and "Overall Best" badge on OneKey
  • Demo hardcoded data (Fee Tier 3 / Gold Staking) for now, to be replaced by Hyperliquid userFees API later

Test plan

  • Open Perp trading panel on web, verify "% Fee Tier" button appears below trading buttons (left-aligned)
  • Click to open popover — should open upward, not overflow screen
  • Verify "Your Fees" tab shows correct fee breakdown and tier badges
  • Switch to "Compare" tab, verify wallet list with progress bars and "Overall Best" badge on OneKey
  • Test on mobile — popover should render as bottom sheet

🤖 Generated with Claude Code


Open with Devin

Add a "Fee Tier" popover below the trading buttons in the perp order
panel, showing fee breakdown and competitive wallet comparison.

- Your Fees tab: Builder Fee, Hyperliquid Taker/Maker fees with
  staking discount, total fees, and tier/staking badges
- Compare tab: 7-wallet comparison with icons, progress bars in
  brand colors, and "Overall Best" badge on OneKey
- Popover opens upward to avoid screen overflow
- Demo hardcoded data (Fee Tier 3 / Gold Staking) for now,
  to be replaced by Hyperliquid userFees API later
Copy link
Copy Markdown
Contributor

@devin-ai-integration devin-ai-integration Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no potential bugs to report.

View in Devin Review to see 5 additional findings.

Open in Devin Review

@revan-zhang
Copy link
Copy Markdown
Contributor

revan-zhang commented Feb 17, 2026

Snyk checks have passed. No issues have been found so far.

Status Scanner Critical High Medium Low Total (0)
Open Source Security 0 0 0 0 0 issues
Licenses 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

@originalix originalix marked this pull request as draft February 24, 2026 06:10
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