Commit Graph

275 Commits

Author SHA1 Message Date
Robin Olsen
beb182e3de Merge pull request #41 from LazyBachelor/WIP-LPM-79
Refactor TUI architecture and implement Kanban board view
2026-03-10 13:54:06 -07:00
Moira Daniella A Sebastian
153351ce81 Resolved some of suggestions from copilot 2026-03-10 15:17:42 +01:00
Moira Daniella sebastian
1cdfb56531 Update pkg/tui/components/modals.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-03-10 15:05:41 +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
d7107fe331 Merge remote-tracking branch 'origin/main' into LPM-48 2026-03-08 10:58:24 +01:00
viljarb0
57a2e62247 Update pkg/web/components/issue.templ
copilot suggestion: avoid xss from status values with static x-data

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-03-08 10:12:04 +01:00
viljarb0
d7d0e79520 Update pkg/web/routes/dashboard.templ
button instead of inline js

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-03-08 10:09:26 +01:00
Ine Maria Nilssen Aanonsen
e64950879d FIXED COMMENTS. TASK BACKLOG REFINEMENT ISSUE 2026-03-06 21:04:58 +01:00
viljarb
3ff5da6f1a copilot suggestion fix: using url.Values to prevent bad characters messing up the url 2026-03-06 17:58:25 +01:00
viljarb0
9357ee1ba2 Update pkg/web/routes/issue_detail.templ
remove deleteURL as its not used after removing the delete issues button

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-03-06 17:48:43 +01:00
Robin Olsen
a63edceb00 Merge remote-tracking branch 'origin/main' into WIP-LPM-79 2026-03-06 16:02:50 +01:00
Robin Olsen
e85b123463 Merge remote-tracking branch 'origin/main' into LPM-48 2026-03-06 13:03:53 +01:00
Ine Maria Nilssen Aanonsen
68054f7409 TASK BACKLOG REFINEMENT ISSUE 2026-03-06 12:52:13 +01:00
viljarb
edf8e4cfd8 forgot a file 2026-03-05 17:58:08 +01:00
viljarb
e796ac8b79 add reason for closing issue for closed issues 2026-03-05 17:51:21 +01:00
viljarb
dbffd5f3f8 double-click on issues in list view opens edit window 2026-03-05 17:32:31 +01:00
Robin Olsen
f371f9a8e9 fix submisson button for web 2026-03-05 14:03:55 +01:00
Robin Olsen
d7c52383be add submit to full help tui 2026-03-05 12:33:16 +01:00
Robin Olsen
372e5900ff wait little for submitt channel to update 2026-03-05 12:30:50 +01:00
Robin Olsen
ae81e52f0d change web and status command to use callback 2026-03-04 22:45:31 +01:00
Robin Olsen
cc6c4ea7cb change tui and status command to use callback.
add keybind to submit
2026-03-04 22:44:55 +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
viljarb
aa203e901d making the enter/details key switch focus between issues and details; using the v key for switching between kanban and list view; making the footer stay at the buttom of the screen in kanban view 2026-03-04 21:16:55 +01:00
Robin Olsen
0f82146fe5 logg all checks and show if done or not 2026-03-04 20:46:55 +01:00
Robin Olsen
44d4b0e543 make sure we get the checks 2026-03-04 17:49:49 +01:00
Robin Olsen
6e1c46948a expand width of task text box 2026-03-04 17:49:32 +01:00
Moira Daniella A Sebastian
31ed1148f9 refactor(tui): move shared components (help bar, issue list, modals, etc.) into components folder. Also added kanban board view. 2026-03-04 15:20:16 +01:00
Robin Olsen
6b1bdde561 Merge branch 'main' into Metrics-and-Logs 2026-03-04 14:32:54 +01:00
Robin Olsen
7cd4219cc7 Merge pull request #35 from LazyBachelor/LPM-83
LPM-83 Create Issue Task
2026-03-04 05:23:11 -08:00
Robin Olsen
2fcd312072 Update pkg/task/metrics_store.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-03-04 14:02:48 +01:00
Robin Olsen
77b38692c6 align task with description
add a complete with message in case we need that
2026-03-04 14:00:35 +01:00
viljarb
5ca4aa1c38 fixing window resize bug when switching dashboards 2026-03-04 10:52:35 +01:00
viljarb
496422cf7c modified: dashboard/help_bar.go
modified:   dashboard2/help_bar.go
	modified:   views.go
2026-03-04 10:26:07 +01:00
viljarb
8593f7fdc4 implementing board view; set add comment section above the displayed comments in the details page; delete confirmation window; open same details page from board view; make assignee button more obvious 2026-03-03 20:44:16 +01:00
viljarb
eef3b4849d open same details page from board view; make assignee button more obvious 2026-03-03 20:41:18 +01:00
Robin Olsen
0b5d94b2ee fix typo 2026-03-03 14:07:03 +01:00
Robin Olsen
4a6b40509c dont need whitespace here 2026-03-03 13:39:20 +01:00
Robin Olsen
eafba71887 make more readable 2026-03-03 13:39:09 +01:00
Robin Olsen
bbf5e1f7a9 use web logger only if dev 2026-03-03 11:56:56 +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
7c704a1572 add metrics to tui 2026-03-02 23:10:09 +01:00
Robin Olsen
5942d0d8ab add metrics to repl 2026-03-02 23:09:59 +01:00
Robin Olsen
5ebe95b62f add metrics to tasks 2026-03-02 23:09:49 +01:00
Robin Olsen
35557431da add logging and metrics to web 2026-03-02 23:09:25 +01:00
Robin Olsen
fb9e8ab419 define metrics logger 2026-03-02 23:08:40 +01:00
Moira Daniella A Sebastian
63631fc42f Implemented add comments for tui 2026-03-02 20:17:08 +01:00
viljarb
1d5b7e0860 copied the dashboard and made a keybinding to change back and forth between them; ready to turn dashboard2 into a boardview dashboard 2026-03-02 19:53:42 +01:00
Robin Olsen
1baf6c7ff4 (hotfix) content should no render in modal 2026-03-01 21:10:23 +01:00
Robin Olsen
9612cb9338 refactor to make cli better and simplify the code 2026-03-01 20:42:56 +01:00