Pranav
bf5e4a92dd
chore: Limit the number of articles retrieved by widget ( #11095 )
...
The UI displays only six articles, and this update introduces a per_page
parameter to control the number of articles returned per API call. The
value is capped between 1 and 100, with a default fallback if a lower
number is set.
This change is necessary due to high website traffic, where excessive
payloads are returned without adding value.
**Changes:**
- Add index to status, account_id, portal_id, views.
- Add per_page param in the API.
- Update the code in the frontend to fetch only 6
2025-03-15 14:10:12 -07:00
Pranav
9de8c27368
feat: Use vitest instead of jest, run all the specs anywhere in app/ folder in the CI ( #9722 )
...
Due to the pattern `**/specs/*.spec.js` defined in CircleCI, none of the
frontend spec in the folders such as
`specs/<domain-name>/getters.spec.js` were not executed in Circle CI.
This PR fixes the issue, along with the following changes:
- Use vitest instead of jest
- Remove jest dependancies
- Update tests to work with vitest
---------
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2024-07-10 08:32:16 -07:00
LU
f48cff847f
fix: Prevent formData.append from Adding 'null' String for null replyTo ( #8623 )
...
Co-authored-by: Shivam Mishra <scm.mymail@gmail.com >
2024-05-02 15:30:46 -07:00
Shivam Mishra
bce2a07d03
feat: do not send contact details to the widget ( #9223 )
...
* refactor: use has_email instead of email
* feat: remove usage of details directly in forms
* test: update payload
* test: fix transcript test
* refactor: use computed hasEmail
---------
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2024-04-12 15:30:07 +05:30
Shivam Mishra
d94108bf3f
feat: show ReplyTo in widget UI ( #8094 )
...
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2023-10-27 13:35:02 +05:30
Pranav Raj S
c16b801562
chore: Update the filter for articles in the widget ( #7961 )
2023-09-21 19:40:46 +05:30
Nithin David Thomas
9322112481
chore: Improvements to utils to load article in widget ( #7859 )
2023-09-05 21:37:51 +05:30
Pranav Raj S
961d810645
Revert "feat: Show popular articles on widget home" ( #7706 )
2023-08-10 22:27:51 -07:00
Nithin David Thomas
e052a061f4
feat: Show popular articles on widget home ( #7604 )
2023-08-01 21:32:44 +05:30
Nithin David Thomas
89e09857af
feat: Add store and API to support articles in widget ( #7616 )
2023-07-26 14:08:27 -07:00
Muhsin Keloth
708bddf4db
feat: Refetch the latest messages on action cable reconnect in widget ( #6996 )
2023-05-12 14:05:22 +05:30
Shivam Mishra
a040aee96b
feat: allow adding custom attributes to conversations from the SDK ( #6782 )
...
* feat: add conversation attributes method to sdk and widget app
* feat: add endpoints to update custom attributes
* refactor: update SDK api
* feat: add api and actions for conversation updates
* fix: error message
* test: custom attributes on conversations controller
---------
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2023-04-04 08:57:55 +05:30
Pranav Raj S
ffb4bd0109
feat: Add the support for video calls with Dyte in the live-chat widget ( #6208 )
...
Co-authored-by: Nithin David Thomas <1277421+nithindavid@users.noreply.github.com >
Co-authored-by: iamsivin <iamsivin@gmail.com >
2023-01-09 11:52:31 -08:00
David Kubeš
a6960dc2d3
chore: Refactor widget ( #5621 )
2022-10-14 09:13:11 +05:30
Sojan Jose
f71980bd95
chore: Enhance contact merge action for identified users ( #4886 )
...
- Discard conflicting keys
- Do not merge if there is already an identified contact
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2022-06-23 15:48:56 +05:30
Muhsin Keloth
4f3a271355
chore: Add custom attributes in campaign.triggered event ( #4463 )
2022-04-20 10:49:52 +05:30
Muhsin Keloth
7e5ec7925c
feat: Add phone_number & custom_attributes in create conversation end point ( #4421 )
2022-04-08 14:53:37 +05:30
Aswin Dev P.S
c4837cd7ac
feat: End conversation from widget ( #3660 )
...
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
Co-authored-by: Fayaz Ahmed <15716057+fayazara@users.noreply.github.com >
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
Co-authored-by: Nithin David Thomas <1277421+nithindavid@users.noreply.github.com >
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2022-03-15 22:07:30 +05:30
Muhsin Keloth
f405572e5c
Revert "feat: Custom fields in pre-chat form ( #4135 )" ( #4182 )
...
This reverts commit e730804b48 .
2022-03-15 16:54:33 +05:30
Muhsin Keloth
e730804b48
feat: Custom fields in pre-chat form ( #4135 )
...
Fixes : #2744
2022-03-14 15:06:56 +05:30
Tejaswini Chile
94a473c9f8
chore: Delayed deploy of direct uploads ( #3966 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2022-02-15 16:16:54 +05:30
Tejaswini Chile
69eaf3ff7f
feat: Activestorage direct upload ( #3768 )
2022-01-27 15:57:22 +05:30
Muhsin Keloth
a2764e5c1d
chore: Update deleteCustomAttribute method in SDK ( #3334 )
2021-11-15 14:56:35 +05:30
Pranav Raj S
75329e5de1
fix: Add missing referer & initiated_at.timestamp to events ( #2920 )
2021-08-31 11:46:15 +05:30
Muhsin Keloth
15085cfb98
feat: Conversation transcript in widget ( #2549 )
2021-07-13 11:31:21 +05:30
Muhsin Keloth
fb2f3ff89f
feat: Create campaign conversation only if user interacts with the bubble ( #2335 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2021-06-15 20:09:42 +05:30
Muhsin Keloth
610a7c661e
chore: Execute campaigns based on matching URL ( #2254 )
2021-05-17 21:38:35 +05:30
Muhsin Keloth
3fc646f330
feat: Add campaigns in web widget ( #2227 )
...
* add campaign store(getter, actions and mutations)
* add campaign store module
* add get campaigns api
* add fetch campaign action widget load
* add specs
* code cleanup
* trigger campaig api fixes
* integrate campaign trigger action
* code cleanup
* revert changes
* trigger api fixes
* review fixes
* code beautification
* chore: Fix multiple campaigns being send because of race condition
* chore: rubocop
* chore: Fix specs
* disable campaigns
Co-authored-by: Nithin David Thomas <webofnithin@gmail.com >
Co-authored-by: Sojan <sojan@pepalo.com >
2021-05-10 00:31:00 -07:00
Nithin David Thomas
3043ee5058
Fix: Hide prechat for sessions inititated with setUser ( #1914 )
2021-03-20 17:44:20 +05:30
Pranav Raj S
037ffc7419
feat: Add a pre-chat form on widget ( #1769 )
2021-02-16 00:14:13 +05:30
Muhsin Keloth
f9bd447912
chore: Upgrade vue-i18n to 8.x ( #1383 )
...
Co-authored-by: Pranav Raj S <pranav@thoughtwoot.com >
2020-12-12 12:08:36 +05:30
Pranav Raj S
666948b809
chore: Reduce the click area on Branding ( #1340 )
2020-10-15 00:11:47 +05:30
Sojan Jose
31c07771e8
feat: Notification on new messages in conversation ( #1204 )
...
fixes : #895
fixes : #1118
fixes : #1075
Co-authored-by: Pranav Raj S <pranav@thoughtwoot.com >
2020-09-10 19:19:15 +05:30
Sojan Jose
cdd385b269
feat: Custom Attributes for contacts ( #1158 )
...
Co-authored-by: Pranav Raj Sreepuram <pranavrajs@gmail.com >
2020-08-21 19:30:27 +05:30
Nithin David Thomas
49db9c5d8a
Adds unread message bubbles for widget ( #943 )
...
Co-authored-by: Sojan <sojan@pepalo.com >
Co-authored-by: Pranav Raj S <pranav@thoughtwoot.com >
2020-07-08 00:04:44 +05:30
Sojan Jose
f9e8bb8e10
Chore: Send browser language in webwidget events ( #952 )
...
Co-authored-by: Pranav Raj Sreepuram <pranavrajs@gmail.com >
2020-06-13 00:19:43 +05:30
Pranav Raj S
59f4dd7ebe
Feature: Introduce locale in web-widget SDK ( #871 )
...
* Introduce setLocale in SDK
Co-authored-by: Sojan <sojan@pepalo.com >
2020-05-17 16:15:53 +05:30
Pranav Raj S
f28ec29b8c
Feature: Customise widget for bot conversations ( #834 )
...
* Feature: Customise widget for bot conversations
2020-05-09 22:02:43 +05:30
Nithin David Thomas
5bc8219db5
Feature: Typing Indicator on widget and dashboard ( #811 )
...
* Adds typing indicator for widget
* typing indicator for agents in dashboard
Co-authored-by: Pranav Raj Sreepuram <pranavrajs@gmail.com >
2020-05-04 23:07:56 +05:30
Sony Mathew
818c769bb7
Chore: Message to support multiple attachments ( #730 )
...
* Changes for the message to have multiple attachments
* changed the message association to attachments from has_one to has_many
* changed all the references of this association in building and fetching to reflect this change
* Added number of attachments validation to the message model
* Modified the backend responses and endpoints to reflect multiple attachment support (#737 )
* Changing the frontend components for multiple attachments
* changed the request structure to reflect the multiple attachment structures
* changed the message bubbles to support multiple attachments
* bugfix: agent side attachment was not showing because of a missing await
* broken message was shown because of the store filtering
* Added documentation for ImageMagick
* spec fixes
* refactored code to reflect more apt namings
* Added updated message listener for the dashboard (#727 )
* Added the publishing for message updated event
* Implemented the listener for dashboard
Co-authored-by: Pranav Raj Sreepuram <pranavrajs@gmail.com >
2020-04-17 21:15:20 +05:30
Sojan Jose
b0950d6880
Feature: Rich Message Types ( #610 )
...
Co-authored-by: Pranav Raj S <pranavrajs@gmail.com >
Co-authored-by: Nithin David Thomas <webofnithin@gmail.com >
2020-04-10 16:42:37 +05:30
Pranav Raj S
cb22b396eb
Feature: Website SDK ( #653 )
...
Add SDK functions
Co-authored-by: Sojan <sojan@pepalo.com >
2020-04-03 13:04:58 +05:30
Nithin David Thomas
6c4e1fdaac
Feature: Send images from widget
2020-03-30 12:15:06 +05:30
Nithin David Thomas
83b0bb4062
Feature: As an end-user, I should be able to see the list of agents in the widget. ( #461 )
...
Co-authored-by: Pranav Raj S <pranavrajs@gmail.com >
2020-02-05 11:27:22 +05:30
Sojan Jose
722f540b03
[Feature] Email collect message hooks ( #331 )
...
- Add email collect hook on creating conversation
- Merge contact if it already exist
2020-01-09 13:06:40 +05:30
Pranav Raj S
439e064d90
Feature: Contact Panel with conversation details ( #397 )
...
* Add Contact panel changes
* Fix parent iframe blocked
* Add Conversation Panel, Contact messages
* Update contact panel with conversation details
* Update designs in sidebar
* Fix specs
* Specs: Add specs for conversationMetadata and contact modules
* Fix currentUrl issues
* Fix spelling
* Set default to empty string
2020-01-01 22:30:43 +05:30
Pranav Raj S
2b41e91768
[Enhancement] Fetch previous messages in the conversation ( #355 )
...
* Fetch previous messages in the conversation
* Add specs for conversation store
* Fix codeclimate issues
* Exclude specs folder
* Exclude globally
* Fix path in exclude patterns
* Add endPoints spec
* Add snapshots for Spinner
* Add specs for actions
2019-12-11 20:57:06 +05:30
Pranav Raj S
16fe912fbd
[Feature] Website live chat ( #187 )
...
Co-authored-by: Nithin David Thomas <webofnithin@gmail.com >
Co-authored-by: Sojan Jose <sojan@pepalo.com >
2019-10-29 12:50:54 +05:30