273c277d47
feat: Add conversation delete feature ( #11677 )
...
<img width="1240" alt="Screenshot 2025-06-05 at 12 39 04 AM"
src="https://github.com/user-attachments/assets/0071cd23-38c3-4638-946e-f1fbd11ec845 "
/>
## Changes
Give the admins an option to delete conversation via the context menu
- enable conversation deletion in routes and controller
- expose delete API on conversations
- add delete option in conversation context menu and integrate with card
and list
- implement store action and mutation for delete
- update i18n with new strings
fixes: https://github.com/chatwoot/chatwoot/issues/947
---------
Co-authored-by: iamsivin <iamsivin@gmail.com >
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
Co-authored-by: Pranav <pranavrajs@gmail.com >
2025-06-05 15:53:17 -05:00
Vishnu Narayanan and GitHub
616bbced9c
feat: allow copilot use without connecting an inbox ( #10992 )
...
This PR allows Copilot to be used without connecting the Captain assistant to an inbox. Currently, if Captain is enabled on an account, it takes over conversations and responds directly to users. This PR enables the use of Captain as a Copilot without allowing it to respond to users. Additionally, it allows using a different assistant for Copilot instead of the default Captain assistant.
The selection logic for the Copilot assistant follows this order of preference:
- If the user has selected a specific assistant, it takes first preference for Copilot.
- If the above is not available, the assistant connected to the inbox takes preference.
- If neither of the above is available, the first assistant in the account takes preference.
2025-02-28 15:20:39 -08:00
1ccfb4e3db
fix: sentry issues ( #10695 )
...
1. Ensure audio player ref is accessible before triggering calls
([Sentry](https://chatwoot-p3.sentry.io/issues/6221981610 ))
2. Use correct default for attachments, this was incorrectly set to
`null` in a previous PR
([Sentry](https://chatwoot-p3.sentry.io/issues/5966738120 ))
3. Fix `lastNonActivityMessage` is not present
([Sentry](https://chatwoot-p3.sentry.io/issues/6116038455 ))
4. Fix `Alt+J` & `Alt+K` shortcuts not working
([Sentry](https://chatwoot-p3.sentry.io/issues/6075125384 ))
---------
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
2025-01-16 15:49:48 +05:30
42f6621afb
feat: Vite + vue 3 💚 ( #10047 )
...
Fixes https://github.com/chatwoot/chatwoot/issues/8436
Fixes https://github.com/chatwoot/chatwoot/issues/9767
Fixes https://github.com/chatwoot/chatwoot/issues/10156
Fixes https://github.com/chatwoot/chatwoot/issues/6031
Fixes https://github.com/chatwoot/chatwoot/issues/5696
Fixes https://github.com/chatwoot/chatwoot/issues/9250
Fixes https://github.com/chatwoot/chatwoot/issues/9762
---------
Co-authored-by: Pranav <pranavrajs@gmail.com >
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
2024-10-02 00:36:30 -07:00
e393bcf125
fix: Update the logic to handle attachments in a conversation ( #9784 )
...
When the chat is viewed, a function `fetchAllAttachments` is run to get all attachments for a particular conversation. This function, before updating the record creates the `attachments` property on the `chat` object in the store.
If in any case this function fails, the `attachments` property is not created, and when the code reaches the `dashboard/store/modules/conversations/index.js` the error occurs
This PR fixes it by ensuring that `SET_ALL_ATTACHMENTS` is always run. And it handles the default case as well
---
Sentry Issue:
[CHATWOOT-FRONTEND-APP-5Y](https://chatwoot-p3.sentry.io/issues/5459056982/ )
```
TypeError: Cannot read properties of undefined (reading 'some')
at forEach(./app/javascript/dashboard/store/modules/conversations/index.js:160:31)
at Array.forEach(<anonymous>)
at mutations(./app/javascript/dashboard/store/modules/conversations/index.js:159:27)
at handler(./node_modules/vuex/dist/vuex.js:771:7)
at forEach(./node_modules/vuex/dist/vuex.js:470:9)
at Array.forEach(<anonymous>)
at fn(./node_modules/vuex/dist/vuex.js:469:13)
at Store.prototype._withCommit(./node_modules/vuex/dist/vuex.js:574:5)
at Store.prototype.commit(./node_modules/vuex/dist/vuex.js:468:10)
at this.commit(./node_modules/vuex/dist/vuex.js:420:21)
at call(./app/javascript/dashboard/store/modules/conversations/actions.js:273:7)
at tryCatch(./node_modules/videojs-record/dist/videojs.record.js:2868:27)
at _invoke(./node_modules/videojs-record/dist/videojs.record.js:3088:32)
at prototype[method](./node_modules/videojs-record/dist/videojs.record.js:2921:31)
at as(/packs/js/application-cf716bca3c984faeb095.js:4:76)
at as(/packs/js/application-cf716bca3c984faeb095.js:4:76)
at nrWrapper(/app/accounts/81898/conversations/95:6:17817)
```
---------
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
Co-authored-by: Sojan Jose <sojan@pepalo.com >
Co-authored-by: Pranav <pranav@chatwoot.com >
2024-08-06 18:13:41 -07:00
Sivin Varghese and GitHub
e3eca47c31
feat: Split reconnect logic PR (store) ( #9520 )
...
# Pull Request Template
## Description
This PR includes store filter parts split from this [Reconnect
PR](https://github.com/chatwoot/chatwoot/pull/9453 )
2024-05-30 12:29:55 +05:30
Sivin Varghese and GitHub
0d13c11c44
fix: Right click Snooze is not working ( #9498 )
2024-05-22 13:03:49 +05:30
Sai Warang and GitHub
fc6a22b072
fix:Avoid adding all new conversations when on a custom view ( #8905 )
2024-02-12 07:10:53 -08:00
Sivin Varghese and GitHub
3adaa2d602
fix: Retry message not working if the conversation has an external issue ( #8529 )
2023-12-13 15:46:10 +05:30
2daf1ae827
feat: Event to capture the message signature feature ( #7760 )
...
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2023-08-21 13:30:21 +07:00
b333d0c986
feat: Attachments view ( #7156 )
...
* feat: Attachments view with key shortcuts and dynamically updates when user delete or sent new attachments
---------
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2023-06-05 19:21:47 +05:30
59433d9d3c
feat: Adds the ability to sort conversations ( #6853 )
...
* Add sort filter
* Change UI
* Change filter
* Complete sort by filters
* Style fixes
* Fix default sort
* Update app/javascript/dashboard/components/widgets/conversation/ConversationBasicFilter.vue
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
* Update app/javascript/dashboard/components/widgets/conversation/ConversationBasicFilter.vue
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
* Update app/javascript/dashboard/components/ChatList.vue
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
* Added translation
* Added review fixes
* Add more updates
* Code cleanups
* Update last_activity_at on message received event
* Cleans up the design for chatlist and icons
* Fix sort
* Remove inline styles
* Add tag along with the title
---------
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
Co-authored-by: Nithin David Thomas <1277421+nithindavid@users.noreply.github.com >
2023-05-05 17:08:32 -07:00
Shivam Mishra and GitHub
0874aeee2d
feat: priority UI ( #6966 )
2023-04-24 19:00:08 +05:30
Muhsin Keloth and GitHub
815322b27a
feat: Refetch the active conversation messages on action cable reconnect ( #6790 )
2023-04-24 10:17:12 +05:30
Pranav Raj S and GitHub
6000028f64
feat: Allow agents/admins to copy the link to a message ( #5912 )
2023-03-26 22:58:42 -07:00
Pranav Raj S and GitHub
d666afd757
chore: Refactor messages to support right click context menu ( #6748 )
2023-03-24 13:49:44 -07:00
Pranav Raj S and GitHub
80784e3cab
feat: Add Google Translate API Integration ( #6454 )
2023-02-15 20:50:45 -08:00
fgrep and GitHub
a86c2705e9
Fix: more events tracking for SaaS ( #6234 ) ( #6298 )
2023-01-19 17:19:27 +05:30
Shivam Mishra and GitHub
37b9816827
feat: more events tracking for SaaS ( #6234 )
2023-01-17 21:53:40 -08:00
Pranav Raj S and GitHub
6200559123
chore: Update analytics events ( #6050 )
2022-12-08 20:53:13 -08:00
85b52a1d3f
feat: Add a view for unattended conversations ( #5890 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2022-11-29 08:18:00 -08:00
606fc9046a
feat: Allow users to mark a conversation as unread ( #5924 )
...
Allow users to mark conversations as unread.
Loom video: https://www.loom.com/share/ab70552d3c9c48b685da7dfa64be8bb3
fixes : #5552
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2022-11-24 10:55:45 +03:00
Muhsin Keloth and GitHub
92724576af
fix: Update conversation read status indicator logic ( #5777 )
2022-10-31 09:35:48 -07:00
4a299a9441
fix: Add an action cable events for label updates ( #5694 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2022-10-21 16:12:35 -07:00
fc9699d993
feat: Add assign team option to the context menu ( #5153 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2022-08-05 10:57:58 +05:30
2b2252b66e
feat: Add a read indicator for web-widget channel ( #4224 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2022-04-20 16:03:12 +05:30
Nithin David Thomas and GitHub
83655f4ca4
feat: Show errors for message bubbles in dashboard ( #3585 )
2021-12-21 00:07:33 +05:30
Pranav Raj S and GitHub
2be71e73dc
feat: Add a view for mentions ( #3505 )
...
- Added a new table mentions for saving user mentions
- Added a filter conversation_type in the API
- Added a view to see the mentions
2021-12-09 11:20:14 +05:30
c2333214af
feat: Add Advanced Conversation Filters ( #3239 )
...
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
Co-authored-by: Tejaswini <tejaswini@chatwoot.com >
2021-11-18 19:15:02 +05:30
b119d9e729
fix: Remove * as import from conversation module ( #3366 )
...
* fix: Remove * as import from conversation module
* Remove * as import from conversation test spec
Co-authored-by: Fayaz Ahmed <15716057+fayazara@users.noreply.github.com >
2021-11-12 13:41:43 +05:30
Muhsin Keloth and GitHub
ab77e03c92
feat: Render conversation custom attributes ( #3065 )
2021-10-30 07:09:46 +05:30
Pranav Raj S and GitHub
57abdc4d5f
feat: Display "Snoozed Until" time on conversation header ( #3028 )
2021-09-29 19:33:51 +05:30
6f6bb91823
fix: Add meaningful alert error message if file upload fails ( #3093 )
...
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2021-09-29 13:00:08 +05:30
Pranav Raj S and GitHub
d88e3e3596
fix: Resolve conversation with id instead of current conversation ( #2731 )
2021-08-02 13:11:07 +05:30
d955d8e7dc
feat: Ability to snooze conversations ( #2682 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2021-07-23 15:24:07 +05:30
Nithin David Thomas and GitHub
044b6872a4
feat: Add actions and API for deleting message via API ( #2519 )
2021-06-29 11:19:08 +05:30
Nithin David Thomas and GitHub
7c9cd8aa1e
feat: Add a dropdown to change status to "bot" ( #1997 )
2021-04-07 11:44:58 +05:30
Nithin David Thomas and GitHub
c99c63cd79
Feat: Assign conversations to teams. ( #1849 )
2021-03-15 18:37:03 +05:30
3d2db95417
feat: Add preview for attachment messages ( #1562 )
...
Add preview for pending messages and attachments
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2021-01-06 17:56:29 +05:30
Nithin David Thomas and GitHub
7c62d3629c
feat: Add pending message on dashboard ( #1547 )
2020-12-25 13:15:01 +05:30
Pranav Raj S and GitHub
58c0792920
fix: Remove duplicate message in slow networks ( #1332 )
2020-10-11 20:24:26 +05:30
Dmitriy Shcherbakan and GitHub
ecebe163e1
feat: Ability to unmute muted conversations ( #1319 )
2020-10-08 12:02:08 +05:30
22880df429
Feature: Send chat transcript via email ( #1152 )
...
Co-authored-by: Pranav Raj Sreepuram <pranavrajs@gmail.com >
2020-08-17 11:25:13 +05:30
Pranav Raj S and GitHub
3b23aa7913
Bugfix: Use server timestamp to set agent_last_seen_at ( #1114 )
2020-08-03 13:40:20 +05:30
0f2d3418f9
fix: Add a check for 24 hour window before sending a message ( #1084 )
...
Co-authored-by: Sojan Jose <sojan@pepalo.com >
2020-07-25 22:54:45 +05:30
Pranav Raj S and GitHub
c7d962b20f
Chore: Remove selectedChat from store ( #1087 )
...
* Chore: Remove selected chat from store
2020-07-23 23:33:17 +05:30
4612494923
Chore: Fix issues with conversation data models ( #1000 )
...
Co-authored-by: Sojan <sojan@pepalo.com >
2020-07-04 19:46:17 +05:30
97ad39713b
Feature: Improve label experience ( #975 )
...
Co-authored-by: Sojan <sojan@pepalo.com >
2020-06-25 21:04:03 +05:30
Pranav Raj S and GitHub
5cb88237f5
Chore: Move conversationStats to a seperate module ( #962 )
...
* Chore: Move conversationStats to a seperate module
* Move toggleTyping to conversationTypingStatus
* Remove unused agentTyping flag
* Fix review comments
2020-06-14 14:07:52 +05:30
Pranav Raj S and GitHub
40481f6462
Bugfix: Update conversation counters in realtime ( #944 )
...
* Bug: Update conversation counters in realtime
2020-06-09 16:26:33 +05:30