Shivam Mishra and GitHub
52ce0baef7
Merge branch 'develop' into feat/ui-lib
2025-12-01 14:11:07 +05:30
Sivin Varghese and GitHub
ba8df900e3
feat: Enhance button interactions ( #12738 )
2025-11-06 16:24:05 +05:30
9b75d9bd1b
fix: Add empty line before signature in compose conversation editor ( #12702 )
...
Co-authored-by: Shivam Mishra <scm.mymail@gmail.com >
2025-11-06 14:05:52 +05:30
Shivam Mishra
1ede5bdeec
Merge branch 'feat/ui-lib' of github.com:chatwoot/chatwoot into feat/ui-lib
2025-10-15 16:13:15 +05:30
Shivam Mishra and GitHub
3a348d594d
Merge branch 'develop' into feat/ui-lib
2025-10-15 15:34:45 +05:30
Shivam Mishra and GitHub
21366e1c3b
feat: allow quoted email thread in reply ( #12545 )
...
This PR adds the ability to include the thread history as a quoted text
## Preview
https://github.com/user-attachments/assets/c96a85e5-8ac8-4021-86ca-57509b4eea9f
2025-09-30 17:47:09 +05:30
Sivin Varghese and GitHub
b344bac1ba
fix: Editor toggle button not showing the correct active mode ( #12350 )
2025-09-09 17:22:35 +05:30
99997a701a
feat: Add twilio content templates ( #12277 )
...
Implements comprehensive Twilio WhatsApp content template support (Phase
1) enabling text, media, and quick reply templates with proper parameter
conversion, sync capabilities, and feature flag protection.
### Features Implemented
**Template Types Supported**
- Basic Text Templates: Simple text with variables ({{1}}, {{2}})
- Media Templates: Image/Video/Document templates with text variables
- Quick Reply Templates: Interactive button templates
- Phase 2 (Future): List Picker, Call-to-Action, Catalog, Carousel,
Authentication templates
**Template Synchronization**
- API Endpoint: POST
/api/v1/accounts/{account_id}/inboxes/{inbox_id}/sync_templates
- Background Job: Channels::Twilio::TemplatesSyncJob
- Storage: JSONB format in channel_twilio_sms.content_templates
- Auto-categorization: UTILITY, MARKETING, AUTHENTICATION categories
### Template Examples Tested
#### Text template
```
{ "name": "greet", "language": "en" }
```
#### Template with variables
```
{ "name": "order_status", "parameters": [{"type": "body", "parameters": [{"text": "John"}]}] }
```
#### Media template with image
```
{ "name": "product_showcase", "parameters": [
{"type": "header", "parameters": [{"image": {"link": "image.jpg"}}]},
{"type": "body", "parameters": [{"text": "iPhone"}, {"text": "$999"}]}
]}
```
#### Preview
<img width="1362" height="1058" alt="CleanShot 2025-08-26 at 10 01
51@2x"
src="https://github.com/user-attachments/assets/cb280cea-08c3-44ca-8025-58a96cb3a451 "
/>
<img width="1308" height="1246" alt="CleanShot 2025-08-26 at 10 02
02@2x"
src="https://github.com/user-attachments/assets/9ea8537a-61e9-40f5-844f-eaad337e1ddd "
/>
#### User guide
https://www.chatwoot.com/hc/user-guide/articles/1756195741-twilio-content-templates
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
2025-08-29 16:13:25 +05:30
f801c1928d
chore: Default file limits for private notes and reset attachment on mode switch ( #12310 )
...
# Pull Request Template
## Description
This PR fixes the handling of attachments and file limits in reply
modes:
* Applies **default file size and type limits** for private notes
* **Resets attachments** automatically when switching reply modes
## Type of change
- [x] Bug fix (non-breaking change which fixes an issue)
## How Has This Been Tested?
### Loom video
https://www.loom.com/share/abad3e6a0383405ea5f31314c1494f2f?sid=38715fd0-e305-4a9b-8f4d-fc6a6e5c0833
## Checklist:
- [x] My code follows the style guidelines of this project
- [x] I have performed a self-review of my code
- [x] I have commented on my code, particularly in hard-to-understand
areas
- [ ] I have made corresponding changes to the documentation
- [x] My changes generate no new warnings
- [ ] I have added tests that prove my fix is effective or that my
feature works
- [x] New and existing unit tests pass locally with my changes
- [ ] Any dependent changes have been merged and published in downstream
modules
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2025-08-27 11:56:07 +05:30
Sivin Varghese and GitHub
39dfa35229
feat: Add channel-specific file upload rules and size limits ( #12237 )
2025-08-26 22:23:39 +05:30
Muhsin Keloth and GitHub
5aaa0400af
Merge branch 'develop' into feat/ui-lib
2025-08-14 13:57:46 +05:30
Sivin Varghese and GitHub
df4de508e7
feat: New Scenarios page ( #11975 )
2025-07-30 19:34:27 +05:30
ab1ba1c4c7
feat: Add manual WhatsApp templates sync with UI ( #12007 )
...
Fixes https://github.com/chatwoot/chatwoot/issues/9600
**Summary**
- Added manual WhatsApp templates sync functionality accessible via UI
- Added refresh button in both inbox settings and template picker modal
- Enhanced template picker to always show for WhatsApp Cloud channels
(even when empty)
**Preview**
<img width="1456" height="798" alt="CleanShot 2025-07-22 at 14 15 28@2x"
src="https://github.com/user-attachments/assets/8a04ff26-61fa-42ee-a1b8-5e06433ae6e0 "
/>
<img width="2376" height="1574" alt="CleanShot 2025-07-22 at 14 19
24@2x"
src="https://github.com/user-attachments/assets/1c772034-04ff-484d-88dd-ca8123e93065 "
/>
---------
Co-authored-by: iamsivin <iamsivin@gmail.com >
2025-07-23 12:22:51 +04:00
Sivin Varghese and GitHub
24ea968b00
chore: Remove older UI ( #11720 )
2025-07-01 09:43:44 +05:30
Shivam Mishra
ba1f363a28
fix: gap and text color
2025-06-11 17:34:08 +05:30
Shivam Mishra
4e7ca49297
fix: menubar not empty
2025-06-04 16:40:47 +05:30
Shivam Mishra
6f86944758
feat: allow option to disable upload
2025-06-04 16:34:47 +05:30
Shivam Mishra
d74798fcd5
feat: disable editor menu for ios
2025-06-04 16:34:26 +05:30
Shivam Mishra
394419ce95
feat: allow new confg
2025-06-04 16:09:42 +05:30
Shivam Mishra
c54973eeb2
feat: use enter for next line in isolated shell mode
2025-05-19 19:11:07 +05:30
Shivam Mishra
daa54f6866
feat: disable unused options
2025-05-16 16:12:05 +05:30
Shivam Mishra
13f742fd68
feat: allow customizing reply box
2025-05-15 17:06:20 +05:30
Muhsin Keloth and GitHub
0a394e16ca
chore: Audit message characters across all channels ( #11343 )
...
- Audited message characters across all channels.
- Replaced `isAInstagramChannel` with `isAnInstagramChannel`
2025-04-21 14:46:51 +05:30
Sivin Varghese and GitHub
70a65e2c34
fix: Prevent mentions menu from triggering on reply mode change ( #11264 )
...
# Pull Request Template
## Description
**Issue:** When typing "@" in reply mode and then switching to private
note mode, the user mentions menu remains visible and cannot be
dismissed.
**Cause:** The Prose Mirror suggestion plugin for "@" was active in both
reply modes (normal and private). When triggered in normal reply mode
and then switching to private note mode, the menu would remain open and
couldn't be dismissed.
**Solution**
```
createSuggestionPlugin({
trigger: '@',
showMenu: showUserMentions,
searchTerm: mentionSearchKey,
isAllowed: () => props.isPrivate, // Only allow @ mentions in private note mode
}),
```
1. By setting `isAllowed: () => props.isPrivate`, the @ mention trigger
will only activate when in private note mode
2. In normal reply mode, the plugin won't activate at all since
`isAllowed` returns false
3. This prevents the menu from being triggered in the wrong context and
fix the scenario where the menu gets stuck.
## Type of change
- [x] Bug fix (non-breaking change which fixes an issue)
## How Has This Been Tested?
### Loom video
**Before**
https://www.loom.com/share/5333f0c6498d4a9ea4d220b1de1b608c?sid=1425f24f-2c6f-4ff5-aab3-23c3203d2e05
**After**
https://www.loom.com/share/9f183c76d6a94b618a7c2aaed280b780?sid=19ef08b8-2b70-434b-ad5a-267410212e11
## Checklist:
- [x] My code follows the style guidelines of this project
- [x] I have performed a self-review of my code
- [ ] I have commented on my code, particularly in hard-to-understand
areas
- [ ] I have made corresponding changes to the documentation
- [x] My changes generate no new warnings
- [ ] I have added tests that prove my fix is effective or that my
feature works
- [x] New and existing unit tests pass locally with my changes
- [ ] Any dependent changes have been merged and published in downstream
modules
2025-04-09 15:25:46 +05:30
Sivin Varghese and GitHub
e2d88dc1b8
fix: styles in ProseMirror URL prompt modal ( #11256 )
2025-04-08 12:38:28 +05:30
Muhsin Keloth and GitHub
ae0b68147e
chore: Reply window fixes ( #11242 )
...
- Fixed the can reply window links.
- Added the supported file types for Instagram.
2025-04-04 13:03:41 +05:30
Sivin Varghese and GitHub
f20a18b03f
chore: Remove old buttons from Vue2 design ( #11159 )
2025-03-31 17:51:38 -07:00
280bc58963
chore: Update buttons in conversation screens( #11132 )
...
# Pull Request Template
### Changes includes
* Update send message and add note button
<img width="151" alt="image"
src="https://github.com/user-attachments/assets/646d1d22-07be-4f2f-9090-6642556aa761 "
/>
<img width="151" alt="image"
src="https://github.com/user-attachments/assets/b5651420-c48b-4932-aff9-911788b9eabc "
/>
<img width="165" alt="image"
src="https://github.com/user-attachments/assets/f1ace171-2115-4eba-9055-e568d1b73c5e "
/>
<img width="165" alt="image"
src="https://github.com/user-attachments/assets/0c818461-ccdb-46ab-b7d3-3917e4ee4e74 "
/>
<img width="165" alt="image"
src="https://github.com/user-attachments/assets/eef1545b-1bed-47a1-8b83-ed5d5da3f24f "
/>
<img width="165" alt="image"
src="https://github.com/user-attachments/assets/429de6e6-1263-4216-9222-4eaece95da81 "
/>
<img width="165" alt="image"
src="https://github.com/user-attachments/assets/59a69867-4da1-4695-b88c-329142a693a8 "
/>
<img width="165" alt="image"
src="https://github.com/user-attachments/assets/7114745c-836f-4c5a-b5d6-e200e1343a73 "
/>
* Remove Unused component `AnnouncementPopup.vue`
* Updated button for custom attributes in conversation sidebar.
<img width="225" alt="image"
src="https://github.com/user-attachments/assets/a71f6c31-aca9-4e1b-bf63-6b9d5ed183c8 "
/>
<img width="310" alt="image"
src="https://github.com/user-attachments/assets/8d847e1b-4a13-4108-a487-ce3d36257afa "
/>
* Update button in custom snooze modal buttons
<img width="207" alt="image"
src="https://github.com/user-attachments/assets/78315ce6-9734-467b-a4d3-e753d3eca384 "
/>
* Update modal component close button
<img width="80" alt="image"
src="https://github.com/user-attachments/assets/643e9ef0-b781-47ce-a66b-a9ee4760c952 "
/>
* Update AI assistant modal and AICTA modal
<img width="319" alt="image"
src="https://github.com/user-attachments/assets/8d0986ec-ec7a-4abb-9327-f73df8b4d942 "
/>
<img width="565" alt="image"
src="https://github.com/user-attachments/assets/1e02ddd1-7f51-4d8a-bb57-558b9a50c938 "
/>
* Update remove attachment button
<img width="301" alt="image"
src="https://github.com/user-attachments/assets/90c93eee-0b4d-4839-9db5-edc4b023df4b "
/>
* Update the conversation header buttons
<img width="256" alt="image"
src="https://github.com/user-attachments/assets/abac5d7e-dd83-40ae-b548-76bbafaa2231 "
/>
* Update the retry button in old message bubbles.
---------
Co-authored-by: Pranav <pranav@chatwoot.com >
2025-03-21 14:47:28 +05:30
8066b36ebf
chore: Update styles in settings pages ( #11070 )
...
---------
Co-authored-by: Pranav <pranavrajs@gmail.com >
Co-authored-by: Shivam Mishra <scm.mymail@gmail.com >
2025-03-18 14:40:02 -07:00
Sivin Varghese and GitHub
2556de1f38
feat: Support bigger font size in dashboard ( #10974 )
...
# Pull Request Template
## Description
Fixes
https://linear.app/chatwoot/issue/CW-4091/accessibility-improvement-support-bigger-font-size-for-the-dashboard
## Type of change
- [x] New feature (non-breaking change which adds functionality)
## How Has This Been Tested?
### **Loom video**
https://www.loom.com/share/1ab781859fa748a5ad54aacbacd127b4?sid=a7dd9164-a6de-462f-bff7-1b25e9c55b4f
## Checklist:
- [x] My code follows the style guidelines of this project
- [x] I have performed a self-review of my code
- [x] I have commented on my code, particularly in hard-to-understand
areas
- [ ] I have made corresponding changes to the documentation
- [x] My changes generate no new warnings
- [x] I have added tests that prove my fix is effective or that my
feature works
- [x] New and existing unit tests pass locally with my changes
- [ ] Any dependent changes have been merged and published in downstream
modules
2025-02-27 12:10:33 +05:30
Sivin Varghese and GitHub
0ccbe5882c
chore: Improvement is keyboard shortcuts ( #10925 )
2025-02-26 14:51:55 +05:30
7fd8b4d03a
feat: update colors for v4 ( #10660 )
...
Porting changes from https://github.com/chatwoot/chatwoot/pull/10552
---------
Co-authored-by: Pranav <pranav@chatwoot.com >
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
Co-authored-by: Vishnu Narayanan <vishnu@chatwoot.com >
Co-authored-by: Sojan <sojan@pepalo.com >
Co-authored-by: iamsivin <iamsivin@gmail.com >
Co-authored-by: Pranav <pranavrajs@gmail.com >
2025-01-15 17:13:03 +05:30
Shivam Mishra and GitHub
26187c3ebf
fix: toggle for reply editor ( #10680 )
...
The reply editor toggle was a bit confusing for a few users, where it's
not clear that it's clickable. This PR updates it to make it more clear
### Pending Work
- [x] RTL view
### Preview
##### Dark Mode
https://github.com/user-attachments/assets/9e377eda-34d5-4f64-a06a-23ae822da50e
##### Light Mode
https://github.com/user-attachments/assets/84c6b23c-cd17-4805-8e63-9d7d1cc0d799
2025-01-14 16:28:29 +05:30
dd595675bc
chore: Update reply editor design ( #10575 )
...
# Pull Request Template
## Description
This PR will update the reply message editor’s design.
**Screen recording**
https://github.com/user-attachments/assets/40f61903-6bf7-4031-9a36-9027dffc46aa
---------
Co-authored-by: Pranav <pranavrajs@gmail.com >
Co-authored-by: Shivam Mishra <scm.mymail@gmail.com >
2025-01-08 17:49:53 +05:30
579efd933b
feat(v4): Update the campaigns page design ( #10371 )
...
<img width="1439" alt="Screenshot 2024-10-30 at 8 58 12 PM"
src="https://github.com/user-attachments/assets/26231270-5e73-40fb-9efa-c661585ebe7c ">
Fixes
https://linear.app/chatwoot/project/campaign-redesign-f82bede26ca7/overview
---------
Co-authored-by: Pranav <pranavrajs@gmail.com >
Co-authored-by: Shivam Mishra <scm.mymail@gmail.com >
2024-10-31 11:57:13 +05:30
a3855a8d1d
feat(v4): Update the help center portal design ( #10296 )
...
Co-authored-by: Pranav <pranavrajs@gmail.com >
2024-10-23 22:09:36 -07:00
Sivin Varghese and GitHub
902a9aa7d7
feat: Add the new design for edit article page ( #10285 )
2024-10-16 10:50:44 -07:00
ee02923ace
chore: fix circleci on vite build ( #10214 )
...
- Switch to pnpm based build
- Switch circleci from docker to machine to have more memory
- Fix frontend and backend tests
Fixes
https://linear.app/chatwoot/issue/CW-3610/fix-circle-ci-for-vite-build
---------
Co-authored-by: Shivam Mishra <scm.mymail@gmail.com >
Co-authored-by: Pranav <pranavrajs@gmail.com >
Co-authored-by: Pranav <pranav@chatwoot.com >
2024-10-07 15:27:41 +05:30
0677d8763d
fix: Update the reply box to handle play, pause callbacks from WaveSurfer ( #10223 )
...
- Implemented custom @play, @pause methods to update the state of the recording. Once the recording is finished the button icon changes from stop button to play/pause button.
- Removes the console error undefined hasAudio
Fixes https://linear.app/chatwoot/issue/CW-3609/audio-recorder-issue
---------
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
2024-10-05 00:17:11 -07:00
Sivin Varghese and GitHub
095aaf3de6
fix: Issues with drag and drop attachments to the editor ( #10235 )
2024-10-05 00:16:42 -07:00
b3262597c1
fix: vue 3 followup fixes ( #10213 )
...
Fixes: CW-3602, CW-3606, CW-3605, CW-3601, CW-3603, CW-3600, CW-3598
-
[CW-3602](https://linear.app/chatwoot/issue/CW-3602/chat-list-infinite-loader-fetching-only-odd-numbered-pages )
Chat list pagination broken
-
[CW-3606](https://linear.app/chatwoot/issue/CW-3606/saving-greeting-message-is-not-working-in-inbox-settings )
Greetings message not getting saved
-
[CW-3605](https://linear.app/chatwoot/issue/CW-3605/copy-and-paste-image-attachment-not-working-in-widget )
Paste not working on widget
-
[CW-3601](https://linear.app/chatwoot/issue/CW-3601/edit-category-is-not-working-properly )
Edit category not updating
-
[CW-3603](https://linear.app/chatwoot/issue/CW-3603/delete-filter-is-not-working )
Delete filter modal not toggling
-
[CW-3600](https://linear.app/chatwoot/issue/CW-3600/portal-editor-is-not-working-properly )
Portal editor events were flaky
-
[CW-3598](https://linear.app/chatwoot/issue/CW-3598/rearrange-of-pre-chat-form-fields-throws-an-error )
Prechat form re-order bug
---------
Co-authored-by: Vishnu Narayanan <iamwishnu@gmail.com >
2024-10-03 19:59:07 +05:30
Shivam Mishra and GitHub
578dce81a1
fix: suggestions not triggering directly ( #10211 )
2024-10-03 15:02:56 +05:30
Shivam Mishra and GitHub
c51a458c25
style: apply fixes for eslint issues [cw-3590] ( #10210 )
...
These fixes are all auto generated and can be merged directly
Fixes the following issues
1. Event used on components should be hypenated
2. Attribute orders in components
3. Use `unmounted` instead of `destroyed`
4. Add explicit `emits` declarations for components, autofixed [using
this
script](https://gist.github.com/scmmishra/6f549109b96400006bb69bbde392eddf )
We ignore the top level v-if for now, we will fix it later
2024-10-03 15:02:12 +05:30
Shivam Mishra and GitHub
b8d0252511
feat: remove usage of .sync and define explicitly emits ( #10209 )
...
References
- https://v3-migration.vuejs.org/breaking-changes/v-model
-
https://v3-migration.vuejs.org/breaking-changes/v-on-native-modifier-removed.html
2024-10-03 12:44:18 +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
58e78621ba
chore: Custom Roles to manage permissions [ UI ] ( #9865 )
...
In admin settings, this Pr will add the UI for managing custom roles (
ref: https://github.com/chatwoot/chatwoot/pull/9995 ). It also handles
the routing logic changes to accommodate fine-tuned permissions.
---------
Co-authored-by: Pranav <pranavrajs@gmail.com >
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
Co-authored-by: iamsivin <iamsivin@gmail.com >
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2024-09-17 11:40:11 -07:00
Pranav and GitHub
73d448a203
fix: Remove feature flag for insert article into editor ( #10114 )
...
Fixes #10107
2024-09-16 12:25:49 +05:30
Sivin Varghese and GitHub
aa4edaa1e6
feat: Display emoji names and improve search ( #10104 )
...
This PR enhances the emoji search functionality in the editor's emoji selector by improving how emoji names are displayed and searched.
The UI now shows emoji names instead of slugs, and the search logic has been updated to generate `searchString` without whitespaces, allowing users to search for emojis like 'face_with' using 'facewith'
2024-09-13 10:54:18 +05:30
Muhsin Keloth and GitHub
2c17c95eab
feat: Add the ability to paste images to editor ( #10072 )
2024-09-11 09:44:13 +05:30
Sivin Varghese and GitHub
a3732c8f51
feat: Adds support for selecting emojis using the keyboard ( #10055 )
2024-09-04 11:32:54 +05:30