Chatwoot Bot
472493b9af
chore: Update translations ( #12228 )
...
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
2025-08-27 11:59:13 +05:30
Sivin Varghese
6ca38e10e9
feat: Migrate availability mixins to composable and helper ( #11596 )
...
# Pull Request Template
## Description
**This PR includes:**
* Refactored two legacy mixins (`availability.js`,
`nextAvailability.js`) into a Vue 3 composable (`useAvailability`),
helper module and component based rendering logic.
* Fixed an issue where the widget wouldn't load if business hours were
enabled but all days were unchecked.
* Fixed translation issue
[[#11280 ](https://github.com/chatwoot/chatwoot/issues/11280 )](https://github.com/chatwoot/chatwoot/issues/11280 ).
* Reduced code complexity and size.
* Added test coverage for both the composable and helper functions.
## Type of change
- [x] Bug fix (non-breaking change which fixes an issue)
## How Has This Been Tested?
### Loom video
https://www.loom.com/share/2bc3ed694b4349419505e275d14d0b98?sid=22d585e4-0dc7-4242-bcb6-e3edc16e3aee
### Story
<img width="995" height="442" alt="image"
src="https://github.com/user-attachments/assets/d6340738-07db-41d5-86fa-a8ecf734cc70 "
/>
## 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
Fixes https://github.com/chatwoot/chatwoot/issues/12012
---------
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
Co-authored-by: Pranav <pranav@chatwoot.com >
Co-authored-by: Shivam Mishra <scm.mymail@gmail.com >
2025-08-22 00:43:34 +05:30
Chatwoot Bot
cae097c5fa
chore: Update translations ( #12208 )
2025-08-19 12:27:13 +05:30
Chatwoot Bot
ee773f31eb
chore: Update translations ( #12167 )
...
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2025-08-14 15:30:00 +05:30
Pranav
14471cc20c
chore: Add bulgarian (bg) language ( #12189 )
...
Add bg to supported langauges
2025-08-13 10:23:25 -07:00
Sivin Varghese
1baf5cbe19
chore: Replace tooltip in Avatar component with title attribute ( #12152 )
2025-08-11 17:58:07 +05:30
Chatwoot Bot
cc8c05834a
chore: Update translations ( #11077 )
...
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
2025-03-19 16:48:56 -07:00
Chatwoot Bot
0fbb9b91b2
chore: Update translations ( #10990 )
2025-02-27 15:46:02 -08:00
Chatwoot Bot
4a088e0663
chore: Update translations from Crowdin ( #10686 )
...
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
Co-authored-by: Pranav <pranav@chatwoot.com >
2025-02-12 12:34:34 +05:30
Chatwoot Bot
0c01303db0
chore: Update translations ( #10549 )
...
Co-authored-by: Shivam Mishra <scm.mymail@gmail.com >
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
2025-01-14 22:00:56 +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
Chatwoot Bot
f0d00b6965
chore: Update translations ( #10124 )
...
- update translations
2024-09-19 16:30:30 -07:00
Chatwoot Bot
a92d7fd7d5
chore: Update translations ( #9976 )
2024-08-20 20:13:09 +05:30
Chatwoot Bot
bb78639696
chore: Update translations ( #9946 )
2024-08-16 14:06:32 +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
Chatwoot Bot
a196e23587
chore: Update translations ( #9845 )
2024-07-29 06:36:09 -07:00
Chatwoot Bot
027a540bbd
chore: Update translations from Crowdin ( #9835 )
2024-07-25 11:58:22 -07:00
Chatwoot Bot
b0b4668d23
chore: Update translations ( #9439 )
...
- update translations from crowdin
2024-05-15 21:52:30 -07:00
Chatwoot Bot
94e1d55543
chore(i18n): Update the latest translations ( #9340 )
2024-05-02 08:18:17 -07:00
Chatwoot Bot
f71f43e54a
chore: Update translations ( #9236 )
...
- update translations
------------------
Co-authored-by: Sojan <sojan@pepalo.com >
2024-04-15 18:49:04 -07:00
Chatwoot Bot
56bf543f7e
chore: Update translations ( #9052 )
2024-03-06 23:30:32 +05:30
Chatwoot Bot
a5e9cd94e1
chore: Update translations ( #8983 )
2024-02-21 16:01:14 -08:00
Surabhi Suman
4b40c61201
feat: Support Regex validation for custom attributes ( #7856 )
...
This allows a user to add/update a custom regex and a cue while defining custom attributes(Only applicable for type- text).
While adding/editing custom attributes, the values are validated against the attribute definition regex, and if it is incorrect, a cue message or default error message is shown and restricts invalid values from being saved.
Fixes : #6866
2024-01-23 18:01:57 +04:00
Mongkon Kaenjan
1b6360d9d3
chore: change OFFLINE text in th translations ( #8642 )
...
change OFFLINE text from เราไม่อยู่ to ออฟไลน์
2024-01-16 15:18:59 +04:00
Chatwoot Bot
e467d15f2c
chore: Update translations ( #8544 )
...
Co-authored-by: Sojan Jose <sojan@pepalo.com >
2024-01-16 13:49:38 +04:00
Chatwoot Bot
e8f4ac632f
chore: Update translations ( #8255 )
2023-11-01 15:13:32 -07:00
Chatwoot Bot
483d55df91
chore: Update translations ( #8161 )
2023-10-25 19:20:30 -07:00
Chatwoot Bot
3b0788c3be
chore: Update translations ( #8024 )
...
Co-authored-by: Sojan Jose <sojan@pepalo.com >
2023-10-16 19:55:25 -07:00
Chatwoot Bot
8ce7539c5e
chore: Update translations ( #8016 )
2023-09-29 15:46:29 +05:30
Chatwoot Bot
e8b7e791a5
chore: Update translations ( #7969 )
2023-09-27 12:47:03 +05:30
Chatwoot Bot
73c119cd3d
chore: Update translations ( #7937 )
2023-09-19 21:19:46 -07:00
Pranav Raj S
94a20af9db
fix: Render articles in widget if it is available ( #7654 )
...
Co-authored-by: Nithin David Thomas <1277421+nithindavid@users.noreply.github.com >
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
Co-authored-by: iamsivin <iamsivin@gmail.com >
Co-authored-by: Sojan <sojan@pepalo.com >
2023-09-14 19:56:17 +05:30
GitStart
0245e01763
fix: Enable serbian translation ( #7905 )
...
Enable language: Serbian.
Co-authored-by: BikashSah999 <51731962+BikashSah999@users.noreply.github.com >
2023-09-13 00:36:34 -07:00
Chatwoot Bot
fcd40e9636
chore: Update translations ( #7887 )
...
Co-authored-by: Sojan Jose <sojan@pepalo.com >
2023-09-12 18:09:47 -07:00
Pranav Raj S
5f2a720920
chore: Update translations ( #7766 )
2023-08-24 13:26:39 +05:30
Pranav Raj S
4101a7b566
chore: Update translations from Crowdin ( #7750 )
2023-08-18 12:48:50 -07:00
Pranav Raj S
8015490aba
chore: Update translations ( #7731 )
2023-08-16 11:18:14 -07:00
Pranav Raj S
310c127693
chore: Update translations ( #7728 )
2023-08-15 13:47:38 -07:00
Pranav Raj S
961d810645
Revert "feat: Show popular articles on widget home" ( #7706 )
2023-08-10 22:27:51 -07:00
Nithin David Thomas
e052a061f4
feat: Show popular articles on widget home ( #7604 )
2023-08-01 21:32:44 +05:30
Nithin David Thomas
703e19304d
feat: Components to render articles in widget home ( #7596 )
...
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
2023-07-24 16:45:55 -07:00
Chatwoot Bot
3c4514c9f7
chore: Update translations ( #7415 )
...
Co-authored-by: Sojan Jose <sojan@pepalo.com >
2023-07-04 14:23:56 +05:30
Sivin Varghese
1176e5eb8a
feat: Custom phone input in pre-chat form ( #7275 )
...
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
Co-authored-by: Pranav Raj S <pranav@chatwoot.com >
Co-authored-by: Sojan Jose <sojan@pepalo.com >
2023-06-26 10:26:06 +05:30
Chatwoot Bot
54bf33083e
chore: Update translations ( #7372 )
...
Co-authored-by: Sojan Jose <sojan@pepalo.com >
2023-06-23 16:01:14 +05:30
Sivin Varghese
93d8157a55
feat: Adds Lithuanian language selectable as site language ( #7354 )
2023-06-20 17:29:05 +05:30
Chatwoot Bot
c410fe333a
chore: Update translations ( #7347 )
...
Co-authored-by: Sojan Jose <sojan@pepalo.com >
2023-06-19 17:27:43 +05:30
Nithin David Thomas
d9f2cd0a6e
chore: Enable Hebrew language for widget ( #7079 )
...
Co-authored-by: Sojan Jose <sojan@pepalo.com >
2023-05-15 16:56:04 +05:30
Sivin Varghese
198cd9b28d
feat: Show next available day/hour and minutes on widget ( #6902 )
...
* feat: Show next available hour and minutes on widget
* chore: Adds spec
* chore: Show days
* chore: Code clean up
* chore: Review fixes
* chore: Minor fixes
* chore: Review suggestion fixes
* chore: Minor fixes
* Added timezone to widget payload
* chore: Adds time zone
* chore: Review fixes
* chore: Adds comments
* chore: Rounded up min with nearest multiple of 5
* chore: Review fixes
* chore: Review fixes
* chore: Review fixes
* chore: Review fixes
* chore: Fix specs
* chore: Review fixes
* chore: Fix specs
* chore: Review fixes
* chore: Moved day names to i18n
* chore: Review fixes
* chore: Fix specs
---------
Co-authored-by: Tejaswini Chile <tejaswini@chatwoot.com >
Co-authored-by: Nithin David Thomas <1277421+nithindavid@users.noreply.github.com >
Co-authored-by: Shivam Mishra <scm.mymail@gmail.com >
2023-05-12 19:25:51 +05:30
Chatwoot Bot
3dedfee350
chore: Update translations ( #7033 )
...
Co-authored-by: Sojan Jose <sojan@pepalo.com >
2023-05-06 15:10:50 +05:30
Chatwoot Bot
be3c75e858
chore: Update translations ( #6999 )
...
Co-authored-by: Sojan Jose <sojan@pepalo.com >
2023-04-28 20:28:03 +05:30