adding blocked status to tui
This commit is contained in:
@@ -230,6 +230,7 @@ func OpenAndInProgressOnly(issues []*models.Issue) []*models.Issue {
|
||||
for _, issue := range issues {
|
||||
if issue.Status == models.StatusOpen ||
|
||||
issue.Status == models.StatusInProgress ||
|
||||
issue.Status == models.StatusBlocked ||
|
||||
issue.Status == models.StatusReadyToSprint {
|
||||
out = append(out, issue)
|
||||
}
|
||||
|
||||
@@ -90,7 +90,7 @@ func RenderChooseStatus(width, height int, issueID string) string {
|
||||
}
|
||||
statusContent := lipgloss.JoinVertical(lipgloss.Left,
|
||||
styles.LabelStyle.Render("Change status for "+issueID+":"),
|
||||
lipgloss.NewStyle().Foreground(styles.FaintText).Render("o = open i = in_progress c = closed ready_to_sprint = r"),
|
||||
lipgloss.NewStyle().Foreground(styles.FaintText).Render("o = open i = in_progress b = blocked r = ready_to_sprint c = closed"),
|
||||
lipgloss.NewStyle().Foreground(styles.FaintText).Render("Esc = cancel"),
|
||||
)
|
||||
statusBoxWidth := modalBoxWidth(50, width)
|
||||
|
||||
Reference in New Issue
Block a user