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
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
ec7434d000
feat: Remove twitter ( #7505 )
2023-07-11 14:00:11 -07:00
Vishnu Narayanan
332ab5888c
feat: Disable fb/instagram if env variables are not configured ( #7498 )
2023-07-10 12:28:55 -07:00
Pranav Raj S
9bbadc2388
chore: Create a resuable component for selecting a channel ( #6241 )
2023-01-11 21:13:51 -08:00
smartdev58
2a1a38f986
chore: Add feature flags for campaigns and website channel ( #5778 )
...
Co-authored-by: Tejaswini Chile <tejaswini@chatwoot.com >
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2022-12-14 16:06:26 -08:00
Tejaswini Chile
40d0b2faf3
feat: Add Instagram Channel ( #2955 )
2021-10-05 14:35:32 +05:30
Sojan Jose
0a38632f14
feat: Line Channel ( #2904 )
...
- Ability to configure line bots as a channel in chatwoot
- Receive a message sent to the line bot in chatwoot
- Ability to reply to line users from chatwoot
fixes : #2738
2021-09-11 01:31:17 +05:30
Sojan Jose
671c5c931f
feat: Telegram Channel ( #2901 )
...
- Ability to configure telegram bots as a channel in chatwoot
- Receive a message sent to the telegram bot in chatwoot
- Ability to reply to telegram users from chatwoot
- Receive attachment messages in chatwoot
fixes : #1843
2021-09-10 00:00:52 +05:30
Pranav Raj S
b7806fc210
fix: Update styles to fix the image resolution on smaller devices ( #2618 )
2021-07-13 18:54:33 +05:30
Siddharth Ramesh
fc4ef1595b
chore: Twilio to individual(SMS/Whatsapp) channels ( #2566 )
2021-07-12 22:33:39 +05:30
Pranav Raj S
1ebab21cfa
chore: Configure API channel name and thumbnail ( #2398 )
2021-06-08 00:22:36 +05:30
Zero King
db4997c07f
fix: Array length check ( #1300 )
2020-10-03 14:07:50 +05:30
Pranav Raj S
db877453a4
feat: Disable attachments and emoji picker in the web widget ( #1102 )
...
Signed-off-by: Pranav Raj Sreepuram <pranavrajs@gmail.com >
2020-08-05 17:46:17 +05:30
Sojan Jose
8079bf50a0
Feature: API Channel ( #1052 )
2020-07-21 12:15:24 +05:30
Pranav Raj S
929575f11a
Chore: Update copy on Signup page ( #1023 )
2020-07-09 16:28:09 +05:30
Sojan Jose
e41bd56f41
Chore: Feature Flags for Channels ( #1010 )
2020-07-06 11:16:19 +05:30
Pranav Raj S
a1a81e3799
Feature: Twilio SMS Channel ( #658 )
...
Twilio SMS Channel
Fixes : #350
2020-04-05 22:11:27 +05:30
Pranav Raj S
30f4c08143
Feature: SignIn with Twitter ( #479 )
...
* Add Twitter SignIn flow
Co-authored-by: Sojan Jose <sojan@pepalo.com >
2020-02-11 14:27:38 +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
Pranav Raj S
2783fb6006
Move src to dashboard ( #152 )
2019-10-16 14:36:17 +05:30