show in ready_to_sprint in tui
This commit is contained in:
@@ -90,7 +90,7 @@ func RenderChooseStatus(width, height int, issueID string) string {
|
|||||||
}
|
}
|
||||||
statusContent := lipgloss.JoinVertical(lipgloss.Left,
|
statusContent := lipgloss.JoinVertical(lipgloss.Left,
|
||||||
styles.LabelStyle.Render("Change status for "+issueID+":"),
|
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"),
|
lipgloss.NewStyle().Foreground(styles.FaintText).Render("Esc = cancel"),
|
||||||
)
|
)
|
||||||
statusBoxWidth := modalBoxWidth(50, width)
|
statusBoxWidth := modalBoxWidth(50, width)
|
||||||
@@ -234,4 +234,3 @@ func RenderFooter(width int, helpBar *HelpBar, feedback models.ValidationFeedbac
|
|||||||
helpBar.SetWidth(helpWidth)
|
helpBar.SetWidth(helpWidth)
|
||||||
return lipgloss.JoinHorizontal(lipgloss.Left, helpBar.View(), feedbackStatus)
|
return lipgloss.JoinHorizontal(lipgloss.Left, helpBar.View(), feedbackStatus)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -135,7 +135,7 @@ func (m *Model) View() string {
|
|||||||
if m.choosingStatus {
|
if m.choosingStatus {
|
||||||
statusContent := lipgloss.JoinVertical(lipgloss.Left,
|
statusContent := lipgloss.JoinVertical(lipgloss.Left,
|
||||||
styles.LabelStyle.Render("Change status for "+m.statusIssueID+":"),
|
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"),
|
lipgloss.NewStyle().Foreground(styles.FaintText).Render("Esc = cancel"),
|
||||||
)
|
)
|
||||||
statusBoxWidth := min(50, m.width-4)
|
statusBoxWidth := min(50, m.width-4)
|
||||||
|
|||||||
Reference in New Issue
Block a user