Closed Meriem-BM closed 6 days 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 | Jun 25, 2024 5:00pm |
The update primarily focuses on enhancing donation functionalities by encouraging donations across multiple blockchain networks. This includes modifying messages in language files to highlight the benefit of multi-chain compatibility, code refactoring to replace the getEstimatedMatchingRange
function with formatDonation
, and updating visual and styling elements. Additionally, new sponsors have been introduced and version information is incremented in the package configuration.
File Path | Change Summary |
---|---|
lang/ca.json, lang/en.json, lang/es.json | Updated messages to emphasize the benefit of accepting donations on multiple chains. |
package.json | Updated version from "2.28.0" to "2.28.1". |
src/helpers/qf.ts | Commented out formatDonation import and getEstimatedMatchingRange function. |
src/components/.../ProjectCard.tsx, ...QFSection.tsx, ...EstimatedMatchingToast.tsx | Replaced getEstimatedMatchingRange with formatDonation and adjusted related logic. |
src/components/views/projects/qfBanner/ActiveQFProjectsBanner.tsx | Added new sponsor '@publicNouns' to the sponsors array. |
src/components/views/projects/qfBanner/common.ts | Added styling rule for the third child element in MiddleSponsors to set margin-top . |
In the world of code both tried and true,
Donations now on chains not just a few.
With tweaks and styles crisp and clear,
Future gifts from friends are near.
Version bumped, our path refined,
For project support of every kind.
🌐✨
src/components/views/donate/EstimatedMatchingToast.tsx (2)
`24-24`: **Updated import to use `formatDonation`.** The change from `getEstimatedMatchingRange` to `formatDonation` is consistent with the PR's intent to standardize the formatting of donation amounts across components. --- `83-88`: **Refactored to use `formatDonation` for formatting estimated matching.** The integration of `formatDonation` in line 83 ensures that estimated matching values are formatted consistently with other monetary values in the application. This change enhances maintainability and readability.src/components/views/project/projectActionCard/QFSection.tsx (2)
`85-93`: **Refactored to use `formatDonation` for displaying total estimated matching.** This change simplifies the display logic for total estimated matching by using the `formatDonation` function, enhancing consistency and reducing redundancy in the codebase. --- Line range hint `121-135`: **Refactored to use `formatDonation` in `DonationMatch` component.** The use of `formatDonation` here ensures that donation amounts are formatted consistently throughout the application, adhering to the new standard set by replacing `getEstimatedMatchingRange`.src/components/project-card/ProjectCard.tsx (1)
Line range hint `238-253`: **Refactored to use `formatDonation` for displaying estimated matching values.** The integration of `formatDonation` in the `ProjectCard` component ensures consistent formatting of monetary values, improving the user's understanding of financial data related to the project.lang/en.json (1)
`1220-1220`: **Updated message for setting a custom Ethereum address** The updated message now emphasizes the advantage of accepting donations on multiple chains, which is likely to encourage more donations by expanding the potential donor base. This change aligns with the PR's objectives to enhance the functionality related to donation handling.
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?
Summary by CodeRabbit
New Features
Bug Fixes
Style
Chores