Shivam Mishra
68ed5a4b4f
chore: source account id directly
2024-10-08 18:52:34 +05:30
Shivam Mishra
7ecb993d06
chore: force init account
2024-10-08 18:49:26 +05:30
Shivam Mishra
c00a157c03
chore: more log
2024-10-08 18:45:08 +05:30
Shivam Mishra
3750689bee
chore: debug debug
2024-10-08 18:43:37 +05:30
Shivam Mishra
0511bf4ba6
chore: more debug
2024-10-08 18:34:06 +05:30
Shivam Mishra
9f50638a40
chore: more logs
2024-10-08 18:30:59 +05:30
Shivam Mishra
f5ac272e3b
chore: logs
2024-10-08 18:18:49 +05:30
Shivam Mishra
2ba7318817
chore: more try
2024-10-08 18:14:58 +05:30
Shivam Mishra
412303d1cd
chore: try i18n
2024-10-08 15:20:35 +05:30
Shivam Mishra
47b9399208
feat: setup fallback
2024-10-08 14:01:57 +05:30
Shivam Mishra
0830ad78b6
chore: try
2024-10-08 13:53:58 +05:30
Shivam Mishra
0b8df762f9
chore: more debug
2024-10-08 12:38:03 +05:30
Shivam Mishra
f24c87f9b2
chore: try
2024-10-08 12:28:48 +05:30
Shivam Mishra
f62a4170b6
chore: debug
2024-10-08 12:20:14 +05:30
Shivam Mishra
2f090dbc61
Revert "chore: don't use async"
...
This reverts commit 9101e1e221 .
2024-10-08 11:54:02 +05:30
Shivam Mishra
ec17682d7a
chore: move to created
2024-10-08 11:53:55 +05:30
Shivam Mishra
7861ce8c47
chore: revert iframe helper
2024-10-08 11:42:09 +05:30
Shivam Mishra
e5de41fea4
chore: revert console.logs
2024-10-08 11:41:40 +05:30
Shivam Mishra
adb0e94cbd
chore: remove logs
2024-10-08 11:40:53 +05:30
Shivam Mishra
42fb083491
chore: debug
2024-10-08 11:31:33 +05:30
Shivam Mishra
9101e1e221
chore: don't use async
2024-10-08 11:18:13 +05:30
Shivam Mishra
91bac16c29
chore: add more error log
2024-10-08 11:00:21 +05:30
Shivam Mishra
97699f3087
chore: log errors
2024-10-08 10:59:42 +05:30
Shivam Mishra
1242cfd704
chore: add logs for iframhelper
2024-10-08 10:57:13 +05:30
Shivam Mishra
6963c668bf
chore: add console logs
2024-10-08 10:49:56 +05:30
Shivam Mishra and GitHub
a8c12ffb25
chore: update interpolation syntax for i18n files ( #10198 )
...
There were two warnings showing up on new teams page
1. `errorMessage` prop was getting invalid value, this was because were
short circuting the error message using `&&`, fixed it by using ternary
operator
2. `vue-i18n` has deprecated [rails
syntax](https://vue-i18n.intlify.dev/guide/essentials/syntax#rails-i18n-format ),
fixed that warning by removing `%` before `{}` for interpolation
> Note: the `vue-i18n` deprecation needs to be handled, but we can do it
later
2024-10-07 11:12:40 -07:00
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
0677d8763d
fix: Update the reply box to handle play, pause callbacks from WaveSurfer ( #10223 )
...
- Implemented custom @play, @pause methods to update the state of the recording. Once the recording is finished the button icon changes from stop button to play/pause button.
- Removes the console error undefined hasAudio
Fixes https://linear.app/chatwoot/issue/CW-3609/audio-recorder-issue
---------
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
2024-10-05 00:17:11 -07:00
Sivin Varghese and GitHub
095aaf3de6
fix: Issues with drag and drop attachments to the editor ( #10235 )
2024-10-05 00:16:42 -07:00
Sivin Varghese and GitHub
d0bf66fe7a
feat: Update widget builder to support dark mode ( #10230 )
2024-10-04 15:53:31 -07:00
Shivam Mishra and GitHub
490fc4eaba
fix: Remove the usage of asyncComponent in emoji picker ( #10232 )
...
This PR has the following fixes
1. preview of article inside the iframe, earlier this didn't work because the iframe didn't get the URL correctly. We fix that by passing the URL is a query instead
2. Emoji picker caused a weird redirect, this was only happening when the chunk was loaded async, this PR changes it to use regular loading instead
2024-10-04 08:10:27 -07:00
d2eda8bd08
fix: Update inconsistent behaviour of create and edit automation rules ( #10197 )
...
When Vue 3 is used with options API, any assignment to `this.<something>` is converted to a Proxy before assignment. This is fine as long as we are in the options context, problem arises when we access this in a `composable` any mutations on the object doesn't behave correctly as expected, this PR fixes that by moving the `automation` object inside the composable and using it in the options.
> Another option to fix such an issue is to make the object non-reactive, like done in places where we have `editorView`, but that wasn't viable here
---------
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2024-10-04 08:06:36 -07:00
55bf05d2d4
fix: Use arrow function to bind methods to class ( #10215 )
...
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
Co-authored-by: iamsivin <iamsivin@gmail.com >
2024-10-04 08:05:34 -07:00
Shivam Mishra and GitHub
5b22af6af8
fix: Update input event bindings to use blur events ( #10216 )
2024-10-04 08:04:56 -07:00
9338bc1391
fix: emit events across the app ( #10227 )
...
This PR makes the following changes
1. Update v-model bindings for components using the old `value` prop and `input` event method
2. Remove components that were not used anywhere
---------
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2024-10-04 08:03:41 -07:00
Shivam Mishra and GitHub
88a16b8e96
fix: submit pre chat triggering native submit event ( #10224 )
2024-10-04 20:31:25 +05:30
Shivam Mishra and GitHub
bd88bfb0fe
fix: emits for FormSelect and PhoneInput component ( #10226 )
2024-10-04 15:09:42 +05:30
Pranav and GitHub
0f26351fd3
fix: Update card labels button with a new one to fix the CSS issue ( #10222 )
2024-10-04 00:00:35 -07:00
Sojan Jose and GitHub
6d053e5816
chore: Move line attachment creation to a single db commit ( #10194 )
...
Similar to the work we did with the legacy code of other channels like Twilio, we need to move the message creation and attachment creation to be under a single db commit for the line channel. Otherwise, the emitted webhook events for message creation will miss the attachment payload.
Ref: https://github.com/orgs/chatwoot/discussions/7546#discussioncomment-10814495
Ref: https://github.com/chatwoot/chatwoot/pull/10167
2024-10-03 22:13:41 -07:00
Shivam Mishra and GitHub
bbb8e57fee
fix: Update the styles for the datepicker in custom snooze modal ( #10207 )
2024-10-03 22:06:51 -07:00
Shivam Mishra and GitHub
5eac95732b
fix: Update translation payload for audit logs ( #10217 )
...
Vue i18n would automatically merge arrays previously, it does not do so now. This PR fixes it by cleaning up the payload before passing it for translation
2024-10-03 22:04:26 -07:00
b3262597c1
fix: vue 3 followup fixes ( #10213 )
...
Fixes: CW-3602, CW-3606, CW-3605, CW-3601, CW-3603, CW-3600, CW-3598
-
[CW-3602](https://linear.app/chatwoot/issue/CW-3602/chat-list-infinite-loader-fetching-only-odd-numbered-pages )
Chat list pagination broken
-
[CW-3606](https://linear.app/chatwoot/issue/CW-3606/saving-greeting-message-is-not-working-in-inbox-settings )
Greetings message not getting saved
-
[CW-3605](https://linear.app/chatwoot/issue/CW-3605/copy-and-paste-image-attachment-not-working-in-widget )
Paste not working on widget
-
[CW-3601](https://linear.app/chatwoot/issue/CW-3601/edit-category-is-not-working-properly )
Edit category not updating
-
[CW-3603](https://linear.app/chatwoot/issue/CW-3603/delete-filter-is-not-working )
Delete filter modal not toggling
-
[CW-3600](https://linear.app/chatwoot/issue/CW-3600/portal-editor-is-not-working-properly )
Portal editor events were flaky
-
[CW-3598](https://linear.app/chatwoot/issue/CW-3598/rearrange-of-pre-chat-form-fields-throws-an-error )
Prechat form re-order bug
---------
Co-authored-by: Vishnu Narayanan <iamwishnu@gmail.com >
2024-10-03 19:59:07 +05:30
Shivam Mishra and GitHub
f14edd5242
fix: initOnEvents not removed [CW-3594] ( #10200 )
...
The `initOnEvents` was used to get the notification sound file and
trigger the 30 second loop, but since the function was replaced to using
class syntax, the removeEvent listener was not working. This PR fixes it
by reverting to the old syntax but moving it inside the constructor
instead and also adding a `once: true` to ensure it is always removed
automatically
2024-10-03 15:03:44 +05:30
Shivam Mishra and GitHub
578dce81a1
fix: suggestions not triggering directly ( #10211 )
2024-10-03 15:02:56 +05:30
Shivam Mishra and GitHub
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
Shivam Mishra and GitHub
b8d0252511
feat: remove usage of .sync and define explicitly emits ( #10209 )
...
References
- https://v3-migration.vuejs.org/breaking-changes/v-model
-
https://v3-migration.vuejs.org/breaking-changes/v-on-native-modifier-removed.html
2024-10-03 12:44:18 +05:30
Shivam Mishra and GitHub
0491ffc94e
fix: signup form broken in production ( #10206 )
...
`vue-i18n` has a new [linked message
format](https://vue-i18n.intlify.dev/guide/essentials/syntax#linked-messages ),
this however conflicts with raw usage an email address like
`hey@chatwoot.com `. The way to solve this as prescribed by then is to
use [literal
interpolation](https://vue-i18n.intlify.dev/guide/essentials/syntax#literal-interpolation ),
like `hey{'@'}chatwoot.com`.
This PR does that for the entire translation files
2024-10-03 11:23:30 +05:30
Shivam Mishra and GitHub
b52950ba5a
fix: Update event name for reports filter ( #10199 )
2024-10-02 09:16:23 -07:00
Shivam Mishra and GitHub
fce4d5e26e
feat: Show re-auth flag only for legacy Gmail and OAuth channels ( #10189 )
2024-10-02 00:51:02 -07:00
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