Closed HrithikSampson closed 1 month ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
giveth-dapps-v2 | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Oct 15, 2024 7:00pm |
The changes in this pull request encompass significant modifications to GraphQL queries and fragments in src/apollo/gql/gqlProjects.ts
, particularly the removal and re-addition of the isGivbackEligible
field. Additionally, the configuration settings in src/config/production.tsx
have been updated to include a new super token, "Glo Dollar," and the BASE_ROUTE
has been altered. Furthermore, the src/configuration.ts
file reflects a logical inversion in determining the production environment. These updates reflect a restructuring of project data representation and configuration for blockchain networks.
File | Change Summary |
---|---|
src/apollo/gql/gqlProjects.ts |
- Removed and re-added isGivbackEligible from multiple fragments and queries. - Expanded queries to include new fields such as categories , organization , and addresses . - Adjusted qfRounds to include eligibleNetworks and minimumValidUsdValue . - Added fields like description , socialMedia , and totalProjectUpdates to FETCH_PROJECT_BY_SLUG_SINGLE_PROJECT . - Updated ADD_RECIPIENT_ADDRESS_TO_PROJECT mutation to include reviewStatus and slugHistory . |
src/config/production.tsx |
- Updated BASE_ROUTE to use 'https://mainnet.serve.giveth.io' . - Added new super token "Glo Dollar" with properties including id , name , symbol , and coingeckoId . |
src/configuration.ts |
- Inverted logic for isProduction constant to check if NEXT_PUBLIC_ENV is not equal to 'production'. |
next-env.d.ts |
- Updated comment to reflect the new URL for Next.js TypeScript documentation. |
src/components/views/donate/OneTime/SelectTokenModal/SelectTokenModal.tsx |
- Updated import to use fetchEVMTokenBalances for fetching token balances. |
src/components/views/donate/Recurring/SelectTokenModal/SelectTokenModal.tsx |
- Enhanced balance fetching logic to use fetchEVMTokenBalances for concurrent fetching of multiple token balances. |
src/services/token.ts |
- Renamed fetchTokenBalances to fetchEVMTokenBalances and updated its signature for better type handling. |
src/apollo/gql/gqlProjects.ts
, as both involve handling project data and token selection, enhancing user interaction with project-related functionalities.gqlProjects.ts
, which is directly related to the changes made in the main PR that also affects the same file and involves project data handling.In the code where tokens play,
A new friend joins the fray today!
Glo Dollar hops with joy and cheer,
A fresh route shines, the path is clear.
With every change, our project grows,
A rabbit's dance, as progress flows! 🐰✨
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
this looks like it is removing some important data from the project data such as the isGivbacksEligible
field @mateodaza could you review this PR when you have some time?
@HrithikSampson can we close this branch?
Hi @divine-comedian , I have updated it to not force production on staging should I merge this to staging or directly to production since it cannot be tested on staging
@HrithikSampson since this token doesn't exist on staging we should make sure this code does not go to production - I think this PR ca be closed.
relates to https://github.com/Giveth/impact-graph/issues/1810
Summary by CodeRabbit
New Features
Bug Fixes