More accurate card context

This commit is contained in:
Jorge Manrubia
2025-05-11 14:41:39 +02:00
parent 1f2f47c7e3
commit 5375044226
+5
View File
@@ -67,6 +67,10 @@ class Command::GetInsight < Command
Description: #{card.description.to_plain_text}
Assigned to: #{card.assignees.map(&:name).join(", ")}}
Created at: #{card.created_at}}
Closed: #{card.closed?}
Closed by: #{card.closed_by&.name}
Closed at: #{card.closed_at}
CONTEXT
end
@@ -76,6 +80,7 @@ class Command::GetInsight < Command
Id: #{comment.id}
Content: #{comment.body.to_plain_text}}
Comment created by: #{comment.creator.name}}
CONTEXT
end
end