Added delete folder modal with strong prompt, added logic to delete folder with its associated files and folders
What does this PR do?
Adds a "delete folder modal" with a strong prompt, and changes in the delete folder API function to delete the folder and all its associated files and folders within.
task #936
https://github.com/user-attachments/assets/cfe83be7-985d-47c9-b403-0704376b5a96
what you did
While performing a delete folder operation if the folder has nested folders or files within I wrote an operation to find all folders where parentId matches the selected folder ID, write a loop function to loop through the folders if more child exists call a function to perform a delete operation to delete the folder and files.
also added a modal to show a prompt before deleting the folder.
@AndrewHamal is attempting to deploy a commit to the mftsio Team on Vercel.
A member of the Team first needs to authorize it.
All contributors have signed the CLA ✍️ ✅
Posted by the CLA Assistant Lite bot.
recheck
@AndrewHamal somehow the CLA assistant action doesn't recognize the comment you left. please do that again :)
@mfts sure
I have read the CLA Document and I hereby sign the CLA
The latest updates on your projects. Learn more about Vercel for Git ↗︎
| Name | Status | Preview | Comments | Updated (UTC) |
|---|---|---|---|---|
| papermark | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Oct 31, 2024 10:14am |
Awarding AndrewHamal: 750 points 🕹️ Well done! Check out your new contribution on oss.gg/AndrewHamal