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
Pranav
b4d37fa16b
fix: Update help center styles, fix routing issues ( #9061 )
...
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
2024-03-04 09:57:14 -08:00
Sivin Varghese
d0cd1c8887
fix: Help center articles not accessible after authoring agent is deleted ( #8756 )
2024-01-23 14:06:51 +05:30
Nithin David Thomas
206433db32
feat: Adds dropdown to switch locales from articles list page ( #8402 )
2023-12-21 13:16:59 -08:00
Nithin David Thomas
0af27a2387
feat: Adds support for logo in portal settings page [CW-2585] ( #8354 )
2023-11-17 19:58:27 -08:00
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
35a9acf099
feat: Adds the ability to set an emoji for help center category ( #8111 )
2023-10-20 13:52:30 +05:30
Sivin Varghese
3ea54065b1
feat: Upgrade prompt for help center ( #8010 )
...
Co-authored-by: Sojan Jose <sojan@pepalo.com >
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2023-10-05 08:34:21 +05:30
Sivin Varghese
191b8a64fe
chore: Remove URLs from translations ( #7414 )
2023-06-29 15:09:02 +05:30
Nithin David Thomas
d01f2063d0
feat: Creates component to show articles search results [CW-1451] ( #7126 )
...
* feat: Creates component to show articles search results
* Adds story for the component
2023-05-22 15:15:19 +05:30
Nithin David Thomas
2c8ecbeceb
feat: Adds image attachment for help center articles ( #6426 )
...
* Added one more endpoint to attach tempfile and get logo
* Added one more endpoint to attach tempfile and get logo
* spec fixes
* Upload file for articles irrespective of the association
* Upload file for articles irrespective of the association
* Add multiple images with different keys
* feat: Adds image attachment for help center articles
* Adds validation for file upload
* Fixes space above image after adding to doc
* chore: Removed svg from file upload type
* Update app/javascript/dashboard/components/widgets/WootWriter/FullEditor.vue
Co-authored-by: Shivam Mishra <scm.mymail@gmail.com >
* Update app/javascript/dashboard/components/widgets/WootWriter/FullEditor.vue
Co-authored-by: Shivam Mishra <scm.mymail@gmail.com >
* Removes caption for the image
* Fixes woot prosemirror package version
* Update yarn.lock
* Update yarn.lock
---------
Co-authored-by: Tejaswini Chile <tejaswini@chatwoot.com >
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
Co-authored-by: iamsivin <iamsivin@gmail.com >
Co-authored-by: Shivam Mishra <scm.mymail@gmail.com >
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2023-02-15 21:11:32 -08:00
Sivin Varghese
b20f5e5cef
feat: Adds URL validation for domain and home page links ( #5761 )
2022-10-28 06:21:38 +05:30
Pranav Raj S
71ca530292
fix: Fix typo in help center ( #5661 )
2022-10-17 18:59:22 -07:00
Pranav Raj S
1761100c77
chore: Remove static URLs from the documentation ( #5461 )
2022-09-19 21:52:01 -07:00
Nithin David Thomas
80180a60c5
chore: Final touches for portals ( #5388 )
...
* chore: Final touches for portals
* Review fixes
* Minor fixes
* Fixes styles for input and buttons
* Minor fixes
* Spacing fixes on header
* Minor fixes
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
2022-09-05 12:46:27 +05:30
Sivin Varghese
d47a0ae461
feat: Adds the ability to edit/delete category ( #5385 )
2022-09-02 22:34:07 +05:30
Sivin Varghese
03c8251cc3
feat: Adds the ability to publish an article ( #5365 )
...
* feat: Adds the ability to publish an article
* chore: Disabled publish button and dropdown when there is no article id
* chore: Review fixes
* chore: Review fixes
* Update app/javascript/dashboard/routes/dashboard/helpcenter/components/Header/EditArticleHeader.vue
* chore: Review fixes
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2022-09-02 12:53:18 +05:30
Muhsin Keloth
403ff1a679
feat: Add the ability update/edit locale in portal ( #5377 )
2022-09-02 11:45:03 +05:30
Nithin David Thomas
a1663e4e49
feat: Adds pages to edit portals ( #5373 )
...
* feat: Adds pages to edit portals
* Update app/javascript/dashboard/i18n/locale/en/helpCenter.json
* Update app/javascript/dashboard/routes/dashboard/helpcenter/helpcenter.routes.js
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
* Review fixes
* Adds translations
* Fixes broken tests
* Update app/javascript/dashboard/routes/dashboard/helpcenter/components/PortalPopover.vue
* Update app/javascript/dashboard/routes/dashboard/helpcenter/components/PortalPopover.vue
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
2022-09-02 10:22:15 +05:30
Muhsin Keloth
504d339dd7
feat: Adds the ability to add new locale in portal ( #5363 )
2022-09-01 22:19:30 +05:30
Sivin Varghese
f4fc53b425
feat: Adds the ability to delete a portal ( #5305 )
2022-09-01 13:27:08 +05:30
Muhsin Keloth
6e945dd61e
feat: Add the ability to delete/archive articles ( #5319 )
2022-09-01 10:55:59 +05:30
Sivin Varghese
d14beeb654
feat: Article settings sidebar in new article page ( #5355 )
2022-08-30 14:41:27 +05:30
Muhsin Keloth
a788e7ac7a
feat: Create portal UI improvements ( #5261 )
2022-08-18 17:11:19 +05:30
Muhsin Keloth
0cd08065d1
feat: Adds the ability to create a new article ( #5255 )
2022-08-18 11:45:08 +05:30
Muhsin Keloth
b71291619c
feat: Adds the ability to edit article ( #5232 )
2022-08-16 17:55:34 +05:30
Sivin Varghese
12b6fb211a
feat: Created article settings side panel ( #5197 )
2022-08-10 11:58:19 +05:30
Sivin Varghese
9bc75225fe
feat: Category store integration ( #5218 )
...
* Add more actions
* Complete sidebar store integration
* Complete portal list store integration
* Fixed the specs
* Added missing specs
* Add comment
* Code cleanup
* Fixed all the spec issues
* Add portal and article API specs
* Add category name in article list
* Add more locales
* Code beautification
* Exclude locale from codeclimate ci
* feat: Category store integration
* chore: Minor fixes
* chore: API call fixes
* chore: Minor fixes
* chore: Minor fixes
* chore: Adds the ability for get articles based on categories
* chore: minor fixes
* chore: Minor fixes
* chore: fixes specs and minor improvements
* chore: Review fixes
* chore: Minor fixes
* chore: Review fixes
* chore: Review fixes
* chore: Spacing fixes
* Code cleanup
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2022-08-10 10:48:41 +05:30
Muhsin Keloth
16ad263a3a
feat: Add the ability add new portal ( #5219 )
2022-08-10 09:27:52 +05:30
Muhsin Keloth
20f3568583
feat: Portals store integration ( #5185 )
2022-08-08 15:47:32 +05:30
Sivin Varghese
11fe3f071e
feat: Component for listing the portal ( #5146 )
2022-08-02 20:03:51 +05:30
Sivin Varghese
ef9ea99b91
feat: Opening and closing portal switch ( #5126 )
2022-07-28 14:52:05 +05:30
Fayaz Ahmed
806e5efd7a
Portals Popover component ( #5052 )
...
* Portal Switch component
* Review fixes
* Update storybook props
* Review changes
* Popover component
* Review changes and moved the files to helpcenter folder
2022-07-27 14:37:55 +05:30
Fayaz Ahmed
ce66b31422
feat: Portal Switch component ( #5008 )
2022-07-27 13:56:49 +05:30
Muhsin Keloth
6368f9106a
feat: Article list view page ( #5122 )
2022-07-27 13:08:27 +05:30
Muhsin Keloth
bd7a56061e
feat: Create category component ( #5103 )
2022-07-26 12:15:01 +05:30
Sivin Varghese
92bb84127b
feat: Creates view for edit/new article page ( #5061 )
...
* feat: Creates view for edit/new article page
* chore: Minor fixes
* chore: Minor fixes
* Update HelpCenterLayout.vue
* chore: Minor fixes
* chore: Review fixes
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2022-07-26 11:39:53 +05:30
Sivin Varghese
c4b2005425
feat: Component for editing an article ( #5032 )
...
* feat: Component for editing an article
* chore: font fixes
* chore: Review fixes
* chore: fixes conflicts
* Update app/javascript/dashboard/components/helpCenter/EditArticle.vue
Co-authored-by: Nithin David Thomas <1277421+nithindavid@users.noreply.github.com >
* chore: Review fixes
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
Co-authored-by: Nithin David Thomas <1277421+nithindavid@users.noreply.github.com >
2022-07-19 09:28:19 +05:30
Sivin Varghese
f004db3d26
feat: New sidebar component for help-center ( #5017 )
...
* feat: New sidebar component for help-center
* chore: Review fixes
* chore: Minor fixes
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2022-07-18 11:16:36 +05:30
Muhsin Keloth
21a8b79aa5
feat: Article table component ( #5018 )
2022-07-18 10:47:15 +05:30
Muhsin Keloth
ce1f69b2bc
feat: Article item component ( #5007 )
2022-07-11 13:46:42 +05:30
Sivin Varghese
43f46e96d4
feat: Header for help-center pages ( #4987 )
2022-07-08 21:19:19 +05:30