Questions tab, question bubbles, answer snapshots; errors to transcript

This commit is contained in:
Ian Gulliver
2026-10-18 15:06:06 -07:00
parent 1ef3594016
commit 10a80ccb22
31 changed files with 744 additions and 665 deletions
+2 -8
View File
@@ -69,15 +69,9 @@ func (m *Manager) mergeNote(ctx context.Context, task api.Task, login string) (s
}
}
decisions := []api.InboxItem{}
for _, item := range answered {
if item.Kind == api.Question {
decisions = append(decisions, item)
}
}
if len(decisions) > 0 {
if len(answered) > 0 {
b.WriteString("\n## Decisions\n")
for _, item := range decisions {
for _, item := range answered {
fmt.Fprintf(b, "\n### %s\n", item.Payload["question"])
background, _ := item.Payload["context"].(string)
if strings.TrimSpace(background) != "" {