feat: improvements to priority (#6981)

* fix: colors for urgent icon

* feat: trigger updated event on priority change

* fix: specs
This commit is contained in:
Shivam Mishra
2023-04-25 22:28:19 +05:30
committed by GitHub
parent 402428fb4d
commit d95283f5c2
5 changed files with 10 additions and 5 deletions

View File

@@ -518,6 +518,7 @@ RSpec.describe Conversation, type: :model do
contact_last_seen_at: conversation.contact_last_seen_at.to_i,
agent_last_seen_at: conversation.agent_last_seen_at.to_i,
created_at: conversation.created_at.to_i,
priority: nil,
unread_count: 0
}
end

View File

@@ -31,6 +31,7 @@ RSpec.describe Conversations::EventDataPresenter do
contact_last_seen_at: conversation.contact_last_seen_at.to_i,
agent_last_seen_at: conversation.agent_last_seen_at.to_i,
created_at: conversation.created_at.to_i,
priority: nil,
unread_count: 0
}
end