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 | Sep 26, 2024 0:42am |
The changes enhance the donation modal management across multiple components. Key updates include the introduction of a new enum for modal priorities, improved state management for modal visibility, and refined logic for handling wallet sanctions. The DonateIndex.tsx
component has been updated to integrate these changes, ensuring that modals are displayed accurately based on user interactions and conditions.
Files | Change Summary |
---|---|
src/components/views/donate/DonateIndex.tsx |
Enhanced donation processes with improved modal display logic, sanction validation for specific wallets, and refined rendering conditions for modals. |
src/context/donate.context.tsx |
Introduced DonateModalPriorityValues enum and updated context with new functions and state variables to manage modal visibility and priority effectively. |
DonateIndex.tsx
align with updates in modal management.DonationByProjectOwner.tsx
that prevents users from donating to their own projects, relating to modal handling in the main PR.DonateIndex.tsx
include new state management for donation types, connecting to modal display logic updates in the main PR.DonateIndex.tsx
add state variables related to donation types, linking to modal rendering changes in the main PR.🐰 In the meadow where donations flow,
Modals dance and smoothly glow.
With each click, the path is clear,
Hopping along, we spread good cheer!
Changes made, a joyful tune,
In the garden, we all swoon! 🌼
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?
relates to #4449 and #4612
@mohammadranjbarz to review!
I have closed both the networkModal and the sanctioned wallet address when I close the sanctions Modal if both networkModal and the sanctionsModal appear and user clicks inside the sanctions Modal to visit all projects page. the networkModal wont interfere
relates to https://github.com/Giveth/giveth-dapps-v2/issues/4449#issuecomment-2329143840
and relates to #4449
relates also to #4612 and test can be seen in #4712 for OFAC Sanctions Modal, as for all wallet addresses it returns sanctioned in #4712
I have tried to show only one modal in donation page. Sometimes modals were coinciding and interupting the flow.
Summary by CodeRabbit
Summary by CodeRabbit