calvin-cs262-fall2019-teamC / client

0 stars 0 forks source link

Feature/history page functionality #53

Closed beg23 closed 4 years ago

beg23 commented 4 years ago

This PR closes out our database functionality, by creating History records whenever an Activity is open for 5 seconds or more. The user can then rate them using the slider, and the time is displayed in seconds, minutes, or even hours (probably won't come to that but it's a safeguard).

Thoroughly test this out by adding records from each activity of varying lengths, rating your satisfaction, check that data persists, and even delete records.

kuiperda commented 4 years ago

Everything appears to work: the history records time spent on activities used for more than 5 seconds, records can be deleted, and they persist if the app is closed and reopened.