Revert "adding assignee to tui"

This reverts commit c72b15f721.
This commit is contained in:
Robin Olsen
2026-03-11 20:37:05 +01:00
parent a5b04997a7
commit 9a0cb74e39
8 changed files with 19 additions and 116 deletions

View File

@@ -47,9 +47,6 @@ type Model struct {
priorityIssueID string
choosingType bool // true while choosing a type
typeIssueID string
editingAssignee bool // true while editing assignee
assigneeInput textinput.Model
assigneeIssueID string
addingComment bool // true while adding a comment
commentInput textarea.Model
commentIssueID string
@@ -91,11 +88,6 @@ func NewDashboard(app *app.App, feedbackChan chan models.ValidationFeedback, qui
createTi.CharLimit = 256
m.createTitleInput = createTi
assigneeTi := textinput.New()
assigneeTi.Placeholder = "Assignee (e.g. Me, username)..."
assigneeTi.CharLimit = 128
m.assigneeInput = assigneeTi
descTa := textarea.New()
descTa.Placeholder = "Issue description..."
descTa.SetWidth(56)
@@ -185,13 +177,6 @@ func (m *Model) startChooseType(selected ListIssue) {
m.typeIssueID = selected.ID
}
func (m *Model) startEditAssignee(selected ListIssue) {
m.editingAssignee = true
m.assigneeIssueID = selected.ID
m.assigneeInput.SetValue(selected.Issue.Assignee)
m.assigneeInput.CursorEnd()
}
func (m *Model) Init() tea.Cmd {
return m.listenForValidation()
}