feat: add VIP feature#5671
Conversation
🦋 Changeset detectedLatest commit: 4bd7853 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Greptile SummaryThis PR adds a VIP feature to the Venus Protocol interface, showing a one-time promotional modal to users whose on-chain portfolio (supply + borrow) exceeds an $800K threshold, and surfacing a private Telegram group invite in the account panel. It also refactors the navbar's connect/account button area into a dedicated
Confidence Score: 5/5Safe to merge — no functional regressions or incorrect behavior found across the new VIP feature, the modal refactor, or the navbar restructuring. The VIP threshold logic (supply + borrow) is intentional and confirmed by the test suite. The Safe Wallet disconnect guard is correctly restored in AccountModal. The BodyBackdrop portal approach is sound and the MUI modal's pointer-events-none overlay correctly routes clicks. All changed components have corresponding tests and snapshot updates are consistent with the new behavior. No files require special attention. Important Files Changed
Reviews (3): Last reviewed commit: "feat: add VIP feature" | Re-trigger Greptile |
061fec6 to
92b4e42
Compare
cuzz-venus
left a comment
There was a problem hiding this comment.
All looks good to me with approved 👍 , only left a tiny suggestion on my side
| import type { Tab } from 'hooks/useTabs'; | ||
| import { useTranslation } from 'libs/translations'; | ||
| import { useAccountAddress } from 'libs/wallet'; | ||
| import { AccountOverview } from '../../containers/AccountOverview'; |
There was a problem hiding this comment.
can use containers/AccountOverview instead
Jira ticket(s)
VPD-1466
Changes