Commit Graph

237 Commits

Author SHA1 Message Date
viljarb
7674ae3690 making improvements based on copilot's suggestions from previous merge with main: subtracting the label heights from available heights before calculating the list height, to avoid potential layer overflow, in pkg/tui/views/view.go; creating a handler function for refreshing issue list and updating detail view, to avoid duplicate logic in pkg/tui/views/operations.go 2026-02-23 13:50:23 +01:00
Robin Olsen
ea67982a8d remove search bar until properly implemented 2026-02-23 13:37:27 +01:00
Robin Olsen
8decd74952 make tasks use map instead of slice 2026-02-23 13:13:34 +01:00
Robin Olsen
235b07f7ce use registry for interfaces also
add list interfaces command
2026-02-22 22:58:04 +01:00
Robin Olsen
33c8c05ae3 refactor to decouple commands form entrypoint for reusability and centralizing commands.
Increase reusability and composition
2026-02-22 19:46:55 +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
2e4185e30f use beads service
use pointes for comments
use htmx routing
2026-02-22 11:03:31 +01:00
Ine Maria Nilssen Aanonsen
15f8bbb8ed Merge branch 'WEB---ADD-COMMENTS-ON-ISSUES' of https://github.com/LazyBachelor/LazyPM into WEB---ADD-COMMENTS-ON-ISSUES 2026-02-20 17:04:20 +01:00
Ine Maria Nilssen Aanonsen
4ad08b3720 WEB - ADD COMMENTS ON ISSUES 2026-02-20 17:02:10 +01:00
Ine
d1951cbbc0 Apply suggestion from @Copilot
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-02-20 16:44:40 +01:00
Ine Maria Nilssen Aanonsen
bb059ad8d8 WEB - ADD COMMENTS ON ISSUES 2026-02-20 11:25:08 +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
5cd1d2ab71 (hotfix) convert type to string 2026-02-19 12:12:26 +01:00
viljarb0
c5023ee748 Update pkg/tui/views/dashboard/operations.go
use the constants from the model package instead of string literals, for the status codes

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-02-19 10:37:56 +01:00
viljarb0
15647bbe9d Update pkg/tui/views/dashboard/issue_list.go
making the comment in OpenAndInProgressOnly more descriptive

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-02-19 10:36:50 +01:00
viljarb0
e528788522 Update pkg/tui/views/dashboard/operations.go
copilot suggestion: determine which list the deleted issue was in and use the appropriate filtered list to select the next issue

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-02-19 10:25:13 +01:00
viljarb0
cdc7dad2ec Update pkg/tui/views/dashboard/operations.go
fetching the newly created issue from the refreshed issues list instead of using the local msg.Issue pointer to ensure all fields are properly populated

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-02-19 10:00:38 +01:00
viljarb0
06ce771505 Update pkg/tui/views/dashboard/model.go
remove trailing white space as per copilot's request

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-02-19 09:56:58 +01:00
viljarb0
78e7a2dd51 Update pkg/tui/views/dashboard/keys.go
copilot suggestion to have consistent checks for all key handlers, to prevent opening for example the edit window and delete window at the same time.. somehow

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-02-19 09:56:24 +01:00
Robin Olsen
a2212c0bad move feedback msg check to operations 2026-02-18 22:23:08 +01:00
Robin Olsen
d3c5ead54e Merge remote-tracking branch 'origin/main' into LPM-32 2026-02-18 22:22:11 +01:00
viljarb
f00bf0a684 putting web from main into this branch 2026-02-18 20:52:50 +01:00
viljarb
77dd155299 rm -r --cached pkg/web 2026-02-18 20:48:30 +01:00
viljarb
1d92041538 modified: web/assets/css/styles.css
modified:   web/components/base/input.templ
	modified:   web/components/base/input_templ.go
	modified:   web/components/base/range.templ
	modified:   web/components/base/range_templ.go
	modified:   web/components/base/select.templ
	modified:   web/components/base/select_templ.go
	modified:   web/components/base/textarea.templ
	modified:   web/components/base/textarea_templ.go
	modified:   web/components/icons.templ
	modified:   web/components/icons_templ.go
	modified:   web/components/issue.templ
	modified:   web/components/issue_templ.go
	modified:   web/components/layout.templ
	modified:   web/components/layout_templ.go
	new file:   web/components/sidebar.templ
	new file:   web/components/sidebar_templ.go
	new file:   web/components/status.templ
	new file:   web/components/status_templ.go
	modified:   web/handler/issues.go
	new file:   web/handler/task.go
	modified:   web/input.css
	deleted:    web/package-lock.json
	deleted:    web/package.json
	modified:   web/routes/layout.templ
	modified:   web/routes/layout_templ.go
	modified:   web/server/routes.go
	modified:   web/server/server.go
	modified:   web/web.go
