From 5375044226a504c87e8d833bcfa35d66067fcec5 Mon Sep 17 00:00:00 2001 From: Jorge Manrubia Date: Sun, 11 May 2025 14:41:39 +0200 Subject: [PATCH] More accurate card context --- app/models/command/get_insight.rb | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/models/command/get_insight.rb b/app/models/command/get_insight.rb index dae83dcef..7872e99a2 100644 --- a/app/models/command/get_insight.rb +++ b/app/models/command/get_insight.rb @@ -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