Sivin Varghese
2ee63656e2
feat: Prevent saving preferences and status when impersonating ( #11164 )
...
This PR will prevent saving user preferences and online status when impersonating. Previously, these settings could be updated during impersonation, causing the user to see a different view or UI settings.
Fixes https://linear.app/chatwoot/issue/CW-4163/impersonation-improvements
2025-05-20 17:34:30 -07:00
Sivin Varghese
cc4d54becf
chore: Update buttons in dashboard ( #11145 )
...
# Pull Request Template
## Changes
* Remove unused component `MaskedText.vue`
* Remove unused component `ContactIntro.vue`
* Remove unused `AddCustomViews.vue` component
* Update buttons in help center upgrade page
<img width="741" alt="image"
src="https://github.com/user-attachments/assets/f46b8ffa-ef74-4b83-95c1-83842844c4b7 "
/>
* Update SLA view details button in reports page
<img width="419" alt="image"
src="https://github.com/user-attachments/assets/7db6bff6-9ba5-4c13-850f-b9d4dbb55489 "
/>
* Update assign to me conversation action button
<img width="152" alt="image"
src="https://github.com/user-attachments/assets/587ee1fe-93c9-48e0-910a-390dd4eac1f2 "
/>
* Update button in participants action
<img width="365" alt="image"
src="https://github.com/user-attachments/assets/50eb386f-882b-4277-ad61-d557893ac490 "
/>
<img width="365" alt="image"
src="https://github.com/user-attachments/assets/3c64ed42-0203-43c6-9a26-8ad9465aa394 "
/>
* Update the show more attributes button
<img width="365" alt="image"
src="https://github.com/user-attachments/assets/f2105a2f-8441-4d8b-b355-dfe97ce2e362 "
/>
* Update SLA empty state
<img width="376" alt="image"
src="https://github.com/user-attachments/assets/55fd4376-6183-45c9-acb2-6ad5a6a58730 "
/>
* Update create new label button from dropdown
<img width="376" alt="image"
src="https://github.com/user-attachments/assets/bb8226d0-795f-431f-8fe4-15d15ee1d695 "
/>
* Update add macro button
<img width="382" alt="image"
src="https://github.com/user-attachments/assets/b6375402-5213-4041-841b-09c2157ed56a "
/>
* Update copy button
<img width="382" alt="image"
src="https://github.com/user-attachments/assets/f1929d63-f7ca-4eab-bfa8-716be2aa4be8 "
/>
* Update the buttons in banner component
<img width="849" alt="image"
src="https://github.com/user-attachments/assets/bb86b498-ab8e-4a92-8c6a-60edcef0fd7b "
/>
<img width="838" alt="image"
src="https://github.com/user-attachments/assets/4bde00de-907e-49ac-9128-f364a90cd3c1 "
/>
* Update table pagination buttons
<img width="968" alt="image"
src="https://github.com/user-attachments/assets/8d439af6-8126-4fad-a3fe-89b26a56f880 "
/>
<img width="968" alt="image"
src="https://github.com/user-attachments/assets/a178b3d7-3385-4a2b-a0d7-35be9a25fd93 "
/>
* Update filter chip buttons and dropdown colors
<img width="541" alt="image"
src="https://github.com/user-attachments/assets/7be1f418-82df-4db6-b265-4c185fc79f4b "
/>
<img width="541" alt="image"
src="https://github.com/user-attachments/assets/69110d75-85e9-4974-8c2a-e195b23a335c "
/>
<img width="173" alt="image"
src="https://github.com/user-attachments/assets/c8f5bc82-15b4-4f25-b7d4-35a9280ec7c6 "
/>
<img width="565" alt="image"
src="https://github.com/user-attachments/assets/7dad1d00-784b-46eb-b823-e6e55d5f9dc8 "
/>
<img width="565" alt="image"
src="https://github.com/user-attachments/assets/384a86ed-f45f-488c-b9aa-1f02b16c813d "
/>
---------
Co-authored-by: Pranav <pranav@chatwoot.com >
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
Co-authored-by: Shivam Mishra <scm.mymail@gmail.com >
2025-03-31 17:21:32 -07:00
Vishnu Narayanan
ee02923ace
chore: fix circleci on vite build ( #10214 )
...
- Switch to pnpm based build
- Switch circleci from docker to machine to have more memory
- Fix frontend and backend tests
Fixes
https://linear.app/chatwoot/issue/CW-3610/fix-circle-ci-for-vite-build
---------
Co-authored-by: Shivam Mishra <scm.mymail@gmail.com >
Co-authored-by: Pranav <pranavrajs@gmail.com >
Co-authored-by: Pranav <pranav@chatwoot.com >
2024-10-07 15:27:41 +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
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