-
Notifications
You must be signed in to change notification settings - Fork 156
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
v7.7.0 #2780
Conversation
* Added nav header * Added more components * Add table style * Added the profile card * Updated the layout * Added affiliate profile and mock data for table * Added background to profile * Add create referral code modal * Add nft preview modal * Update the nft preview modal style * Added referral mint modal * Add mock user flow * Added loading to mock minting * Fixed the icon position and pagination arrow * Added nft preview and animation file * Enabled the lazy loading for the gif * Renamed the type and refactor the component * Show the referral tier dynamically under trader tab * Fixed the tier number * Fixed the progress bar * Added level up button to increase the tier * Fixed the levelup label * Support nft level up * Fixed the redux state migration issue * Fixed the desktop design issue * Fixed the table header copy * Removed the level up and made the trader nft separately * Updated the mobile layout style * Update the mobile table layout on referral UI * Fixed the nft title * Updated the redux state * Add copy check icon * Fixed the referral modal on mobile * Added copy to clipboard function * Add BoostNFT contract * Added mint and create code to sdk * Add wallet connect before minting * Added ref code into url * Update the redux state * Clean the redux state and UI * Fetched the referral NFT tier by code only * Show nft not found for the user who hasn't minted nft; update the referral links to the footer * Fixed the mint completed UI * Showed the minted NFT if the user already minted * Update the boost nft contract address * Update en.json Update referral program copy * Rename the file and update the copied text * Fixed the condition check of the port * Added graph query * Corrected the devnet setup in env * Cleaned the mock data in sdk * Updated the UI and graph query * Minor design changes * Added links to button * Added self referred check * Added loading status of the code creation * Fixed the table on tablet * Fixed the Affiliate Profile on tablet * Add the background image back to affiliate profile * Fixed the issue reported by Ralf * Added env to hide affiliate page * Fixed the border of the nft preview * Added the query to get the referral volume and count * Update the opensea link and override the deployment hostname to prod * Updated the dynamic metadata * Test the dynamic metadata * Try to update the metadata directly * Add metadata dynamically and cleaned the code * Try server side render on page component * Remove the metadata from app level * Move the metadata to page level * Update the static metadata to the market page * Remove the title and description from app level * Reverted all the changes of the metadata * Using the current epoch in the rewards distribution history as a placeholder * Clean the sdk code * Clean the sdk and redux code * Clean UI code * Clean the inline css * Clean the modal states and incline css; update the subgraph url * Reverted the graph url * Updated the graph endpoint to satsuma * Revised the code according to Adam's comments * Fixed the crash and refactored the progress bar * Update the error message and add button logic to make UX more smooth * Added connect wallet and switch to optimism to the referral page * Add GridLayoutStyle to table components * Updated the import * Updated the state migration; Removed the media query of the custom styles from TableBodyRows; Added pagination logic to trader's volume query; * Updated the boost rate of different tiers * Updated the migrations * Updated the prod boostNFT contract * Updated the opensea link --------- Co-authored-by: BurtRock <[email protected]>
* Use proxy for pyth price history * Home page - reduce markets polling and reduce num of market cards shown * chore: revert DEFAULT_PYTH_TV_ENDPOINT --------- Co-authored-by: platschi <[email protected]>
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 3 to 4. - [Release notes](https://github.com/codecov/codecov-action/releases) - [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md) - [Commits](codecov/codecov-action@v3...v4) --- updated-dependencies: - dependency-name: codecov/codecov-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Codecov Report
@@ Coverage Diff @@
## main #2780 +/- ##
==========================================
- Coverage 52.20% 52.18% -0.02%
==========================================
Files 392 416 +24
Lines 12561 13083 +522
Branches 2881 2767 -114
==========================================
+ Hits 6558 6828 +270
- Misses 5772 6229 +457
+ Partials 231 26 -205
... and 65 files with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
if (router.isReady && routerReferralCode) { | ||
dispatch(fetchUnmintedBoostNftForCode(routerReferralCode)) | ||
} | ||
}, [dispatch, router.isReady, routerReferralCode]) |
Check warning
Code scanning / CodeQL
Client-side cross-site scripting (experimental) Medium Experimental
a user-provided value
|
||
const handleMintBoostNft = useCallback(() => { | ||
dispatch(mintBoostNft(referralCode)) | ||
}, [dispatch, referralCode]) |
Check warning
Code scanning / CodeQL
Client-side cross-site scripting (experimental) Medium Experimental
a user-provided value
(Experimental) This may be a cross-site scripting vulnerability due to a user-provided value. Identified using machine learning.
if (!referralCode) return null | ||
if (referralCode.length < 13) return referralCode | ||
return truncateAddress(referralCode) | ||
}, [referralCode]) |
Check warning
Code scanning / CodeQL
Client-side cross-site scripting (experimental) Medium Experimental
a user-provided value
(Experimental) This may be a cross-site scripting vulnerability due to a user-provided value. Identified using machine learning.
Description
PR to release referral program soft launch, two new markets, TV chart enhancements
Related issue
Motivation and Context
How Has This Been Tested?
Screenshots (if appropriate):