iachat/app/models/concerns
OMAR.A 82e5fc413e
fix: Label Duplication in Bulk Actions (#7341)
When looping the conversations in bulk action to assign them to new labels, the existing labels in other conversations were also getting duplicated across all conversations. This PR fixes the issue. 

> In the previous implementation, new_labels is appended to the existing labels using the << operator. This operator modifies the original array instead of creating a new one, causing unwanted side effects. More specifically, new_labels is a reference to the original argument array of the method.

Co-authored-by: Sojan <sojan@pepalo.com>
Co-authored-by: Peter Salib <74493166+Peteraymansalib@users.noreply.github.com>
2023-06-22 18:36:58 +05:30
..
.keep Initial Commit 2019-08-14 15:18:44 +05:30
access_tokenable.rb Chore: Replaced dependent destroy with dependent destroy_async in all models (#3249) 2021-11-18 10:32:29 +05:30
account_cache_revalidator.rb fix: Invalidate cache if any of the related objects change (#6860) 2023-04-10 15:47:13 +05:30
activity_message_handler.rb feat: add activity message for priority change (#6933) 2023-04-20 16:41:53 +05:30
assignment_handler.rb chore: Add controllers for conversation participants (#6462) 2023-02-15 16:33:31 -08:00
auto_assignment_handler.rb fix: Adds assignee as a participant during auto-assign (#6789) 2023-03-30 11:39:53 +05:30
availability_statusable.rb chore: Move agent availability to Account level (#3074) 2021-10-07 13:21:46 +05:30
avatarable.rb chore: Upgrade to Rails 7 (#6719) 2023-05-06 10:44:52 +05:30
cache_keys.rb feat: allow superadmins to reset cache keys for IndexedDB (#7180) 2023-05-29 23:05:17 +05:30
channelable.rb fix: Invalidate cache if any of the related objects change (#6860) 2023-04-10 15:47:13 +05:30
content_attribute_validator.rb chore: Upgrade rails and ruby versions (#2400) 2021-08-03 20:11:52 +05:30
conversation_mute_helpers.rb fix: bots included in time to response metrics (#6409) 2023-02-25 09:48:48 +05:30
featurable.rb chore: Enable the new Rubocop rules (#7122) 2023-05-19 14:37:10 +05:30
json_schema_validator.rb fix: validate template_params for WhatsApp (#6881) 2023-04-25 16:50:36 +05:30
labelable.rb fix: Label Duplication in Bulk Actions (#7341) 2023-06-22 18:36:58 +05:30
liquidable.rb refactor: remove redundant taggable declaration (#7310) 2023-06-15 12:57:56 +05:30
message_filter_helpers.rb feat: Enable sending template messages in webhooks (#7252) 2023-06-05 20:27:28 +05:30
out_of_offisable.rb Fix: add option to choose 24 hour working slot (#4018) 2022-02-22 01:28:49 -08:00
priority_activity_message_handler.rb feat: add activity message for priority change (#6933) 2023-04-20 16:41:53 +05:30
pubsubable.rb chore: Rotate pubsub token on password change (#7194) 2023-05-27 13:24:31 +05:30
reauthorizable.rb chore: Add reauthorization prompt for Whatsapp Channel (#5929) 2022-11-24 14:50:32 +03:00
reportable.rb Chore: clean up Reporting Events (#4044) 2022-02-28 18:16:12 +05:30
sort_handler.rb feat: Add a sort option for conversations waiting for a reply from an agent (#7364) 2023-06-21 13:20:39 -07:00
sso_authenticatable.rb feat: Ability for super admin to impersonate a user (#6382) 2023-02-06 11:00:08 -08:00
user_attribute_helpers.rb chore: Add controllers for conversation participants (#6462) 2023-02-15 16:33:31 -08:00