Robin Olsen
36414142b7
print issue prettier
2026-03-11 14:06:06 +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
4842d30aab
change repl and status command to use callback
2026-03-04 22:44:01 +01:00
Robin Olsen
3d183d7fcd
change validation to be submission callback based
2026-03-04 22:43:28 +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
9fb56b8643
add metrics logger to config
2026-03-02 23:07:50 +01:00
Robin Olsen
6726445159
define stat and metrics model
2026-03-02 23:07:25 +01:00
Robin Olsen
4debb69de7
start with action logger
2026-03-02 23:06:34 +01:00
Robin Olsen
47f1ecdfab
remove dependency of beads from issueService interface
2026-03-01 11:04:57 +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
Robin Olsen
ba0115d1bc
lots of changes and reducing dependency imports
2026-02-28 16:39:50 +01:00
Robin Olsen
8d6b71d1c4
add multiple new tasks, validation not implemented
2026-02-25 15:14:09 +01:00
Robin Olsen
94917e4ff5
should return issue pointer
2026-02-23 12:26:05 +01:00
Robin Olsen
118e67dbf4
refactor services to use Interface and change name to app
2026-02-22 16:16:09 +01:00
Robin Olsen
0f41f76679
add builders and chaining methods for various types and variables for better reusability and readability
2026-02-19 17:26:16 +01:00
Robin Olsen
9baedea9b5
add issue print func
2026-02-07 12:12:55 +01:00
Robin Olsen
1c248b2c8d
decrease truncate leangth for issueID
2026-02-05 14:27:44 +01:00
Robin Olsen
893c9e3bd6
chack for nil pointer in helper
...
use helper for converting to issue
2026-02-05 13:55:20 +01:00
Robin Olsen
7e0c45e9a2
add helper for printing issue list.
...
add helper for converting issue pointer to issue
2026-02-05 12:49:23 +01:00
Robin Olsen
0dcfe3989d
refine architecture
...
change module name to repo
2026-02-02 11:22:20 +01:00
Robin Olsen
4225d202bb
add statistics storage
2026-01-31 21:07:09 +01:00
Robin Olsen
a3a1d71325
first commit
2026-01-31 16:00:23 +01:00