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
Sojan Jose
3b141fca28
chore: Add internal feature flags for Chatwoot Cloud ( #10902 )
...
This PR introduces internal feature flags for testing purposes. These
flags will not be displayed on regular instances to prevent customer
confusion.
Additionally, a new feature flag, `contact_chatwoot_support_team`, has
been added for Chatwoot Cloud. This flag disables contact support for
third-party onboarded accounts, as support will be handled by the
original affiliate team.
Co-authored-by: Pranav <pranav@chatwoot.com >
2025-02-15 16:21:46 -08:00
Shivam Mishra
c51a458c25
style: apply fixes for eslint issues [cw-3590] ( #10210 )
...
These fixes are all auto generated and can be merged directly
Fixes the following issues
1. Event used on components should be hypenated
2. Attribute orders in components
3. Use `unmounted` instead of `destroyed`
4. Add explicit `emits` declarations for components, autofixed [using
this
script](https://gist.github.com/scmmishra/6f549109b96400006bb69bbde392eddf )
We ignore the top level v-if for now, we will fix it later
2024-10-03 15:02:12 +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
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
Liam
961c911c26
fix: Fix the issue where tag agent option is appearing above the profile menu ( #7743 )
2023-08-17 09:23:26 -07:00
Sivin Varghese
10d6e9551d
feat: Add the option to toggle the dark/light color-scheme ( #7662 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2023-08-03 12:21:45 -07:00
Liam
63dd2c5a93
fix: Avoid profile options menu overlapping with message tabs ( #7615 )
2023-07-25 21:55:57 -07:00
Sivin Varghese
571e6bd0ec
fix: Update broken design elements in dashboard ( #7468 )
2023-07-06 11:58:54 -07:00
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
Sivin Varghese
3054a4cb59
feat: Add support for dark mode in dashboard ( #7460 )
...
- Add config for TailwindCSS
- Enable HMR
- Add a config in LocalStorage for Dark Mode
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2023-07-05 12:13:32 -07:00
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
Sivin Varghese
9fcb29484d
chore: Refactor sidebar related changes for RTL ( #6519 )
...
* Woot tabs
* Refactor sidebar related RTL
* Context menu
* chore: Minor fixes
* chore: Dropdown
* chore: Toggle switch
* chore: sidebar fixes
* fix: spacing issues and minor fixes
* chore: Space slab to small
---------
Co-authored-by: Nithin David <1277421+nithindavid@users.noreply.github.com >
2023-02-24 13:01:54 +05:30
Sojan Jose
ca1adb9960
feat: conversation participants ( #4145 )
...
Fixes #241
Fixes : chatwoot/product#648
Co-authored-by: Aswin Dev P.S <aswindevps@gmail.com >
Co-authored-by: Nithin David Thomas <1277421+nithindavid@users.noreply.github.com >
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2023-02-16 13:35:06 +05:30
Pranav Raj S
2dfe38ae4d
chore: Cleanup feature flags ( #6096 )
...
- Add more feature flags for CRM, auto_resolution, and reports
- Add a SuperAdmin link in the sidebar if the user is a super-admin
- SuperAdmin could view all the features on an account irrespective of whether the feature is enabled.
2022-12-19 22:38:30 +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
Nithin David Thomas
223fb2b7e4
chore: Updates design of resolve context menu ( #3667 )
2021-12-29 22:24:11 +05:30
Pranav Raj S
8b4134c790
fix: Update route permissions in the new primary menu ( #3499 )
...
* fix: Display rolewise primary sidebar
* Fix issues with roles
* Fix active style
* Fix accessible menu
* Fix key missing
* Changes menu icon size
Co-authored-by: Nithin David <1277421+nithindavid@users.noreply.github.com >
2021-12-02 11:02:43 +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
Pranav Raj S
4759730022
feat: Configure Chatwoot & Analytics for SaaS app ( #2975 )
...
* feat: Add Chatwoot support inside Chatwoot SaaS
* Fix identity issues with Chatwoot
2021-09-07 23:11:01 +05:30
Sivin Varghese
c3314dd186
feat: Creates a modal showing all the available keyboard shortcuts ( #2728 )
...
* feat: Adds modal showing all the available keyboard shortcuts
* Minor fixes
* Minor fixes
* Spacing fixes
* fix translations
* Adds i18n
* Review fixes
* Review fixes
* spacing fixes
* Review fixes
* Minor fixes
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2021-08-09 21:23:40 -07:00
Nithin David Thomas
c681e8a01b
chore: Refactor button styles ( #2259 )
2021-05-20 13:51:46 +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
d4c2a78db6
chore: Add Chatwoot SDK to Chatwoot Dashboard ( #1726 )
...
Add Chatwoot SDK to Chatwoot Dashboard
2021-02-08 16:38:35 +05:30