show in ready_to_sprint in tui

This commit is contained in:
Robin Olsen
2026-03-11 15:31:29 +01:00
parent 0d0ba236a3
commit 85e0bf698d
2 changed files with 2 additions and 3 deletions

View File

@@ -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"),
lipgloss.NewStyle().Foreground(styles.FaintText).Render("o = open i = in_progress c = closed ready_to_sprint = r"),
lipgloss.NewStyle().Foreground(styles.FaintText).Render("Esc = cancel"),
)
statusBoxWidth := modalBoxWidth(50, width)
@@ -234,4 +234,3 @@ func RenderFooter(width int, helpBar *HelpBar, feedback models.ValidationFeedbac
helpBar.SetWidth(helpWidth)
return lipgloss.JoinHorizontal(lipgloss.Left, helpBar.View(), feedbackStatus)
}

View File

@@ -135,7 +135,7 @@ func (m *Model) View() string {
if m.choosingStatus {
statusContent := lipgloss.JoinVertical(lipgloss.Left,
styles.LabelStyle.Render("Change status for "+m.statusIssueID+":"),
lipgloss.NewStyle().Foreground(styles.FaintText).Render("o = open i = in_progress c = closed"),
lipgloss.NewStyle().Foreground(styles.FaintText).Render("o = open i = in_progress c = closed ready_to_sprint = r"),
lipgloss.NewStyle().Foreground(styles.FaintText).Render("Esc = cancel"),
)
statusBoxWidth := min(50, m.width-4)