Commit Graph
4685 Commits
Author SHA1 Message Date
Shivam Mishra 492fcf8ced feat: add specs for missing configuration 2025-01-21 14:12:10 +05:30
Shivam Mishra 322607f256 test: reorganize specs 2025-01-21 14:10:18 +05:30
Shivam Mishra 42cdce5795 test: update specs for document usage and reorginze them 2025-01-21 14:08:25 +05:30
Shivam Mishra e6ca17d134 feat: setup document usage 2025-01-21 13:59:07 +05:30
Shivam Mishra 637fc2c9ac test: update spec for usage_limits 2025-01-20 17:55:41 +05:30
Shivam Mishra cd72aa7bbf fix: listener 2025-01-20 17:48:06 +05:30
Shivam Mishra fffb093df0 feat: perform hand-off mid conversation if required 2025-01-20 17:44:18 +05:30
Shivam Mishra 906171462f fix: return response correctly 2025-01-20 17:07:23 +05:30
Shivam Mishra 6a3d23c11a fix: use to_i 2025-01-20 17:06:17 +05:30
Shivam Mishra b1ddcb946e feat: only check for captain_active 2025-01-20 16:55:42 +05:30
Shivam Mishra 0a4af3592e chore: disable response usage increment 2025-01-20 16:55:11 +05:30
Shivam Mishra 732b0d0ec0 refactor: account sepc 2025-01-20 16:54:22 +05:30
Shivam Mishra 4f6190886f style: fix rubocop issues 2025-01-20 16:45:41 +05:30
Shivam Mishra 02d90d9432 fix: rubocop issues 2025-01-20 16:41:49 +05:30
Shivam Mishra dd9a746603 fix: assistant log 2025-01-20 16:41:22 +05:30
Shivam Mishra 43a70ba0e4 feat: use instance_double 2025-01-20 16:39:40 +05:30
Shivam Mishra 4db7505550 style: don't use let! 2025-01-20 16:39:00 +05:30
Shivam MishraandGitHub 520009c7c8 Merge branch 'develop' into feat/captain-limits 2025-01-20 16:36:00 +05:30
Shivam Mishra 018313b033 style: remove unused assignments 2025-01-20 16:27:03 +05:30
Shivam Mishra 3ef939d6a3 style: update fn name 2025-01-20 16:26:30 +05:30
Shivam Mishra 0445bec38a style: use clamp 2025-01-20 16:25:40 +05:30
Shivam Mishra 491d653cbe feat: setup limits on document creation 2025-01-20 16:17:39 +05:30
Shivam Mishra c0cc97c308 fix: access 2025-01-20 16:17:22 +05:30
Shivam Mishra 53ef8522f2 feat: don't allow more documents than permitted 2025-01-20 15:54:39 +05:30
Shivam Mishra ab955d34e5 feat: log increments 2025-01-20 15:48:17 +05:30
Shivam Mishra eae8159936 feat: increment usage for notes and faqs 2025-01-20 15:44:04 +05:30
Shivam Mishra f1cdfc660e feat: don't allow notes and faq service is captain limits have exceeded 2025-01-20 15:39:25 +05:30
Shivam Mishra 493f9a75e7 fix: check 2025-01-20 15:30:58 +05:30
Shivam Mishra ec6c106a28 feat: remove bot check from response job 2025-01-20 15:30:12 +05:30
Shivam Mishra 901a93915d feat: handle limit check in hook execution service 2025-01-20 15:28:53 +05:30
Shivam Mishra 9c4bb5b0dd feat: update stripe tests 2025-01-20 15:22:54 +05:30
Shivam Mishra 2024d50390 feat: add spec for chat_service 2025-01-20 15:13:27 +05:30
Sivin VargheseandGitHub 05c16b49dd fix: Vite dev build fails due to sass (#10716)
# Pull Request Template

## Description

Fixes
https://linear.app/chatwoot/issue/CW-3853/vite-dev-build-fails-due-to-dart-sass

**Other issue**

| First Header  | Second Header |
| ------------- | ------------- |
|
![image](https://github.com/user-attachments/assets/e99ac2bc-0b8a-44d1-aa58-9e10e00b5ad5)
|
![image](https://github.com/user-attachments/assets/c987f70c-f5f5-4606-a498-00a6fe6b6525)
|



## 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
2025-01-20 14:34:33 +05:30
Sivin VargheseandGitHub a8ecbd3919 chore: Auto-fetch previous page on last item deletion (#10714)
# Pull Request Template

## Description

This PR fixes an issue where deleting the last item on the last page of
responses/documents, would show an empty state instead of loading the
previous page.

Fixes
> If you have pending responses spanning 2 or more pages .. and you
delete the last response in the last page.. instead of showing the
previous page the system show empty state.

## 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/b0e89f774ccd45dab0e8dba2c34bd1ac?sid=d9923bcd-5030-42d9-9b7f-170df5297cfd


## 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-01-20 14:34:23 +05:30
Shivam Mishra 4025517f09 feat: add specs for response builder 2025-01-20 14:33:58 +05:30
Shivam Mishra 8e1581ab83 fix: default return value 2025-01-20 14:07:06 +05:30
Shivam MishraandGitHub c25a75f497 feat: check if item is present (#10715) 2025-01-18 18:31:07 +05:30
Shivam MishraandGitHub 5820ef8f87 Merge branch 'develop' into feat/captain-limits 2025-01-17 16:53:57 +05:30
Shivam Mishra f9a323d136 feat: reset captain usage on stripe webhook 2025-01-17 16:45:57 +05:30
Shivam Mishra 3bac319feb feat: hand off if captain limits are reached 2025-01-17 16:44:22 +05:30
Shivam Mishra 5e094a866d fix: copy 2025-01-17 16:32:37 +05:30
Shivam Mishra 807383ff7d feat: ensure captain limits 2025-01-17 16:29:15 +05:30
Shivam Mishra bc7294e88e feat: add captain_active? fn 2025-01-17 16:28:58 +05:30
Shivam Mishra 9dff2ed76c feat: naive increment response creation 2025-01-17 16:20:59 +05:30
Shivam Mishra e8ba3ee37e feat: add sepcs for captain usage 2025-01-17 16:10:14 +05:30
Shivam Mishra 09ed4ae3c1 refactor: don't use magic strings 2025-01-17 15:35:59 +05:30
5046dc5727 feat: add CSAT & Form bubble (#10711)
![CleanShot 2025-01-17 at 14 02
40@2x](https://github.com/user-attachments/assets/7a19c4d7-7548-4b6a-92bb-0ddba181c428)

![CleanShot 2025-01-17 at 14 39
50@2x](https://github.com/user-attachments/assets/4251c944-2d1f-4cb5-817a-6352a644b743)

---------

Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com>
2025-01-17 15:30:52 +05:30
Shivam Mishra 05ed407c4a feat: handle documents and increment fn 2025-01-17 15:30:45 +05:30
Shivam Mishra ed551c485a feat: move captain limits to internal config 2025-01-17 15:00:50 +05:30
Sivin VargheseandGitHub 3da97d97be fix: Download button opens URL instead of downloading (#10710) 2025-01-17 14:34:44 +05:30