Commit Graph

33 Commits

Author SHA1 Message Date
Robin Olsen
14e64f73f2 fix close modal 2026-03-20 17:11:51 +01:00
Robin Olsen
7facfb6afe Merge pull request #73 from LazyBachelor/LPM-138
LPM-138 Refactor Tui with composable modals and use canvas

Refactors the TUI (dashboard + kanban) to use a shared, composable modal system with canvas-based overlay rendering, while consolidating styling into internal/style and expanding issue interactions (e.g., comments).

Changes:

Introduces a new pkg/tui/modal system (manager/stack + multiple modal types) and overlays modals using Lipgloss compositor layers.
Refactors dashboard/kanban views and input handling to use the modal manager + focus manager instead of per-modal boolean state.
Consolidates TUI styling by moving from pkg/tui/styles to internal/style and updates components to use the new style package; adds a shared footer renderer.
2026-03-20 16:28:10 +01:00
Robin Olsen
89167a6e5a Update pkg/tui/views/dashboard/operations.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-03-20 12:58:21 +01:00
Robin Olsen
26210c4afb centralize submission handling 2026-03-20 12:42:48 +01:00
Robin Olsen
0b1675d21a remove unused 2026-03-20 12:22:09 +01:00
Robin Olsen
41766284ac remove unused funcs and submit on issue refreshes 2026-03-20 10:48:25 +01:00
Robin Olsen
3e9a903506 works now 2026-03-18 11:58:31 +01:00
Robin Olsen
40d25cc716 start with upgdrade (broken right now) 2026-03-18 11:23:10 +01:00
Robin Olsen
1ffe6c26fe Merge remote-tracking branch 'origin/main' into TASK-BACKLOG-REFINEMENT-fix-for-closed-reason 2026-03-16 09:59:32 +01:00
Ine Maria Nilssen Aanonsen
90fdd3e56f TASK BACKLOG REFINEMENT fix for closing reason 2026-03-16 07:21:07 +01:00
viljarb
1f98308d9b adding blocked status to tui 2026-03-12 13:18:15 +01:00
Ine Maria Nilssen Aanonsen
2ce04896ee TASK BACKLOG REFINEMENT fix for closing reason 2026-03-12 11:46:58 +01:00
viljarb
0b4e33b28f adding assignee for tui 2026-03-11 21:23:07 +01:00
Ine Maria Nilssen Aanonsen
c78b5082d2 TASK SPRINT PLANNING 2 2026-03-11 14:54:14 +01:00
Robin Olsen
a63edceb00 Merge remote-tracking branch 'origin/main' into WIP-LPM-79 2026-03-06 16:02:50 +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
7c704a1572 add metrics to tui 2026-03-02 23:10:09 +01:00
Moira Daniella A Sebastian
63631fc42f Implemented add comments for tui 2026-03-02 20:17:08 +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
2d7f15e33f fix merge 2026-02-24 17:06:57 +01:00
Robin Olsen
7890f621aa Merge remote-tracking branch 'origin/main' into LPM-43 2026-02-24 17:06:40 +01:00
viljarb
a8aada1646 using codenames for priority levels mapped to digits 2026-02-24 11:19:01 +01:00
viljarb
970c735fa4 adding functionality for editing priority; adding priority to the list of displayed issues; sorting the list of issues by their priority 2026-02-23 15:56:16 +01:00
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
118e67dbf4 refactor services to use Interface and change name to app 2026-02-22 16:16:09 +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
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
Robin Olsen
a2212c0bad move feedback msg check to operations 2026-02-18 22:23:08 +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