Commit Graph

9 Commits

Author SHA1 Message Date
Robin Olsen
b8303147ab Implement task resumption feature so participant can resume last task 2026-04-03 15:28:48 +02:00
Robin Olsen
fc10321430 refine statistics collection 2026-03-24 12:31:15 +01:00
Robin Olsen
2510429a7f upgrade mongodb driver dep 2026-03-18 15:20:16 +01:00
Robin Olsen
a51fd848d6 add intro questoinare to gather participant details 2026-03-12 14:56:07 +01:00
Robin Olsen
72a2e8acf5 Metrics and logs - MongoDB Submission (#43)
Adds MongoDB-backed submission for survey statistics/metrics and introduces MongoDB ObjectID-based participant/task identifiers to support upserts and linking metrics to a participant.

It introduces breaking changes to the exsisting json stat and metric files. Delete the old ones

Changes:

Add internal/storage/MongoStorage and wire pm survey submit / pm start to submit local .pm/*.json files to MongoDB.
Extend stats/metrics models to include MongoDB _id / participant_id fields and add participant ID propagation into task metrics.
Update app initialization to generate ObjectIDs for new participants and expose GetParticipantID() via StatsService.
2026-03-10 14:09:31 +01:00
Robin Olsen
0cb45d811d remove button clicks as we have user actions 2026-03-03 11:52:34 +01:00
Robin Olsen
763f079063 refactor for separation of concern for better readabiliy and maintainability 2026-03-03 11:41:07 +01:00
Robin Olsen
199369c3bf record stats 2026-03-02 23:08:11 +01:00
Robin Olsen
aabce0b0b2 refactor to use app package instead of service
refactor app to be composable
2026-02-28 23:30:31 +01:00