Sivin Varghese and GitHub
ceaeba84ee
Merge branch 'develop' into feat/contacts-redesign
2024-11-22 08:09:28 +05:30
Sivin Varghese and GitHub
2dae4b22a2
feat: Add Label Input components ( #10480 )
2024-11-21 13:57:43 -08:00
cf6ef11b9f
feat: Add contact merge form component ( #10478 )
...
Co-authored-by: Pranav <pranavrajs@gmail.com >
2024-11-21 13:52:25 -08:00
497bc055a2
feat: Attributify button component ( #10473 )
...
This PR allows attributify for `variant`, `size` and `color` props. This allows using shorthands, instant of writing full props.
We also added a small computed method to ensure these does not show up
in the DOM and pollute it
---------
Co-authored-by: Pranav <pranav@chatwoot.com >
2024-11-21 13:48:25 -08:00
Sivin Varghese and GitHub
79daf56c31
feat: Add contact note item component ( #10479 )
2024-11-21 13:47:57 -08:00
Sivin Varghese and GitHub
92190ec81b
Merge branch 'develop' into feat/contacts-redesign
2024-11-21 22:55:36 +05:30
Sivin Varghese and GitHub
7b6195f28b
fix: Component <woot-tabs /> reactivity issue. ( #10476 )
...
# Pull Request Template
## Description
This PR will fix reactivity issue with `<woot-tabs />` component.
**Cause of issue**
The `<woot-tabs />` component used an internal ref,
`internalActiveIndex` to track the `active` tab. However, it didn’t sync
with the `index` prop when updated by the parent, causing mismatched tab
selections.
**Solution**
The component now directly uses `props.index` to ensure it always
reflects the latest value from the parent. The unnecessary
`internalActiveIndex` ref has been removed. Changes to the active tab
emit a `change` event to update the parent.
## Type of change
- [x] Bug fix (non-breaking change which fixes an issue)
## How Has This Been Tested?
**Loom video**
**Before**
https://www.loom.com/share/76eb32f1e7f7422f84055a102bf80951?sid=bc28c6ff-9640-4d3b-956c-99c1ec164971
**After**
https://www.loom.com/share/6bd8125ede5d43dc8fe115c3f1fb159b?sid=c376617a-94fb-4f71-8664-e0bd9e7af0b4
## 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
- [ ] 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-11-21 16:25:13 +05:30
iamsivin
2d0c813300
chore: Minor fix
2024-11-21 15:54:01 +05:30
iamsivin
7083137c5a
chore: Label components
2024-11-21 15:48:43 +05:30
iamsivin
b9b3c43d63
feat: Contact note item component
2024-11-21 15:25:06 +05:30
iamsivin
2a724cad7c
chore: Create contact merge component
2024-11-21 14:52:19 +05:30
iamsivin
ef51083b3c
chore: Minor fix
2024-11-21 13:34:42 +05:30
Sivin Varghese and GitHub
634a31a7ab
Merge branch 'develop' into feat/contacts-redesign
2024-11-21 12:11:35 +05:30
2309424cb1
feat: Add Contact card and form component ( #10466 )
...
Co-authored-by: Pranav <pranavrajs@gmail.com >
2024-11-20 21:18:25 -08:00
iamsivin
1a4f44555f
chore: Minor fix
2024-11-21 10:37:20 +05:30
Shivam Mishra and GitHub
3a334be582
feat: add channel icon component ( #10471 )
...
This pull request introduces a new `ChannelIcon` component and refactors the existing code to use this component, which simplifies the icon management for different channel types and providers.
2024-11-20 20:23:12 -08:00
Sojan Jose and GitHub
515778eabb
chore: Disable throwing error for malformed to address ( #10464 )
...
We don't need to raise error on sentry for malformed to address as it is already logged.
Fixes: https://linear.app/chatwoot/issue/CW-3151/standarderror-invalid-email-to-address-header-standarderror
2024-11-20 18:58:54 -08:00
iamsivin
b919afa182
chore: Minor fix
2024-11-21 00:53:45 +05:30
iamsivin
257a5ccf83
chore: Minor fix
2024-11-21 00:42:01 +05:30
iamsivin
e3f50da277
chore: Minor fix
2024-11-21 00:37:12 +05:30
iamsivin
edcc15fab2
chore: Custom attributes story
2024-11-21 00:24:08 +05:30
iamsivin
525a979283
chore: Minor fix
2024-11-21 00:08:03 +05:30
iamsivin
2852f01026
chore: Minor fix
2024-11-20 22:34:49 +05:30
Sivin Varghese and GitHub
2dcb6ec997
Merge branch 'develop' into feat/contacts-redesign
2024-11-20 22:33:04 +05:30
Sojan Jose and GitHub
93b7ce6eba
feat: Display Account Custom Attributes in Super Admin ( #10459 )
...
Viewing the account custom attributes is quite handy when debugging on Chatwoot cloud. Hence adding this option to Super Admin.
2024-11-20 09:02:33 -08:00
Sivin Varghese and GitHub
2538e161a2
Merge branch 'develop' into feat/contacts-redesign
2024-11-20 22:32:01 +05:30
Sivin Varghese and GitHub
c3604bfcbf
feat: New phone number input component ( #10446 )
2024-11-20 22:31:05 +05:30
iamsivin
6f4b37a6cd
chore: Minor fix
2024-11-20 20:31:07 +05:30
Sivin Varghese and GitHub
b9cb4cc65e
Merge branch 'develop' into feat/contacts-redesign
2024-11-20 20:26:27 +05:30
Sivin Varghese and GitHub
b0d6089bb6
feat: Updates on new components ( #10444 )
2024-11-20 20:21:35 +05:30
76a4140224
fix: Feature flags are not be stored on account creation ( #10387 )
...
when creating an account via the platform API the feature flags do not get stored
Co-authored-by: Sojan Jose <sojan@pepalo.com >
2024-11-20 21:39:17 +08:00
Sivin Varghese and GitHub
f5a72c58db
Merge branch 'develop' into feat/contacts-redesign
2024-11-20 08:15:33 +05:30
93ebfccac2
chore(deps): bump cross-spawn from 7.0.3 to 7.0.6 ( #10447 )
...
Bumps [cross-spawn](https://github.com/moxystudio/node-cross-spawn ) from
7.0.3 to 7.0.6.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/moxystudio/node-cross-spawn/blob/master/CHANGELOG.md ">cross-spawn's
changelog</a>.</em></p>
<blockquote>
<h3><a
href="https://github.com/moxystudio/node-cross-spawn/compare/v7.0.5...v7.0.6 ">7.0.6</a>
(2024-11-18)</h3>
<h3>Bug Fixes</h3>
<ul>
<li>update cross-spawn version to 7.0.5 in package-lock.json (<a
href="https://github.com/moxystudio/node-cross-spawn/commit/f700743918d901eff92960e15a8dd68f87bd4176 ">f700743</a>)</li>
</ul>
<h3><a
href="https://github.com/moxystudio/node-cross-spawn/compare/v7.0.4...v7.0.5 ">7.0.5</a>
(2024-11-07)</h3>
<h3>Bug Fixes</h3>
<ul>
<li>fix escaping bug introduced by backtracking (<a
href="https://github.com/moxystudio/node-cross-spawn/commit/640d391fde65388548601d95abedccc12943374f ">640d391</a>)</li>
</ul>
<h3><a
href="https://github.com/moxystudio/node-cross-spawn/compare/v7.0.3...v7.0.4 ">7.0.4</a>
(2024-11-07)</h3>
<h3>Bug Fixes</h3>
<ul>
<li>disable regexp backtracking (<a
href="https://redirect.github.com/moxystudio/node-cross-spawn/issues/160 ">#160</a>)
(<a
href="https://github.com/moxystudio/node-cross-spawn/commit/5ff3a07d9add449021d806e45c4168203aa833ff ">5ff3a07</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/moxystudio/node-cross-spawn/commit/77cd97f3ca7b62c904a63a698fc4a79bf41977d0 "><code>77cd97f</code></a>
chore(release): 7.0.6</li>
<li><a
href="https://github.com/moxystudio/node-cross-spawn/commit/6717de49ff1e5de49622488dcb9c33fb25370c85 "><code>6717de4</code></a>
chore: upgrade standard-version</li>
<li><a
href="https://github.com/moxystudio/node-cross-spawn/commit/f700743918d901eff92960e15a8dd68f87bd4176 "><code>f700743</code></a>
fix: update cross-spawn version to 7.0.5 in package-lock.json</li>
<li><a
href="https://github.com/moxystudio/node-cross-spawn/commit/9a7e3b2165917367f74b8365faad9873b30d7263 "><code>9a7e3b2</code></a>
chore: fix build status badge</li>
<li><a
href="https://github.com/moxystudio/node-cross-spawn/commit/085268352dcbcad8064c64c5efb25268b4023184 "><code>0852683</code></a>
chore(release): 7.0.5</li>
<li><a
href="https://github.com/moxystudio/node-cross-spawn/commit/640d391fde65388548601d95abedccc12943374f "><code>640d391</code></a>
fix: fix escaping bug introduced by backtracking</li>
<li><a
href="https://github.com/moxystudio/node-cross-spawn/commit/bff0c87c8b627c4e6d04ec2449e733048bebb464 "><code>bff0c87</code></a>
chore: remove codecov</li>
<li><a
href="https://github.com/moxystudio/node-cross-spawn/commit/a7c6abc6fee79641d45b452fe6217deaa1bd0973 "><code>a7c6abc</code></a>
chore: replace travis with github workflows</li>
<li><a
href="https://github.com/moxystudio/node-cross-spawn/commit/9b9246e0969e86656d7ccd527716bc3c18842a19 "><code>9b9246e</code></a>
chore(release): 7.0.4</li>
<li><a
href="https://github.com/moxystudio/node-cross-spawn/commit/5ff3a07d9add449021d806e45c4168203aa833ff "><code>5ff3a07</code></a>
fix: disable regexp backtracking (<a
href="https://redirect.github.com/moxystudio/node-cross-spawn/issues/160 ">#160</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/moxystudio/node-cross-spawn/compare/v7.0.3...v7.0.6 ">compare
view</a></li>
</ul>
</details>
<br />
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores )
Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
You can disable automated security fix PRs for this repo from the
[Security Alerts
page](https://github.com/chatwoot/chatwoot/network/alerts ).
</details>
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-19 18:45:24 -08:00
Sivin Varghese and GitHub
62f357fc7f
Merge branch 'develop' into feat/contacts-redesign
2024-11-20 07:07:10 +05:30
759615d041
fix: Update the dropdown bg to match the design system ( #10438 )
...
This PR updates the background used in dropdown to match our design system. Previous PR failed to add this correctly.
---------
Co-authored-by: Pranav <pranav@chatwoot.com >
2024-11-19 14:29:45 -08:00
Sivin Varghese and GitHub
a7e3d443c9
feat: Add the new select menu component ( #10445 )
2024-11-19 14:25:45 -08:00
Sojan Jose and GitHub
7a3303e841
fix: Undefined method `encode' for nil for avatar from url job ( #10450 )
...
Invalid urls supplied to the job was causing sentry issues. The issue primarily occurs when the download file.original_filename comes out as empty
fixes: https://github.com/chatwoot/chatwoot/issues/10449
2024-11-19 14:24:01 -08:00
Sivin Varghese and GitHub
fccfa5adba
Merge branch 'develop' into feat/contacts-redesign
2024-11-19 22:47:59 +05:30
Sojan
9cc6b1a4ba
Merge branch 'release/3.15.0' into develop
2024-11-19 18:02:13 +08:00
Sojan
7d9800d2f8
Bump version to 3.15.0
2024-11-19 18:01:33 +08:00
Sivin Varghese and GitHub
b680fa43ec
fix: Country code missing when typing in phone input. ( #10439 )
2024-11-19 14:38:00 +05:30
Sivin Varghese and GitHub
e591f14729
Merge branch 'develop' into feat/contacts-redesign
2024-11-19 08:56:02 +05:30
Shivam Mishra and GitHub
c2e2954dfa
fix: Remove the warnings generated from the Sidebar component ( #10437 )
...
The following warning occurred since the `ChannelLeaf` component was passed extra props. This PR fixes it by passing only the required props
2024-11-18 19:09:09 -08:00
Sivin Varghese and GitHub
aef2ffc3a9
Merge branch 'develop' into feat/contacts-redesign
2024-11-19 08:28:24 +05:30
aaa328be87
feat: Add dropdown component ( #10358 )
...
This PR adds dropdown primitives to help compose custom dropdowns across the app. The following the sample usage
---------
Co-authored-by: Pranav <pranav@chatwoot.com >
2024-11-18 17:29:27 -08:00
Sivin Varghese and GitHub
b6ad0211e3
Merge branch 'develop' into feat/contacts-redesign
2024-11-18 21:03:53 +05:30
Vishnu Narayanan and GitHub
54afed9fb4
feat: add judoscaler gem for heroku autoscaling ( #10419 )
...
- add judoscaler gem to allow judoscale use in heroku environments
- This will allow auto scaling for both web and worker dynos across both
standard-1x/2x and performance dynos
- This will scaling in response to queue time rather than response
time(heroku default)
- This also allows you to scale multiple dynos in and out at once,
rather than scaling them one at a time, as is the default.
Ref
----
1. https://judoscale.com/
2. https://devcenter.heroku.com/articles/judoscale
2024-11-18 12:36:27 +05:30
Sivin Varghese and GitHub
dceb616cc4
Merge branch 'develop' into feat/contacts-redesign
2024-11-15 23:00:34 +05:30
caspar and GitHub
8773929c0e
fix: Fix line sticker URL to prevent certain images from failing to d… ( #10416 )
...
This commit fixes the issue with Line stickers URLs to prevent certain
images from failing to display. The problem was due to the use of
incorrect URLs. The original URLs pointed to the `iphone` variant, which
failed to load properly in some cases. The fix updates the URLs to use
the `android` variant, ensuring all images are displayed correctly.
### Example:
- Original (failing URL):
`https://stickershop.line-scdn.net/stickershop/v1/sticker/17/iphone/sticker.png `
- Fixed (working URL):
`https://stickershop.line-scdn.net/stickershop/v1/sticker/17/android/sticker.png `
## How Has This Been Tested?
1. Verified the updated URLs by loading multiple Line sticker images to
ensure they display correctly.
2. Tested in both local and production-like environments to confirm the
fix resolves the issue.
3. Reviewed logs to ensure no additional errors are generated related to
Line sticker URLs.
2024-11-15 17:27:58 +04:00
933ae8aa49
fix: Email attachments created with empty filename ( #10420 )
...
- We observed in prod for certain emails active storage blob objects
were getting created with empty file name. The conversations further
causes conversation and filter pages to break. This change will fix the
mentioned issue.
fixes:
https://linear.app/chatwoot/issue/CW-3331/missing-file-name-for-some-of-the-uploads-for-emails
---------
Co-authored-by: Pranav <pranavrajs@gmail.com >
2024-11-15 09:07:24 +04:00