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 
							
						 
					 
					
						
						
							
						
						79aa5a5d7f 
					 
					
						
						
							
							feat: Replace alertMixin usage with useAlert ( #9793 )  
						
						 
						
						... 
						
						
						
						# Pull Request Template
## Description
This PR will replace the usage of `alertMixin` from the code base with
the `useAlert` composable.
Fixes
https://linear.app/chatwoot/issue/CW-3462/replace-alertmixin-usage-with-usealert 
## Type of change
- [x] Breaking change (fix or feature that would cause existing
functionality not to work as expected)
## How Has This Been Tested?
Please refer this issue description
https://linear.app/chatwoot/issue/CW-3462/replace-alertmixin-usage-with-usealert 
## 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
- [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: Sojan Jose <sojan@pepalo.com > 
						
						
					 
					
						2024-07-23 16:41:11 +05:30  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Sivin Varghese 
							
						 
					 
					
						
						
							
						
						12af2fe026 
					 
					
						
						
							
							feat: Remove the usage of clickAway mixin with directive ( #9323 )  
						
						 
						
						
						
						
					 
					
						2024-04-30 10:35:14 +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  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Sivin Varghese 
							
						 
					 
					
						
						
							
						
						528da1d2cf 
					 
					
						
						
							
							feat: Add support for dark mode in more pages  
						
						 
						
						... 
						
						
						
						Co-authored-by: Pranav Raj S <pranav@chatwoot.com > 
						
						
					 
					
						2023-07-05 19:26:24 -07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Nithin David Thomas 
							
						 
					 
					
						
						
							
						
						09ce85b30d 
					 
					
						
						
							
							Chore: moves localstorage helper as a shared utility ( #6838 )  
						
						 
						
						... 
						
						
						
						* Chore: moves localstorage helper as a shared utility and refactors constants
* Refactors constants file
* Fixes merge conflicts
* Delete constants.js
---------
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com > 
						
						
					 
					
						2023-04-11 15:50:46 +05:30  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Muhsin Keloth 
							
						 
					 
					
						
						
							
						
						e753365493 
					 
					
						
						
							
							feat: Add the ability to change the agent availability status ( #6855 )  
						
						 
						
						... 
						
						
						
						* Add the option change agent availability
* Remove callout
* Move `AVAILABILITY_STATUS_KEYS` to constants
* Update app/javascript/dashboard/i18n/locale/en/agentMgmt.json
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
---------
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com > 
						
						
					 
					
						2023-04-10 13:37:12 +05:30  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Nithin David Thomas 
							
						 
					 
					
						
						
							
						
						2674130714 
					 
					
						
						
							
							chore: Refactors chatlist header css to work with RTL ( #6520 )  
						
						 
						
						... 
						
						
						
						authored by 1277421+nithindavid@users.noreply.github.com  
						
						
					 
					
						2023-02-23 16:45:56 +05:30  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Pranav Raj S 
							
						 
					 
					
						
						
							
						
						aaacf9d4d2 
					 
					
						
						
							
							feat: Allow users to disable marking offline automatically ( #6079 )  
						
						 
						
						... 
						
						
						
						Co-authored-by: Nithin David <1277421+nithindavid@users.noreply.github.com > 
						
						
					 
					
						2022-12-16 11:59:27 -08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Pranav Raj S 
							
						 
					 
					
						
						
							
						
						0319b78eac 
					 
					
						
						
							
							fix: Allow users to login even if they have access to more than 15 accounts ( #4475 )  
						
						 
						
						
						
						
					 
					
						2022-04-14 20:54:26 +05:30  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Nithin David Thomas 
							
						 
					 
					
						
						
							
						
						b01d032d0d 
					 
					
						
						
							
							feat: Updates sidebar to accomodate sub menu  ( #3416 )  
						
						 
						
						... 
						
						
						
						* Enhancement: Updates sidebar to a new design (#2733 )
* feat: Changes primary navbar to new design (#2598 )
* feat: updates design for secondary navbar (#2612 )
* Changes primary nvbar to new design
* Updates design for contexual sidebar
* Fixes issues with JSON
* Remove duplication of notificatons in Navigation
* Fixes broken tests
* Fixes broken tests
* Update app/javascript/dashboard/components/layout/AvailabilityStatus.vue
* Update app/javascript/dashboard/components/layout/AvailabilityStatus.vue
* Update app/javascript/dashboard/components/layout/SidebarItem.vue
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
* Update app/javascript/dashboard/components/layout/SidebarItem.vue
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
* Update app/javascript/dashboard/modules/sidebar/components/Secondary.vue
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
* Chore: Update design changes to features
* Fixes menu transitions and refactors code
* Refactors sidebar routeing logic
* lint error fixes
* Fixes dropdown menu styles
* Fixes secondary new item links
* Fixes lint scss issues
* fixes linter issues
* Fixes broken test cases
* Update AvailabilityStatus.spec.js
* Review feedbacks
* Fixes add modal for label
* Add tooltip for primary menu item
* Tooltip for notifications
* Adds tooltip for primary menu items
* Review fixes
* Review fixes
* Fix merge issues
* fixes logo size for login pages
* fixes Merge breaks with styles
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
Co-authored-by: Pranav Raj S <pranav@chatwoot.com > 
						
						
					 
					
						2021-12-01 12:45:39 +05:30  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Sojan Jose 
							
						 
					 
					
						
						
							
						
						cebd34053b 
					 
					
						
						
							
							chore: Use availability in dashboard presence toggle ( #3212 )  
						
						 
						
						
						
						
					 
					
						2021-10-15 00:30:48 +05:30  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Sojan Jose 
							
						 
					 
					
						
						
							
						
						c54aae21ff 
					 
					
						
						
							
							chore: Move agent availability to Account level ( #3074 )  
						
						 
						
						... 
						
						
						
						- Move agent availability to the account level 
						
						
					 
					
						2021-10-07 13:21:46 +05:30  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Nithin David Thomas 
							
						 
					 
					
						
						
							
						
						c681e8a01b 
					 
					
						
						
							
							chore: Refactor button styles ( #2259 )  
						
						 
						
						
						
						
					 
					
						2021-05-20 13:51:46 +05:30  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Sivin Varghese 
							
						 
					 
					
						
						
							
						
						73d30b7f69 
					 
					
						
						
							
							chore: Refactor sidebar button with woot-button ( #2231 )  
						
						 
						
						... 
						
						
						
						Co-authored-by: Nithin David Thomas <webofnithin@gmail.com > 
						
						
					 
					
						2021-05-13 15:39:10 +05:30  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Muhsin Keloth 
							
						 
					 
					
						
						
							
						
						fdbc32f7c2 
					 
					
						
						
							
							enhancement: Show agent availability status in conversation assignee select list ( #2122 )  
						
						 
						
						... 
						
						
						
						* show agent status on conversation assignation
* add agent status in contact sidebar
* availability status badge component
* review fixes
* review fixes
* chore: Fixes issue with status badge (#2136 )
* add empty case in agent list
* Chore: Availability badge shape issue. #2140 
Co-authored-by: Nithin David <webofnithin@gmail.com >
Co-authored-by: Sojan <sojan@pepalo.com >
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com > 
						
						
					 
					
						2021-04-21 12:18:48 +05:30  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Sivin Varghese 
							
						 
					 
					
						
						
							
						
						98f4a2f6f3 
					 
					
						
						
							
							Fix: Dropdown width issue fixes by using fit-content ( #2048 )  
						
						 
						
						... 
						
						
						
						* Dropdown width issue fixes by using fit-content
* Review fixes
* Review fixes
* Review fixes
* Review fixes
Co-authored-by: Nithin David Thomas <webofnithin@gmail.com > 
						
						
					 
					
						2021-04-08 19:42:38 +05:30  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Sivin Varghese 
							
						 
					 
					
						
						
							
						
						e289106c5b 
					 
					
						
						
							
							Chore: Hover color for status dropdown ( #1906 )  
						
						 
						
						
						
						
					 
					
						2021-03-20 13:08:56 +05:30  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Pranav Raj S 
							
						 
					 
					
						
						
							
						
						3ee453c01e 
					 
					
						
						
							
							fix: Avoid keys getting translated in availability ( #1418 )  
						
						 
						
						
						
						
					 
					
						2020-11-17 10:39:46 +05:30  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Muhsin Keloth 
							
						 
					 
					
						
						
							
						
						afa234a207 
					 
					
						
						
							
							feat: Add status color for items in availability status menu ( #1380 )  
						
						 
						
						
						
						
					 
					
						2020-11-04 12:23:44 +05:30  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Dmitriy Shcherbakan 
							
						 
					 
					
						
						
							
						
						127ffda762 
					 
					
						
						
							
							feat: Change availability status from sidebar ( #1288 )  
						
						 
						
						... 
						
						
						
						Co-authored-by: Pranav Raj S <pranav@thoughtwoot.com > 
						
						
					 
					
						2020-10-02 11:16:12 +05:30