Commit Graph
2172 Commits
Author SHA1 Message Date
Shivam Mishra 63f8a49107 fix: ensure v$ is present 2024-07-25 16:35:42 +05:30
Sivin VargheseandGitHub 2f46f337f0 Merge branch 'develop' into chore/vuelidate-v2-migration 2024-07-25 15:35:05 +05:30
Sivin VargheseandGitHub 239c61095a fix: Show add/import/export buttons in mobile view (#9761) 2024-07-25 14:08:32 +05:30
Shivam MishraandGitHub 5695eafa29 Merge branch 'develop' into chore/vuelidate-v2-migration 2024-07-25 11:25:33 +05:30
Shivam Mishra 1bd654a8c5 test: fix usage of email validator 2024-07-25 11:13:20 +05:30
8b1d98af52 feat: Update the design for integration page (#9825)
Combine integrations and applications page into one page. 

<img width="1182" alt="Screenshot 2024-07-23 at 3 30 51 PM"
src="https://github.com/user-attachments/assets/50920a6f-606f-44b3-b1e4-641046a14444">

Major changes:

- The app enabled?, active? checks are all moved to backend.
- The dashboard_apps integration is also now part of the apps.yml file.
- Updated the header design for the new settings pages.
- Merged the folders integrationapps and integrations. 
- Updated the copy to match the size of the card and provide clear
instruction.
- Only the list page is updated in this PR, rest of the pages are yet to
be migrated.


| Integration | Verified | 
| -- | -- |
| Dashboard Apps |  | 
| Dyte |  | 
| Slack |  | 
| Webhooks |  | 
| Dialogflow |  | 
| Google Translate |  | 
| OpenAI |  | 
| Linear |  |

---------

Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com>
2024-07-24 16:35:40 -07:00
Sojan JoseandGitHub 8e2b329202 feat: Render instagram reels in Chatwoot (#9829)
- Previously we were ignoring the reels shared over Instagram messages.
This PR will render the reels with in Chatwoot.

followup : we need to render reels in a better interface so that it is
clearly denoted to the user that its an Instagram reel
2024-07-24 12:58:12 -07:00
Shivam Mishra ded2a72476 feat: use custom validations for macro actions 2024-07-24 20:47:19 +05:30
Shivam Mishra 55d6b0ce86 feat: use custom validation instead of vuelidate 2024-07-24 18:45:38 +05:30
Shivam Mishra 61ba2c8499 feat: use custom validator for automation rule 2024-07-24 18:36:57 +05:30
Shivam Mishra 893c88fb2d feat: remove Vuelidate usage 2024-07-24 17:18:50 +05:30
Shivam Mishra 8b57bcdd02 Merge branch 'develop' of github.com:chatwoot/chatwoot into chore/vuelidate-v2-migration 2024-07-24 17:16:53 +05:30
Shivam Mishra cf063e14d4 feat: import validators from the new library 2024-07-24 17:04:42 +05:30
Shivam Mishra 1f241e4546 refactor: use vuelidate for vue 3 in EditAutomationRule 2024-07-24 17:03:02 +05:30
Shivam Mishra 3ebf219ffa refactor: use vuelidate for vue 3 in AddAutomationRule.vue 2024-07-24 17:01:50 +05:30
Shivam Mishra ff92e6ef63 refactor: use v$ instead of in SlaForm.vue 2024-07-24 17:00:22 +05:30
Shivam Mishra b5bdb00e44 refactor: use vuelidate for vue 3 in SlaTimeInput 2024-07-24 16:59:37 +05:30
Shivam Mishra 45ff41a6ae refactor: use @vuelidate for vue 3 in MacroForm, MacroNode and MacroProperties 2024-07-24 16:58:15 +05:30
Shivam Mishra c8739caaa6 refactor: use v$ instead of in AddAgent.vue 2024-07-24 16:53:24 +05:30
Sivin VargheseandGitHub 71073a06ff fix: Broken connect to facebook page layout (#9830)
# Pull Request Template

## Description

This PR will fix the layout issue in connecting to the Facebook page
layout.

Fixes
https://linear.app/chatwoot/issue/CW-3489/connect-facebook-page-layout-is-broken

## Type of change

- [x] Bug fix (non-breaking change which fixes an issue)

## How Has This Been Tested?

**Before**
<img width="1264" alt="image"
src="https://github.com/user-attachments/assets/2b9e412b-f172-4184-b45b-8c97333c3e51">


**After**
<img width="1264" alt="image"
src="https://github.com/user-attachments/assets/035f3468-f611-43ce-a058-fb8eafa1a45d">




## 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
- [ ] 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
2024-07-24 16:45:17 +05:30
PranavandGitHub 39d20b197d chore: Update the integration icons, logic for enabled/active attributes for the integration (#9828)
This PR would update the logos for the integrations (also add the dark mode variants to be used in the future) and updates the logic for enabled / active attributes in the apps.
2024-07-23 17:45:53 -07:00
Sivin VargheseandGitHub fb99ba7b40 feat: Rewrite uiSettings mixin to a composable (#9819) 2024-07-23 21:27:22 +05:30
Shivam Mishra cd078ca5ce refactor: use @vuelidate for vue 3 in EditLabel.vue 2024-07-23 21:00:10 +05:30
Shivam Mishra 6317421894 fix: use v$ instead of in AddLabel 2024-07-23 20:59:27 +05:30
Shivam Mishra 60e72b0c3d refactor: use @vuelidate for vue 3 in AddAgents.vue 2024-07-23 20:57:36 +05:30
Shivam Mishra 86c5884f0a refactor: use @vuelidate for vue 3 in Settings.vue 2024-07-23 20:55:22 +05:30
Shivam Mishra 6bd1fe1c10 chore: add comments 2024-07-23 17:19:11 +05:30
Shivam Mishra 8626590386 Merge branch 'develop' of github.com:chatwoot/chatwoot into chore/vuelidate-v2-migration 2024-07-23 17:03:53 +05:30
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
Shivam Mishra 7fe8b14539 refactor: use vuelidate for vue 3 2024-07-22 21:50:50 +05:30
Shivam Mishra c119084818 Merge branch 'develop' of github.com:chatwoot/chatwoot into chore/vuelidate-v2-migration 2024-07-22 21:49:08 +05:30
Sivin VargheseandGitHub 10ee773aac feat: Rewrite labels/validationMixin mixin to a helper (#9818) 2024-07-22 21:41:05 +05:30
Shivam Mishra e4849a0d4b test: validateAutomation 2024-07-22 15:47:18 +05:30
Shivam Mishra bd09f6ce40 test: validateConversationOrContactFilters 2024-07-22 15:45:08 +05:30
Shivam Mishra 54ed5e44bc style: add separator for better organization 2024-07-22 15:44:57 +05:30
Shivam Mishra ce16558df4 refactor: split validateAutomation
It also reuses logic from validateSingleFilter
2024-07-22 15:39:10 +05:30
Shivam Mishra fbd95ff44a refactor: separate validateSingleFilter method 2024-07-22 15:32:44 +05:30
Shivam Mishra 7f15d8cbf2 docs: update JSdocs for validations 2024-07-22 15:21:22 +05:30
Fayaz Ahmed 353e2d0330 Draft 2024-07-22 15:10:58 +05:30
Shivam Mishra 2a2cd30c6b Merge branch 'develop' of github.com:chatwoot/chatwoot into chore/vuelidate-v2-migration 2024-07-22 15:04:26 +05:30
Sivin VargheseandGitHub 81d7c51a84 feat: Replace contentTypeMixin within the component (#9802)
# Pull Request Template

## Description

This PR will completely remove the `contentTypeMixin` and be used in the
component as it is.

Fixes
https://linear.app/chatwoot/issue/CW-3465/rewrite-contenttypemixin-mixin-as-a-helper

## Type of change

- [x] New feature (non-breaking change which adds functionality)

## How Has This Been Tested?

Take a look at this component
`app/javascript/dashboard/components/widgets/conversation/Message.vue`


## 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
2024-07-22 13:08:04 +05:30
79381b08cc feat: Move timeMixin to a helper (#9799)
# Pull Request Template

## Description

This PR will replace the usage of `timeMixin` with `timeHelper`

Fixes
https://linear.app/chatwoot/issue/CW-3451/move-time-mixin-to-a-helper

## Type of change

- [x] New feature (non-breaking change which adds functionality)

## How Has This Been Tested?

Please refer to this issue description.
https://linear.app/chatwoot/issue/CW-3451/move-time-mixin-to-a-helper

## 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: Sojan Jose <sojan@pepalo.com>
2024-07-22 13:07:29 +05:30
Sivin VargheseandGitHub 84c380c8c4 feat: Replace SLA validationMixin within the component (#9804)
# Pull Request Template

## Description

This PR will completely remove the SLA `validationMixin` and be used in
the component as it is with a name change.

Fixes
https://linear.app/chatwoot/issue/CW-3456/rewrite-sla-validationmixin-mixin-to-a-composable

## Type of change

- [x] New feature (non-breaking change which adds functionality)

## How Has This Been Tested?

Take a look at these components
1. `dashboard/routes/dashboard/settings/sla/AddSLA.vue` **(Not used)**
2. `dashboard/routes/dashboard/settings/sla/SlaForm.vue`
3. `dashboard/routes/dashboard/settings/sla/SlaTimeInput.vue`


## 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
2024-07-22 13:05:55 +05:30
cb0642564c feat: add promise based loader for FB script (#9780)
![CleanShot 2024-07-16 at 11 10
40@2x](https://github.com/user-attachments/assets/8b938968-5f80-4a19-95fb-e00e1dbd7526)

---------

Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com>
2024-07-22 11:32:05 +05:30
23e30fcb1a feat: Delete bulkActionsMixin (#9800)
# Pull Request Template

## Description

This PR will remove the `bulkActionsMixin` usage. Seems like it is not
used anywhere.

Fixes https://linear.app/chatwoot/issue/CW-3453/delete-bulkactionsmixin

## 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
- [ ] 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-19 11:14:56 +05:30
Fayaz Ahmed 9aeccf63c4 Replace vuelidate with custom validations 2024-07-18 23:53:39 +05:30
Fayaz AhmedandGitHub 1361c921de Merge branch 'develop' into chore/vuelidate-v2-migration 2024-07-17 15:00:14 +05:30
Fayaz Ahmed eeac9252fb Revert "draft somewhat working validation $each"
This reverts commit 624d61913c.
2024-07-17 14:59:51 +05:30
Sivin VargheseandGitHub 30d4f6c2f5 fix: TypeError cannot read properties of undefined (reading 'status') (#9774)
# Pull Request Template

## Description

**Issue**
The error `Cannot read properties of undefined (reading 'status')`
occurs because the `error.response.status` is accessed without checking
if `error.response` is present.

I can't able to reproduce this issue.

**Solution**
To resolve this issue, I added a check to ensure that this
`error.response` is defined before accessing the `error.response.status`

Fixes
https://linear.app/chatwoot/issue/CW-3322/typeerror-cannot-read-properties-of-undefined-reading-status

## Type of change

- [x] Bug fix (non-breaking change which fixes an issue)

## 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
- [ ] 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
2024-07-16 07:02:02 +05:30
Sivin VargheseandGitHub 5909c0f8b7 fix: TypeError cannot read properties of null (reading 'file_type') (#9778)
# Pull Request Template

## Description

**Cases**

## Type of change


- [x] Bug fix (non-breaking change which fixes an issue)



## 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
- [ ] 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
2024-07-16 07:01:48 +05:30