Jul 10th Addition of new Function and Component.

What an amazing progress we've made with this pull request! Let's take a moment to appreciate these fresh updates. 😊

  • New Function and Component Added 🙌: Great news! We've got a new function apiClientStatusToggle which, as you may have guessed, toggles the status of our clients. Also, we've created a new Filter component for you in SuperAdmin view. So, you can filter your way through. Kudos to the team for implementing this! 💪

  • Imported and Implemented Filter Component 😉: Fear no fuss, the Filter component has been successfully included in the CustomersTableTools.js file. Let's gear towards a more customizable experience! 🎉

  • But Wait, there's More in SuperAdmin/index.js 🧐: Hold on, there's a lot happening in SuperAdmin:

    • We've imported our newly minted function apiClientStatusToggle and isEmpty function from lodash for helping us check for empty values.

    • We've added a shiny new button in the ActionColumn component for additional actions.

    • And the onStatusToggle function to manage the toggling of the client status.

    • Last but not least, the new button has comfortably found its place in the JSX to join the user interface. Upgrades for the win! 🌟

  • Improving SuperAdmin/index.js ✍️: Things are getting better as we've enhanced the columns array and included a filter key in various functions for enhanced functionality. More power to our features! 🚀

  • Data Slice Enhances ↔️: We have also refined the initialTableData state by including filterKey. Constant improvement is the key! 🔑

  • Console Statements - Handled 🛠️: We've tidied up a bit by removing an unwanted console.log. But also added new ones in different files to help us know what's going on under the hood. Keep us informed, right? 😄

  • Refinement in Sponsorship Header ✨: Last but not the least, we have consolidated donorFields and programFields into allHeaders array and updated sponsorshipAllListHeader state to include donorFields and some data tweaks for a better & efficient code structure.

Let's celebrate this value-added update and keep pushing the boundaries! 🥳 Strong show, team! 💖

Last updated