Questions tab, question bubbles, answer snapshots; errors to transcript
This commit is contained in:
@@ -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) != "" {
|
||||
|
||||
Reference in New Issue
Block a user