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
Pranav Raj S
c792cfc0be
feat: Use Fluent SVG icons on the dashboard ( #3482 )
2021-11-30 21:03:18 -08:00
Sojan Jose
6fdd4a2996
chore: Security Improvements to the API ( #2893 )
...
- Devise auth tokens are reset on password update
- Avatar attachment file type is limited to jpeg,gif and png
- Avatar attachment file size is limited to 15 mb
- Widget Message attachments are limited to types ['image/png', 'image/jpeg', 'image/gif', 'image/bmp', 'image/tiff', 'application/pdf', 'audio/mpeg', 'video/mp4', 'audio/ogg', 'text/csv']
- Widget Message attachments are limited to 40Mb size limit.
2021-09-01 15:08:05 +05:30
Sivin Varghese
c523a953f7
feat: Adds keyboard shortcuts for conversation actions ( #2672 )
...
* feat: Adds keyboard shortcuts for conversation actions
* Minor fixes
* Minor fixes
* Minor fixes and add new shortcut
* MInor fixes
* Review fixes
* Minor fixes
* Code cleanup
* Minor fixes
* Uses Alt or Option key instead of shift-key
* Review fixes
* Review fixes
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2021-08-09 00:38:52 -07:00
Sivin Varghese
e6e9916fdb
feat: Add drag and drop for images/files in the agent input box ( #2546 )
2021-06-30 20:32:17 +05:30
Nithin David Thomas
f79e489a0a
chore: Use button component in ReplyBox
...
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
2021-06-09 14:01:43 +05:30
Nithin David Thomas
38d1b0eae3
Chore: Reply panel emoji button size fixes ( #1896 )
2021-03-11 21:48:52 +05:30
Pranav Raj S
b93388b330
feat: Tag agents in a private note ( #1688 )
...
Co-authored-by: Sojan <sojan@pepalo.com >
2021-01-27 00:04:11 +05:30
Pranav Raj S
12491fa8d5
feat: Add "Enter to send" option on format mode ( #1671 )
2021-01-19 19:28:40 +05:30
Nithin David Thomas
54f15b73d3
feat: Markdown editor support ( #1657 )
...
Co-authored-by: Pranav <pranav@chatwoot.com >
2021-01-18 11:20:19 +05:30
Nithin David Thomas
fd181f18a1
feat: Update reply box UI 👀 ( #1623 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2021-01-13 18:06:25 +05:30