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 4, 2024 1:26pm |
The changes in this pull request modify the sorting logic of the sortedRounds
array in the QfRoundSelector
component. The sorting now considers both the isActive
status and the beginDate
to determine the order of rounds displayed. If two rounds share the same activity status, they are sorted by their start dates in descending order. Additionally, minor adjustments were made to the rendering logic of the TabItem
components within SwiperSlide
, simplifying the conditional rendering for the "Recurring Donations" label based on the selectedQF
state.
File Path | Change Summary |
---|---|
src/components/views/project/projectDonations/QfRoundSelector.tsx | Enhanced sorting logic for sortedRounds to include beginDate when isActive is the same; simplified rendering logic for "Recurring Donations" label. |
QfRoundSelector.tsx
regarding sorting logic may relate to the adjustments in the rendering logic of donation-related components, as both involve enhancing user interaction with donation features.🐇 In the garden where donations bloom,
Rounds now sorted, dispelling the gloom.
Active or not, dates lead the way,
Clarity shines in the light of the day.
With each little hop, we cheer and we play! 🎉
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 #4289
Summary by CodeRabbit