use custom help menu

This commit is contained in:
Robin Olsen
2026-02-04 19:45:13 +01:00
parent 3a9b8a8bd1
commit a38c4ec7b1
4 changed files with 37 additions and 11 deletions

View File

@@ -4,11 +4,12 @@ import (
"github.com/LazyBachelor/LazyPM/internal/models"
"github.com/LazyBachelor/LazyPM/internal/service"
"github.com/LazyBachelor/LazyPM/pkg/tui/views/issue"
"github.com/charmbracelet/bubbles/help"
"github.com/charmbracelet/bubbles/list"
tea "github.com/charmbracelet/bubbletea"
)
type Model struct {
help help.Model
issueView issue.Model
issueList list.Model
keyMap DashboardKeyMap
@@ -16,10 +17,6 @@ type Model struct {
focusedOnIssue bool
}
func (d Model) Init() tea.Cmd {
return nil
}
type ListIssue struct {
models.Issue
}