Skip to content

(test-only) prod data incentives#2403

Draft
qwinndev wants to merge 132 commits into
releasefrom
pd-incentives
Draft

(test-only) prod data incentives#2403
qwinndev wants to merge 132 commits into
releasefrom
pd-incentives

Conversation

@qwinndev

@qwinndev qwinndev commented Apr 19, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Incentives deployment with prod configs based on last 3 months blockchain data

qwinndev added 30 commits April 8, 2026 19:20
Add tier badge icons (apex, certified, legendary, ranked, veteran) and
feature icons (boost, discounts, epoch, multiplier, points, staking).
Add types, constants, and SWR hooks for the incentive points system:
config fetching, account status, dashboard data, rewards history,
leaderboard, and personalized banner computation. Update subsquid
indexer URLs to incentive-enabled endpoints.
…omponent

Extract the animated gradient "New" badge from SupportChatNavItem into
a reusable NavItem.scss, rename CSS classes from support-chat-* to nav-*,
and simplify SupportChatNavItem to use the new showNewBadge prop.
Add /points route with three tabs: Dashboard (multiplier progress, tier
cards, how-it-works), Rewards History (per-epoch table with pagination),
and Leaderboard (time filters, address search, sorting). Includes sidebar
rewards widget with claim modal and epoch countdown. Add localStorage
keys and leaderboard sorter context.
Show a "Points" link in the side navigation when incentives are enabled,
with an animated gradient "New" badge that dismisses on first click.
Surface the user's current incentive multiplier as a green badge next
to their address in both multichain/non-multichain dropdowns, and add
a PointsSection to the account modal linking to /points.
Add a dismissible personalized promo banner on the trade page driving
traffic to /points, and a multiplier info row at the bottom of the
trade submission form.
- Fix points page tier cards, levels, and main data section per Figma designs
- Update AdvancedDisplayRows and PointsRow in TradeBox
- Add multiplier solid icon asset
- Clean up unused imports and incentive types
- Add custom Tailwind config entries for points UI
…namic config

- Implement Claim and Claim+Stake flows via ClaimHandler/RewardRouter contracts
- Add "Incentivized Markets" filter tab with multiplier badge in chart selector
- Replace hardcoded multiplier caps, epoch durations, and boost descriptions with API-driven values
- Rework manual allocation detection using pre-program rewards history entries
- Add estimated rewards, total earned rewards, and live epoch countdown to sidebar
- Show dynamic "stake X GMX more for Y boost" in account modal
- Simplify rewards history table columns with locale-aware epoch formatting
- Extract epoch timing, incentives text, and epoch label utilities with tests
- Update FAQ copy from "weekly" to "each epoch" with dynamic values
- Auto-dismiss promo banner on link click
- Update all locale files with new translation strings
Resolve conflicts:
- indexers.ts: keep test subsquid URLs for incentive-points development
- locale files: keep translations from both branches
Each progress section in the active staking tier card now shows a
tooltip on hover with the tier name, multiplier, and staked/threshold.
qwinndev added 23 commits May 7, 2026 12:05
Backend's rank field reflects the default ordering, which can disagree
with the active sort and cause the user to appear both pinned and inline.
Check page data directly instead of relying on rank math.
@github-actions

Copy link
Copy Markdown

Playwright Component Test Report

All tests passed.

View Report

Commit 16fbae9

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.

1 participant