Commit Graph

14 Commits

Author SHA1 Message Date
viljarb
d983427ca9 forgot to add cmd/pm/init.go 2026-03-25 14:28:30 +01:00
Robin Olsen
720be210c3 add commands to start tui and web 2026-03-18 15:00:15 +01:00
Robin Olsen
9a70851a0a refine pm cli and descriptions 2026-03-16 13:06:16 +01:00
Robin Olsen
b7e2cc2c63 add dependency management task 2026-03-16 12:30:00 +01:00
Robin Olsen
e23d0155df inject mongodb uri inside the binary and os 2026-03-13 12:33:09 +01:00
Robin Olsen
298c7c540d Merge remote-tracking branch 'origin/main' into LPM-119 2026-03-13 10:27:28 +01:00
Moira Daniella A Sebastian
d619804f46 Add issue review clean up task 2026-03-12 17:54:35 +01:00
Robin Olsen
0e75b503d3 remove unused tasks 2026-03-11 21:51:47 +01:00
Robin Olsen
a7b2698309 use tea model for showing server runnign and closing 2026-03-11 11:09:38 +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
e8d9f9d1b6 need this for issue id completion 2026-03-03 10:50:15 +01:00
Robin Olsen
cb10aeff6b (hotfix) make sure app is initialized only when we need it 2026-03-02 11:41:57 +01:00
Robin Olsen
447f97ec3e Update cmd/pm/init.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-03-01 20:54:17 +01:00
Robin Olsen
9612cb9338 refactor to make cli better and simplify the code 2026-03-01 20:42:56 +01:00