start with upgdrade (broken right now)
This commit is contained in:
@@ -6,18 +6,17 @@ import (
|
||||
"io"
|
||||
"sort"
|
||||
|
||||
"charm.land/bubbles/v2/list"
|
||||
"charm.land/bubbles/v2/textarea"
|
||||
"charm.land/bubbles/v2/textinput"
|
||||
"charm.land/bubbletea/v2"
|
||||
"charm.land/lipgloss/v2"
|
||||
"github.com/LazyBachelor/LazyPM/internal/app"
|
||||
"github.com/LazyBachelor/LazyPM/internal/models"
|
||||
"github.com/LazyBachelor/LazyPM/pkg/tui/styles"
|
||||
"github.com/charmbracelet/bubbles/list"
|
||||
"github.com/charmbracelet/bubbles/textarea"
|
||||
"github.com/charmbracelet/bubbles/textinput"
|
||||
tea "github.com/charmbracelet/bubbletea"
|
||||
"github.com/charmbracelet/lipgloss"
|
||||
"github.com/muesli/reflow/truncate"
|
||||
)
|
||||
|
||||
|
||||
type IssueList struct {
|
||||
list list.Model
|
||||
app *app.App
|
||||
@@ -26,7 +25,6 @@ type IssueList struct {
|
||||
highlightSelected bool
|
||||
}
|
||||
|
||||
|
||||
type ListIssue struct {
|
||||
models.Issue
|
||||
}
|
||||
@@ -157,7 +155,6 @@ func ListenForValidation(ch chan models.ValidationFeedback) tea.Cmd {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
func NewIssueList(app *app.App, width, height int) IssueList {
|
||||
// NewIssueList creates an IssueList populated from the app.
|
||||
issues, err := app.Issues.SearchIssues(context.Background(), "", models.IssueFilter{})
|
||||
|
||||
Reference in New Issue
Block a user