2026-02-18 20:41:52 +01:00
viljarb
ed8a0d02ec updating web to be compatible with main 2026-02-18 20:33:32 +01:00
viljarb
b654fb5bd3 changing name of updates.go to operations.go, as everything related to operations performed on issues are there 2026-02-18 20:25:25 +01:00
viljarb
96bab0602f ready for test 2026-02-18 20:10:45 +01:00
Robin Olsen
4d6b70fb6a add some helpers to simplify task creation 2026-02-18 19:32:17 +01:00
Robin Olsen
2583ca13c3 sentralize userquiterror 2026-02-18 14:32:08 +01:00
Robin Olsen
7ee2a3a0c6 Merge remote-tracking branch 'origin/main' into LPM-58 2026-02-18 14:19:08 +01:00
Robin Olsen
ffa32ebd3a add dockerfile
add make commands for building and running using docker

remove localhost on server address so it's not locked
2026-02-18 14:12:37 +01:00
Robin Olsen
4dcb67e490 Update pkg/tui/views/dashboard/update.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-02-18 13:43:05 +01:00
Robin Olsen
b32e5a5946 Update pkg/task/runner.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-02-18 13:37:23 +01:00
Robin Olsen
23747fb799 refactor to use Tasker interface instead of Task
add tasker register for registering tasks for extiensibility
2026-02-18 13:07:23 +01:00
Robin Olsen
89f8596884 Merge remote-tracking branch 'origin/main' into LPM-58 2026-02-18 12:07:13 +01:00
Robin Olsen
61e5109f9a simplified tailwind classes and removed collapsing sidebar make it static 2026-02-17 22:26:25 +01:00
Robin Olsen
1e5bfcc0ba should be minimized 2026-02-17 22:25:39 +01:00
Robin Olsen
1258ab91e0 we dont need this 2026-02-17 22:25:22 +01:00
Robin Olsen
4ff3759a79 remove redundant injecton 2026-02-17 22:25:16 +01:00
Robin Olsen
09725f4e5e refien task view styles and look 2026-02-17 22:04:23 +01:00
Moira Daniella A Sebastian
2b791b5354 Forgot to commit some files 2026-02-17 21:33:39 +01:00
Moira Daniella A Sebastian
43bffbbeb6 Sidebar implemented 2026-02-17 21:25:26 +01:00
Robin Olsen
86c8bc3143 refactor for better reusability and maintainability 2026-02-17 15:17:49 +01:00
Robin Olsen
e2f3aa63da add task status to header 2026-02-17 13:56:33 +01:00
Robin Olsen
b75d55db90 check submit questonare 2026-02-17 13:35:11 +01:00
Robin Olsen
a5733bdaed add feedback to tui 2026-02-17 13:19:35 +01:00
Robin Olsen
6ffcb5eb54 add task feedback to web
add task-status endpoint
2026-02-17 13:07:04 +01:00
Robin Olsen
6964e14b69 add status command for getting task status
add feedback to repl
2026-02-17 13:05:50 +01:00
Robin Olsen
68af436a3f add so interfaces can see task feedback 2026-02-17 13:04:03 +01:00
Robin Olsen
279adb157e refactor for better maintainability and readabilty 2026-02-17 11:11:54 +01:00