anitab-org / anitab-org/mentorship-backend

feat: user comment should provide also user display name and profile picture

Offen
#444 15 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Category: Coding Status: Available Type: Maintenance
Vorherrschende Sprache
Python
Sterne
200
Forks
449
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

**Is your feature request related to a problem? Please describe.**
When we display comments we want to see who made the comment and see profile picture.

**Describe the solution you'd like**
Add used node to comment which contains user display name and profile picture

**Describe alternatives you've considered**
not nesting those values under user but it is less elegant or attaching all user information which is overwhelming

**Additional context**
current json response looks as follows:
```
[
{
"id": 1,
"user_id": 2,
"task_id": 1,
"relation_id": 1,
"creation_date": 1581885745.451706,
"modification_date": null,
"comment": "test comment"
}
]
```

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.