From e594f89919594a26f7bf8e4654636f2bcdef13db Mon Sep 17 00:00:00 2001 From: Jason Zimdars Date: Wed, 29 Oct 2025 10:51:47 -0500 Subject: [PATCH] Add missing events to comment thread --- app/models/card/eventable/system_commenter.rb | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/app/models/card/eventable/system_commenter.rb b/app/models/card/eventable/system_commenter.rb index 59823a784..0319f2f22 100644 --- a/app/models/card/eventable/system_commenter.rb +++ b/app/models/card/eventable/system_commenter.rb @@ -19,13 +19,21 @@ class Card::Eventable::SystemCommenter when "card_unassigned" "#{event.creator.name} unassigned from #{event.assignees.pluck(:name).to_sentence}." when "card_closed" - "Moved to Done by #{ event.creator.name }" + "Moved to “Done” by #{event.creator.name}" when "card_reopened" - "Reopened by #{ event.creator.name }" + "Reopened by #{event.creator.name}" + when "card_postponed" + "#{event.creator.name} moved this to “Not Now”" + when "card_auto_postponed" + "Closed as “Not Now” due to inactivity" when "card_title_changed" "#{event.creator.name} changed the title from “#{event.particulars.dig('particulars', 'old_title')}” to “#{event.particulars.dig('particulars', 'new_title')}”." when "card_collection_changed" "#{event.creator.name} moved this from “#{event.particulars.dig('particulars', 'old_collection')}” to “#{event.particulars.dig('particulars', 'new_collection')}”." + when "card_triaged" + "#{event.creator.name} movedmoved this back to “Maybe?”" end end end