scorelab / LabelLab

An Image Analysis and Classification Platform for Machine Learning Researchers
Apache License 2.0
79 stars 112 forks source link

Implement Endpoints for Single Comment (GET, PUT, DELETE) #647

Closed vaishnavi-gupta18 closed 2 years ago

vaishnavi-gupta18 commented 2 years ago

Description

1) Implement following endpoints for Single Comment :

Also made a minor change in create comment endpoint to also include thumbnail of the user (other than default) if user has uploaded one.

2) Modified logs decorator to create logs for above endpoints. ( Though, i think we do not need logs for updation/deletion of comments)

3) Modify issue details route (GET) to also fetch the list of comments. Also modified projects serializer to include issues.

Type of change

How Has This Been Tested?

Test Configuration:

https://user-images.githubusercontent.com/76858666/174435291-c9fa8111-add9-4110-8f2f-7bf2f0c238d1.mp4

Checklist: