Help on every panel, task filter, unblock key, mouse zones, safe add-only rebuild

This commit is contained in:
Sam
2026-11-10 15:59:42 +11:00
parent 972d4c0184
commit 09e32da046
13 changed files with 587 additions and 16 deletions

View File

@@ -42,9 +42,10 @@ type replyModel struct {
err error
readAt time.Time
scroll int
width int
height int
showHelp bool
scroll int
width int
height int
}
func newReplyModel(c *paperclip.Client, folder, issueID string) replyModel {
@@ -226,6 +227,19 @@ func (m replyModel) View() string {
fmt.Sprintf("This workspace needs 80 × 24.\nThis panel is %d × %d.", m.width, m.height))
}
if m.showHelp {
return helpOverlay("the conversation", [][2]string{
{"enter", "write a reply"},
{"alt+enter", "new line inside the box"},
{"s", "choose the status to send with it"},
{"↑ ↓ j k", "read the thread"},
{"r", "read again"},
{"R", "rebuild every pane"},
{"q", "leave"},
{"?", "this list"},
}, m.width, m.height)
}
head := titleStyle.Render("Conversation") + mutedStyle2().Render(" · ")
if m.task.Identifier != "" {
head += lipgloss.NewStyle().Foreground(lipgloss.Color(active.Text)).