Sivin Varghese
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
Sivin Varghese
0ccbe5882c
chore: Improvement is keyboard shortcuts ( #10925 )
2025-02-26 14:51:55 +05:30
Shivam Mishra
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
Sivin Varghese
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
Pranav
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
095aaf3de6
fix: Issues with drag and drop attachments to the editor ( #10235 )
2024-10-05 00:16:42 -07:00
Shivam Mishra
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
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
Pranav
73d448a203
fix: Remove feature flag for insert article into editor ( #10114 )
...
Fixes #10107
2024-09-16 12:25:49 +05:30
Shivam Mishra
dadd572f9d
refactor: useKeyboardEvents composable ( #9959 )
...
This PR has the following changes
1. Fix tab styles issue caused by adding an additional wrapper for
getting an element ref on `ChatTypeTabs.vue`
2. Refactor `useKeyboardEvents` composable to not require an element
ref. It will use a local abort controller to abort any listener
---------
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
2024-08-22 16:40:55 +05:30
Sivin Varghese
207933ed70
fix: TypeError cannot read properties of undefined (reading '$el') ( #9951 )
...
# Pull Request Template
## Description
This PR will fix an error `TypeError cannot read properties of undefined
(reading '$el')` with the keyboard shortcut `Alt+KeyA` for triggering
the file picker.
**Issue**
I couldn't able reproduce this issue. It might be because `$children`
was unavailable at the time of access.
**Solution**
Previously, it relied on `$children`. Now, it uses the more reliable
`querySelector` method to find the target element.
Fixes
https://chatwoot-p3.sentry.io/issues/5708410274/?alert_rule_id=15157525&alert_timestamp=1723552508790&alert_type=email&environment=production¬ification_uuid=be5966b2-f17d-4273-8709-98e3322f1f6f&project=4507182691975168&referrer=alert_email
## Type of change
- [x] Bug fix (non-breaking change which fixes an issue)
## How Has This Been Tested?
**Test cases**
1. Open a conversation
2. And click `Alt+KeyA` to trigger the file picker.
3. See if there is any issue or errors.
## 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
2024-08-14 11:22:51 +05:30
Sivin Varghese
89acbd8d09
feat: Replace the use of keyboardEventListener mixin to a composable (Part -2) ( #9892 )
2024-08-07 15:43:11 +05:30
Sivin Varghese
b4b308336f
feat: Eslint rules ( #9839 )
...
# Pull Request Template
## Description
This PR adds new eslint rules to the code base.
**Error rules**
| Rule name | Type | Files updated |
| ----------------- | --- | - |
| `vue/block-order` | error | ✅ |
| `vue/component-name-in-template-casing` | error | ✅ |
| `vue/component-options-name-casing` | error | ✅ |
| `vue/custom-event-name-casing` | error | ✅ |
| `vue/define-emits-declaration` | error | ✅ |
| `vue/no-unused-properties` | error | ✅ |
| `vue/define-macros-order` | error | ✅ |
| `vue/define-props-declaration` | error | ✅ |
| `vue/match-component-import-name` | error | ✅ |
| `vue/next-tick-style` | error | ✅ |
| `vue/no-bare-strings-in-template` | error | ✅ |
| `vue/no-empty-component-block` | error | ✅ |
| `vue/no-multiple-objects-in-class` | error | ✅ |
| `vue/no-required-prop-with-default` | error | ✅ |
| `vue/no-static-inline-styles` | error | ✅ |
| `vue/no-template-target-blank` | error | ✅ |
| `vue/no-this-in-before-route-enter` | error | ✅ |
| `vue/no-undef-components` | error | ✅ |
| `vue/no-unused-emit-declarations` | error | ✅ |
| `vue/no-unused-refs` | error | ✅ |
| `vue/no-use-v-else-with-v-for` | error | ✅ |
| `vue/no-useless-v-bind` | error | ✅ |
| `vue/no-v-text` | error | ✅ |
| `vue/padding-line-between-blocks` | error | ✅ |
| ~`vue/prefer-prop-type-boolean-first`~ | ~error~ | ❌ (removed this
rule, cause a bug in displaying custom attributes) |
| `vue/prefer-separate-static-class` | error | ✅ |
| `vue/prefer-true-attribute-shorthand` | error | ✅ |
| `vue/require-explicit-slots` | error | ✅ |
| `vue/require-macro-variable-name` | error | ✅ |
**Warn rules**
| Rule name | Type | Files updated |
| ---- | ------------- | ------------- |
| `vue/no-root-v-if` | warn | ❎ |
Fixes https://linear.app/chatwoot/issue/CW-3492/vue-eslint-rules
## Type of change
- [x] New feature (non-breaking change which adds functionality)
## 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
---------
Co-authored-by: Fayaz Ahmed <fayazara@gmail.com >
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
Co-authored-by: Shivam Mishra <scm.mymail@gmail.com >
Co-authored-by: Pranav <pranav@chatwoot.com >
2024-08-05 14:02:16 +05:30
Sivin Varghese
fb99ba7b40
feat: Rewrite uiSettings mixin to a composable ( #9819 )
2024-07-23 21:27:22 +05:30
Shivam Mishra
47f8b2cd0c
refactor: handling keyboard shortcuts ( #9242 )
...
* fix: Resolve and go next keyboard shortcuts doesn't work
* refactor: use buildHotKeys instead of hasPressedCommandPlusAltAndEKey
* feat: install tinykeys
* refactor: use tinykeys
* test: update buildKeyEvents
* fix: remove stray import
* feat: handle action list globally
* feat: allow configuring `allowOnFocusedInput`
* chore: Navigate chat list item
* chore: Navigate dashboard
* feat: Navigate editor top panel
* feat: Toggle file upload
* chore: More keyboard shortcuts
* chore: Update mention selection mixin
* chore: Phone input
* chore: Clean up
* chore: Clean up
* chore: Dropdown and editor
* chore: Enter key to send and clean up
* chore: Rename mixin
* chore: Review fixes
* chore: Removed unused shortcut from modal
* fix: Specs
---------
Co-authored-by: iamsivin <iamsivin@gmail.com >
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
2024-04-26 15:41:02 +05:30
Sivin Varghese
dafedddc1a
feat: Remove Foundation in favor of Tailwind ( #8984 )
...
* feat: Remove foundation
* chore: Minor fix
* Minor fix
* Update _forms.scss
* chore: More changes
* chore: Minor fix
* chore: Clean up
* fix: font-weight
* chore: More changes
* chore: Setting page
* chore: Editor fix
* chore: Reports page
* chore: More changes
* chore: Minor changes
* chore: More fixes
* chore: More changes
* chore: More changes
* chore: More changes
* chore: Minor fix
* chore: More changes
* chore: More changes
* chore: More changes
* chore: More changes
* chore: Clean up
* chore: Minor fix
* chore: Clean ups
* chore: Rename basic file
* chore: Remove unused files
* chore: Fix expanded input
* Fix campaign rendering
* chore: Clean up
* chore: More changes
* chore: Remove unused files
* fix: Overflow issue
* chore: Minor fix
* chore: Clean up
* chore: Minor fix
* chore: Remove unused files
* chore: Minor fix
* chore: Minor fix
* fix: autoprefixer start/end value has mixed support
* chore: Minor fix
* chore: Remove unused files
* chore: Minor fix
* chore: Minor fix
* chore: Minor fix
* Add responsive design to label settings
* fix inbox view
* chore: Minor fix
* w-60% to w-2/3
* chore: Fix team
* chore: Fix button
* w-[34%] to w-1/3
* chore: Fix border
* Add support mobile views in team page
* chore: fix snackbar
* chore: clean up
* chore: Clean up
* fix: loading state alignment
* fix: alert styles
* chore: Minor fix
* fix: spacing for agent bot row
* fix: layout
* fix: layout for SLA
* fix: checkbox
* fix: SLA checkbox spacing
* Update inbox settings pages
* fix macros listing page layout
* fix canned responses
* chore: Fix bot page
* chore: fix automation page
* chore: fix agents page
* chore: fix canned response editor
* chore: Fix settings table
* chore: fix settings layout
* chore: Minor fix
* fix: canned response table layou
* fix: layout for table header for webhooks
* fix: webhook row layout
* fix: dashboard app modal layout
* fix: add title to canned response truncated shortcode
* fix: dashboard apps row layuot
* fix: layouts hooks
* fix: body color
* fix: delete action color in portal locales
* fix: text color for campagin title
* fix: success button color
---------
Co-authored-by: Pranav <pranav@chatwoot.com >
Co-authored-by: Vishnu Narayanan <iamwishnu@gmail.com >
Co-authored-by: Shivam Mishra <scm.mymail@gmail.com >
2024-02-28 13:56:28 +05:30
Sivin Varghese
e67f8824d9
fix: Backdrop color for insert article modal in dark mode ( #8711 )
2024-01-16 18:36:43 +05:30
Muhsin Keloth
fdc1123b18
feat: Add support for attachments(image and video) in LINE channel ( #8425 )
2023-12-01 07:23:35 +05:30
Shivam Mishra
5d224f2e04
feat: allow inbox specific flags for signature toggle ( #8280 )
...
Co-authored-by: Nithin David Thomas <1277421+nithindavid@users.noreply.github.com >
2023-11-08 10:47:22 +05:30
Nithin David Thomas
39d0748a5b
feat: Lets users insert connected portal article into replies [CW-2282] ( #8117 )
...
- Lets users insert connected portal articles into replies
https://linear.app/chatwoot/issue/CW-2282/list-all-the-top-articles-from-the-connected-help-center
https://linear.app/chatwoot/issue/CW-1453/container-view-for-showing-search-input-and-result-items
2023-11-04 02:57:25 -07:00
Sivin Varghese
759a66dd21
feat: Add the ability to send attachment in new conversation ( #7913 )
2023-10-10 09:34:36 +05:30
Shivam Mishra
48bf8d08e5
feat: Update dependencies and fix import syntax for Vite migration ( #7959 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2023-09-21 17:55:54 +05:30
Shivam Mishra
29110ffd6b
feat: Allow signature in the editor directly ( #7881 )
...
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2023-09-15 18:46:40 +05:30
Pranav Raj S
71e9566854
Revert "feat: Ability to send attachment in new conversation ( #7698 )" ( #7903 )
2023-09-12 20:57:49 +05:30
Sivin Varghese
8bc2bc6d40
feat: Ability to send attachment in new conversation ( #7698 )
...
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2023-09-08 12:12:24 +05:30
Sivin Varghese
69d46f278a
feat: Dark mode improvements ( #7658 )
2023-08-03 12:05:22 -07:00
Sivin Varghese
fcf0ba12d0
feat: Dark Mode (PR -12) ( #7590 )
2023-07-27 12:28:06 +05:30
Sivin Varghese
40ec0d109a
feat: Dark Mode ( #7471 )
2023-07-21 22:10:25 +05:30
Pranav Raj S
985b3f3bfc
chore: Reset the base font-size to 16px instead of 10px ( #7455 )
...
Co-authored-by: Nithin David Thomas <1277421+nithindavid@users.noreply.github.com >
2023-07-04 03:23:00 +05:30
Muhsin Keloth
86384bf876
feat: Reply suggestion and summary generation using OpenAI ( #7029 )
...
Add `reply_suggestions` and `summary_generation` options for OpenAI integration
Fixes: https://linear.app/chatwoot/issue/CW-1595/frontend-for-generating-conversation-summary
Co-authored-by: Nithin David Thomas <1277421+nithindavid@users.noreply.github.com >
Co-authored-by: Sojan Jose <sojan@pepalo.com >
2023-05-10 17:50:37 +05:30
Muhsin Keloth
92fa9c4fdc
feat: Ability to improve drafts in the editor using GPT integration ( #6957 )
...
ref: https://github.com/chatwoot/chatwoot/issues/6436
fixes: https://linear.app/chatwoot/issue/CW-1552/ability-to-rephrase-text-in-the-editor-using-gpt-integration
---------
Co-authored-by: Sojan <sojan@pepalo.com >
Co-authored-by: Nithin David Thomas <1277421+nithindavid@users.noreply.github.com >
2023-04-24 23:52:23 +05:30
Pranav Raj S
24cf7af30b
feat: Add video call option with Dyte in the dashboard ( #6207 )
...
Co-authored-by: Nithin David Thomas <1277421+nithindavid@users.noreply.github.com >
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
2023-01-09 11:49:27 -08:00
Muhsin Keloth
c9cae01cb4
fix: Support audio in safari browser ( #5943 )
2022-12-05 12:30:56 +05:30
Pranav Raj S
e19c6d5671
chore: Add editor toggle for API inbox ( #5660 )
2022-10-17 18:52:51 -07:00
Pranav Raj S
20b4a91122
chore: Add feature flags in the settings console ( #5657 )
2022-10-17 14:59:44 -07:00
Sivin Varghese
beedfc47bf
feat: Allow users to select Cmd+Enter as a hotkey ( #4401 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2022-10-03 15:27:34 -07:00
Pranav Raj S
8af27d861b
chore: Default to rich content editor in website and email channel ( #5357 )
2022-09-13 05:41:42 -07:00
Sivin Varghese
a9d687565e
chore: Displayed WhatsApp API provider name in inbox settings ( #5346 )
2022-08-29 12:40:15 +05:30
Sivin Varghese
8bc560752f
fix: File validations for Twilio WhatsApp Channel ( #5294 )
...
Fixes : #5289 #2971
- Removed unsupported attachment file format from Twilio WhatsApp Channel. https://www.twilio.com/docs/whatsapp/guidance-whatsapp-media-messages
- Added 5 MB attachment file limit for Twilio SMS Channel.
2022-08-23 18:35:31 +05:30
Pranav Raj S
1bb0371c1d
feat: Add agent_reply_time_window in API channels ( #4857 )
2022-06-14 18:05:37 +05:30
Fayaz Ahmed
bad24f97ab
feat: Add support for Whatsapp template messages in the UI ( #4711 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2022-06-07 17:33:33 +05:30
giquieu
96b719017b
feat: Ability to send voice message to channel ( #4064 )
...
Created the possibility to send audio as an attachment via the dashboard.
The channels that can send audio are the same channels that can send any type of attachment.
Used RecordRTC (https://github.com/muaz-khan/RecordRTC ) to capture the audio and Wavesurfer (https://github.com/katspaugh/wavesurfer.js ) to display the audio waves.
RecordRTC can be used to record videos if necessary.
Fixes #1973
2022-03-04 19:43:07 +05:30
Nithin David Thomas
2c8a3ef3b2
fix: Message signature going with other channels message ( #4024 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2022-02-25 16:36:10 +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
Nithin David Thomas
351a3dc372
feat: Adds email signature form to profile settings ( #3906 )
2022-02-15 10:38:24 +05:30
Pranav Raj S
e0d24e0a73
chore: Use globalConfig in NetworkNotification ( #3871 )
2022-02-01 12:25:51 +05:30
Tejaswini Chile
69eaf3ff7f
feat: Activestorage direct upload ( #3768 )
2022-01-27 15:57:22 +05:30
Nithin David Thomas
8cff690640
feat: Support multiple file upload on dashboard ( #3748 )
...
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
2022-01-24 18:46:58 -08:00
Sojan Jose
6fe5484119
chore: Allow more filetypes in uploads ( #3557 )
...
- Allowing the ability to upload more common file types like zip, Docx etc
- Fallback for image bubble when the image URL isn't available
fixes : #3270
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
Co-authored-by: Nithin David <1277421+nithindavid@users.noreply.github.com >
2021-12-20 23:50:37 +05:30
Nithin David Thomas
c2191e48b1
Chore: Fixes icon size in button ( #3555 )
...
* Chore: Fixes icon size in button
* Changes normal button to woot button
2021-12-14 17:37:25 +05:30