Commit Graph
5317 Commits
Author SHA1 Message Date
Tanmay Deep Sharma c351b6df5f Merge remote-tracking branch 'origin/feat/whatsapp-embedded-signup' into test-pdf-support-captain 2025-07-11 18:09:26 +07:00
Tanmay Deep Sharma fcc13a5064 add feature flag for wa es 2025-07-11 18:07:44 +07:00
Tanmay Deep Sharma ac83c28466 Merge remote-tracking branch 'origin/feat/whatsapp-embedded-signup' into feat/whatsapp-embedded-signup 2025-07-11 15:46:46 +07:00
Tanmay Deep Sharma ac9c24e0aa refactor and review changes 2025-07-11 15:45:24 +07:00
Muhsin KelothandGitHub 8c43a6270d Merge branch 'develop' into feat/whatsapp-embedded-signup 2025-07-11 11:47:45 +05:30
Sivin VargheseandGitHub 802f0694ed chore: Alphabetically sort inbox list on settings page (#11921)
# Pull Request Template

## Description

This PR updates the inbox list on the settings page to be sorted
alphabetically.

## Type of change

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

## How Has This Been Tested?

### Screenshot
<img width="222" height="463" alt="image"
src="https://github.com/user-attachments/assets/0caabeb1-b2bd-4072-a44f-e0ac5a52404d"
/>



## 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
2025-07-11 11:46:15 +05:30
Tanmay Deep Sharma 599560522f Merge remote-tracking branch 'origin/feat/whatsapp-embedded-signup' into test-pdf-support-captain 2025-07-11 11:12:02 +07:00
Tanmay Deep Sharma e4d778de21 store the pin in provider config 2025-07-11 11:11:37 +07:00
Tanmay Deep Sharma 84383160bd Merge remote-tracking branch 'origin/feat/whatsapp-embedded-signup' into test-pdf-support-captain 2025-07-11 09:26:48 +07:00
Tanmay Deep Sharma 49939c8df7 Merge remote-tracking branch 'origin/feat/whatsapp-embedded-signup' into feat/whatsapp-embedded-signup 2025-07-11 09:25:05 +07:00
Tanmay Deep Sharma f94691aecb add review changes to refactor whatsapp es 2025-07-11 09:22:53 +07:00
Muhsin Keloth ed79173b1b chore: fix alerts 2025-07-10 17:45:59 +05:30
Tanmay Deep Sharma d54b32432a Merge remote-tracking branch 'origin/feat/whatsapp-embedded-signup' into test-pdf-support-captain 2025-07-10 18:06:07 +07:00
Tanmay Deep Sharma b7fdeb79c2 add web.facebook.com as valid host for WA ES 2025-07-10 18:05:37 +07:00
Tanmay Deep Sharma 0eedac48be Merge remote-tracking branch 'origin/feat/whatsapp-embedded-signup' into test-pdf-support-captain 2025-07-10 16:59:14 +07:00
Tanmay Deep Sharma f8ad34a0b0 update test cases 2025-07-10 16:43:21 +07:00
Tanmay Deep Sharma 07b1fc202e revert extra changes 2025-07-10 15:54:08 +07:00
Tanmay Deep Sharma 4548ff35f9 Merge remote-tracking branch 'origin/feat/whatsapp-embedded-signup' into feat/whatsapp-embedded-signup 2025-07-10 15:51:08 +07:00
Tanmay Deep Sharma dd888f2cf0 fix review changes 2025-07-10 15:50:31 +07:00
Muhsin KelothandGitHub e86f9c3005 Merge branch 'develop' into feat/whatsapp-embedded-signup 2025-07-10 12:00:33 +05:30
Muhsin KelothandGitHub 17500cc62d chore: Auto assign PR to author when PR opened (#11890)
- gh action to auto-assign PR to author when PR opened
2025-07-10 11:36:37 +05:30
Muhsin KelothandGitHub b9d3a34a73 Merge branch 'develop' into feat/whatsapp-embedded-signup 2025-07-10 10:03:46 +05:30
Tanmay Deep Sharma 46dba4998b Merge remote-tracking branch 'origin/feat/whatsapp-es-reauth-flow' into test-pdf-support-captain 2025-07-10 10:49:05 +07:00
Tanmay Deep Sharma 1931a170fa Merge remote-tracking branch 'origin/feat/whatsapp-es-reauth-flow-fe' into test-pdf-support-captain 2025-07-10 10:48:04 +07:00
Tanmay Deep Sharma 62c5d40b2c update the checks to show the api key input in configuration 2025-07-10 10:46:09 +07:00
Tanmay Deep Sharma 50d023caed remove extra committed file 2025-07-10 09:06:05 +07:00
Tanmay Deep Sharma 9007bf1ecf feat: Add WhatsApp reauthorization bankend flow 2025-07-10 03:09:16 +07:00
Tanmay Deep Sharma d696fa2b17 feat: Add WhatsApp reauthorization frontend flow 2025-07-10 03:05:56 +07:00
Tanmay Deep Sharma a571396b71 Merge branch 'feat/whatsapp-es-reauth-flow' into test-pdf-support-captain 2025-07-10 01:18:52 +07:00
Tanmay Deep Sharma 5c8df87cdc add translations for wa embedded signup 2025-07-10 01:16:33 +07:00
Sivin VargheseandGitHub 5140deb6f6 feat: Captain settings header component (#11912) 2025-07-09 22:21:25 +05:30
Tanmay Deep Sharma 4a36fd6373 Merge branch 'feat/whatsapp-es-reauth-flow' into test-pdf-support-captain 2025-07-09 17:25:13 +07:00
Tanmay Deep Sharma 13918c046d add reauth flow for wa embedded signup 2025-07-09 17:23:48 +07:00
Sivin VargheseandGitHub 3e5ca9bca9 fix: Widget message input resize issue (#11896) 2025-07-09 09:23:20 +05:30
Tanmay Deep Sharma ff3780ab1b Merge remote-tracking branch 'origin/feat/whatsapp-embedded-signup' into test-pdf-support-captain 2025-07-09 10:19:13 +07:00
Tanmay Deep Sharma 8952bc421c Merge remote-tracking branch 'origin/feat/support-pdf-upload-faq-gen' into test-pdf-support-captain 2025-07-09 10:19:06 +07:00
Tanmay Deep SharmaandGitHub 358ec8120b Merge branch 'develop' into feat/whatsapp-embedded-signup 2025-07-09 10:01:37 +07:00
Tanmay Deep Sharma 71f64fd00a update the rspec 2025-07-09 10:00:29 +07:00
5ebe8c71ec feat: Support customizable welcome text, availability messages, and UI toggles (#11891)
# Pull Request Template

## Description

This PR allows users to dynamically pass custom welcome and availability
messages, along with UI feature toggles, via `window.chatwootSettings`.
If any of the following settings are provided, the widget will use them;
otherwise, it falls back to default behavior.

**New options:**
```
window.chatwootSettings = {
  welcomeTitle: 'Need help?',                        // Custom widget title
  welcomeDescription: 'We’re here to support you.',        // Subtitle in the header
  availableMessage: 'We’re online and ready to chat!', // Shown when team is online
  unavailableMessage: 'We’re currently offline.',      // Shown when team is unavailable

  enableFileUpload: true,          // Enable file attachments
  enableEmojiPicker: true,         // Enable emoji picker in chat input
  enableEndConversation: true     // Allow users to end the conversation
}
```


Fixes
https://linear.app/chatwoot/issue/CW-4589/add-options-to-windowchatwootsettings

## Type of change

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

## How Has This Been Tested?

### Loom video

https://www.loom.com/share/413fc4aa59384366b071450bd19d1bf8?sid=ff30fb4c-267c-4beb-80ab-d6f583aa960d

## 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

---------

Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com>
2025-07-08 14:26:00 -07:00
Muhsin KelothandGitHub c73f33619d Merge branch 'develop' into feat/whatsapp-embedded-signup 2025-07-08 17:32:22 +05:30
Tanmay Deep Sharma 3adad0f32a Merge remote-tracking branch 'origin/feat/support-pdf-upload-faq-gen' into test-pdf-support-captain 2025-07-08 18:34:36 +07:00
Tanmay Deep Sharma 69b260a019 Merge remote-tracking branch 'origin/feat/support-pdf-upload-faq-gen' into feat/support-pdf-upload-faq-gen 2025-07-08 18:34:24 +07:00
Tanmay Deep Sharma 2e0bc94b2d fix embeddings issue 2025-07-08 18:33:32 +07:00
Sivin VargheseandGitHub 8c78573d9d chore: Remove defer attribute from widget-loader script (#11887) 2025-07-08 15:31:33 +05:30
Tanmay Deep SharmaandGitHub 4896ecd033 Merge branch 'develop' into feat/support-pdf-upload-faq-gen 2025-07-08 16:07:00 +07:00
Tanmay Deep Sharma 1b7ad7c944 Merge remote-tracking branch 'origin/feat/support-pdf-upload-faq-gen' into test-pdf-support-captain 2025-07-08 15:43:48 +07:00
Tanmay Deep Sharma a347416667 do not catch exception 2025-07-08 15:42:07 +07:00
Tanmay Deep Sharma 69b762cfdf Merge remote-tracking branch 'origin/test-pdf-support-captain' into test-pdf-support-captain 2025-07-08 14:22:03 +07:00
Tanmay Deep Sharma e15a334daf Merge remote-tracking branch 'origin/feat/support-pdf-upload-faq-gen' into test-pdf-support-captain 2025-07-08 14:18:03 +07:00
c553997af8 fix: Translate Priority and Messages types in Automations and Macros (#11741)
# Pull Request Template

## Description

With these fixes, I could improve some translations in portuguese, and
also I added some improvements to make some drowpdown values, that were
not translatable into translatable strings, into the Automations, Macros
and Custom Attributes page. I also fixed some typos.

Here are the main improvements.

- ~Fixed typo in portuguese into `Reports > Agents` page:~
~Before:

![image](https://github.com/user-attachments/assets/5a911108-76a6-4e54-82f1-1185c3e1981b)
After:

![image](https://github.com/user-attachments/assets/2a4fc5bf-3239-47b5-9113-ba66e0f44b9c)~

- Added the possibility to make the `Priority` and `Message types`
translatables in other languages, into Macros and Automations page. Also
added the same feature for Custom attributes page at `applies to` and
`type` fields:
Before:

![image](https://github.com/user-attachments/assets/d53b3e6d-be3e-4e02-9478-7d3121cc11cb)

![image](https://github.com/user-attachments/assets/28a7bffe-fe8b-43f6-8e30-9d62ab8adf14)

![image](https://github.com/user-attachments/assets/18a983c1-2db8-445d-a4cc-982beb88015a)

![image](https://github.com/user-attachments/assets/2be8b0f2-ed9e-4bac-aeb0-596533200da4)
After:

![image](https://github.com/user-attachments/assets/0fa904ae-7b48-4ce4-afb8-e0586c5624b7)

![image](https://github.com/user-attachments/assets/a524f119-9222-4e98-9cd7-2fca3303e8d5)

![image](https://github.com/user-attachments/assets/7062f277-e9c9-4473-980b-6ca2d6bdcefc)

![image](https://github.com/user-attachments/assets/0bb66f07-ee10-4833-b950-b9aa9441a312)

- ~Improve Bots page. In the Brazilian portuguese is very common and
widely used bots to refer to chatbots, using `robô` as a direct
translations sounds weird, `robô` is used more often when we are talking
about robots, not chatbots.
Before:

![image](https://github.com/user-attachments/assets/3966cc11-51f4-4e1a-bc81-ada2795408e8)
After:

![image](https://github.com/user-attachments/assets/c9ec0ad5-974e-40d9-9542-031db99839e2)~

- Added multiselect both `no options` and `Select` placeholder
translatable strings:
Before:

![image](https://github.com/user-attachments/assets/545641d4-87ae-4305-8adc-3b73bbaf2ab1)

![image](https://github.com/user-attachments/assets/8800c001-abe7-41bb-bd68-feb5db13b8f0)
After:

![image](https://github.com/user-attachments/assets/46748652-28f2-4ae3-9d20-55db1015aaae)

- Added `.pnpm-store` to `.gitignore`, when I'm using docker, the pnpm
always creates this folder into my root directory, so I imagine the same
could happens with others, so I fixed it.


## Type of change

Please delete options that are not relevant.

- [x] Bug fix (non-breaking change which fixes an issue)
- [x] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality not to work as expected)
- [ ] This change requires a documentation update

## How Has This Been Tested?

I've added some translations for my language (brazilian portuguese), so
i just switched the languages between the original in EN to PT_BR.

## 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
- [ ] New and existing unit tests pass locally with my changes
- [x] Any dependent changes have been merged and published in downstream
modules

---------

Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com>
Co-authored-by: iamsivin <iamsivin@gmail.com>
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com>
2025-07-08 12:40:40 +05:30