codelab
codelab copied to clipboard
Add a page which displays user ratings
At the end of each milestone there is a survey but we do not do anything with the results: https://codelab.fun/angular/typescript/end
They are in firebase under the 'ratings'
Instead of having just a number for rating, e.g.
newMilestone: {
good: 4,
bad: 1
}
Store list of events e.g.
newMilestone: [
{type: 'good', uid: uid, date: date},
{type: 'bad', uid: uid, date: date}
{type: 'good', uid: uid, date: date},
{type: 'good', uid: uid, date: date},
{type: 'good', uid: uid, date: date},
]
(uid comes from login service)