Open Mayuresh-22 opened 7 months ago
Hi ,I am interested to work on this issue ,request to you assign this issue to me .I can help you by adding the delete option
Hey @Ankita-0302, I am assigning this issue to you. Make sure you have understood the issue. Start working on it, it would be great if you raise PR in the coming 2 days.
What is expected?
There's no way someone can delete their uploaded posts. You are expected to develop a "Delete" option so that users can easily delete their uploaded posts permanently.
What you can do?
You can add a "Delete/Trash" icon at the top-right corner of the post box. When the user clicks on it, a confirmation box will pop up to confirm which post will be permanently deleted.
Things to remember
Your changes must be responsive and ensure that the delete button shows up only on posts uploaded by the user who is logged in.
As deleting is one of the CRUD operations you will be working with a database so make sure you are pretty aware of what you are doing.