bsoc-bitbyte / BSoC-Website

BitByte Summer of Code Website
https://bitbytesummerofcode.netlify.app/
8 stars 34 forks source link

[Feature Request]: Delete Option to remove a PR done by Mistake #46

Closed Priyansh61 closed 1 year ago

Priyansh61 commented 1 year ago

Is your feature request related to a problem? Please describe.

If someone mistakenly uploads a PR, which may have some wrong information there is no way to delete the PR.

Describe the solution you'd like

On the MyPR section, there should be a button to delete the PR with complete functioning, such that it deletes the PR from there and also subtracts the PR score from the total score.

Describe alternatives you've considered

No response

Developer Help

No response

anshikkay commented 1 year ago

@Priyansh61 is this issue involves backend part or just we have to make button for delete option. thank you!!

Priyansh61 commented 1 year ago

Yup this involves backend too! So a little learning is there...

Doraemon012 commented 1 year ago

@Priyansh61 Sir, I would like to work on this issue. Please assign this to me. First, I will get user's UID. Then, from all the data, I will filter user's data (on the basis of UID). Then, I will add delete button in every post of the user. The button will have a specific id. I will create a Delete function which will be triggered on clicking the delete button. The function will check the index of the PR clicked, and it will delete the selected PR.

Priyansh61 commented 1 year ago

@Doraemon012 @anshikkay Both of you guys are showing interest on this PR, I guess one can handle the frontend and one backend, and you guys can work collabratively on this PR. One more thing I will be happy to teach you guys how to proceed with your implementation.

Doraemon012 commented 1 year ago

Sir, if possible, I would like to work on this issue individually. I can handle the frontend too by myself. Please assign this to me.

Priyansh61 commented 1 year ago

@Doraemon012 Since there is no response from @anshikkay Go ahead and lemme know if you need any help :)

Priyansh61 commented 1 year ago

@Doraemon012 Updates?

Doraemon012 commented 1 year ago

@Priyansh61 I will complete this by today.