Robin Olsen
e909de3d5b
reduce redundancy
2026-02-19 17:34:42 +01:00
Robin Olsen
ed9662ff07
fix signature and make better chaining
2026-02-19 17:32:39 +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
2e702e799d
use beads sql store instead of opening our own
2026-02-19 17:25:34 +01:00
Robin Olsen
5794836864
add make command to start survey
2026-02-19 12:22:25 +01:00
Robin Olsen
5cd1d2ab71
(hotfix) convert type to string
2026-02-19 12:12:26 +01:00
Robin Olsen
4ddc394b8f
Merge pull request #20 from LazyBachelor/LPM-32
...
LPM-32 TUI Functionality
2026-02-19 01:53:16 -08:00
Robin Olsen
cf0c9a1880
expand coding task example
2026-02-19 10:43:58 +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
383c5638c5
delete .beads
2026-02-18 22:23:16 +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
a6ec856759
removing .beads
2026-02-18 20:44:04 +01:00
viljarb
a61faf69fe
removing .beads
2026-02-18 20:43:40 +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
28ff6716a1
Merge pull request #18 from LazyBachelor/LPM-58
...
LPM-58 Create Tasks for Survey
2026-02-18 10:33:41 -08:00
Robin Olsen
4d6b70fb6a
add some helpers to simplify task creation
2026-02-18 19:32:17 +01:00
Robin Olsen
c85023cb78
also remove package.json with make clean
2026-02-18 17:55:37 +01:00
Robin Olsen
f9b25717a0
Merge remote-tracking branch 'origin/main' into LPM-58
2026-02-18 17:51:50 +01:00
Robin Olsen
3e7d57444a
add .vscode to gitignore so it does not change
...
update makefile to tidy before running and clean better
2026-02-18 17:42:51 +01:00
Robin Olsen
612f0c86c7
refactor for simplicity
2026-02-18 15:32:08 +01:00
Robin Olsen
2583ca13c3
sentralize userquiterror
2026-02-18 14:32:08 +01:00
Robin Olsen
5c74cd15ba
move InterfacetoType to types and deleted types as it was now empty
2026-02-18 14:28:58 +01:00
Robin Olsen
e8fffba752
use only port
2026-02-18 14:26:55 +01:00
Robin Olsen
ea7c4fa01f
fix copilot suggestion
2026-02-18 14:25:48 +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
969b08bab4
Update cmd/survey/tasks/createIssue.go
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2026-02-18 13:43:17 +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
f58da43f0e
Update cmd/survey/intro.go
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2026-02-18 13:35:59 +01:00
Robin Olsen
f91d33e2f0
add list command to view available tasks
...
move init to a taks.go for centralization
2026-02-18 13:19:16 +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
de239254e5
add tailwindcss with node for windows development
2026-02-18 11:58:20 +01:00
Robin Olsen
753777160f
Merge pull request #17 from LazyBachelor/LPM-59
...
Sidebar implemented
2026-02-17 13:37:18 -08:00
Robin Olsen
9264f6d597
add back .vscode
2026-02-17 22:35:14 +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