Sivin Varghese
5eee331da3
feat: add slash command menu to article editor ( #14035 )
2026-04-16 11:27:59 +05:30
Sivin Varghese
dedb0426fb
chore: Improve pagination with compact number formatting and pluralization ( #12962 )
2025-11-27 10:32:34 +05:30
Shivam Mishra
7b20ecd27b
chore: Revert pagination formatting and pluralization ( #12954 )
2025-11-25 21:36:13 +05:30
Sivin Varghese
26778156dc
chore: Improve pagination with compact number formatting and pluralization ( #12921 )
...
# Pull Request Template
## Description
This PR enhances the pagination component with standardized number
formatting and improved i18n handling.
**Includes:**
* Added `formatCompactNumber` and `formatFullNumber` helpers using
`Intl.NumberFormat`.
* `< 1,000`: show exact value (e.g., `999`)
* `1,000–999,999`: show compact format (`1k`, `1k+`)
* `1,000,000+`: show in millions with one decimal (e.g., `1.2M`)
* Updated `PaginationFooter` to use the new formatters for all displayed
numbers.
* Added proper pluralization to pagination i18n strings.
Fixes
https://linear.app/chatwoot/issue/CW-5999/better-display-of-numbers
## Type of change
- [x] Bug fix (non-breaking change which fixes an issue)
## How Has This Been Tested?
### Screenshoots
**Before**
<img width="991" height="69" alt="image"
src="https://github.com/user-attachments/assets/9fcf8baa-ae32-4a8a-85b0-24002fd863db "
/>
<img width="991" height="69" alt="image"
src="https://github.com/user-attachments/assets/3d7138b7-133e-4ae6-b55f-67eff73ff1cc "
/>
<img width="991" height="69" alt="image"
src="https://github.com/user-attachments/assets/1bbf7070-0681-492d-9308-a33874052d28 "
/>
<img width="991" height="69" alt="image"
src="https://github.com/user-attachments/assets/4e441672-26aa-4e66-965e-9edb807eaa72 "
/>
<img width="991" height="69" alt="image"
src="https://github.com/user-attachments/assets/11836702-1b74-4834-8932-31c20adc2db8 "
/>
<img width="991" height="69" alt="image"
src="https://github.com/user-attachments/assets/d37971bc-09af-4238-8601-ccc2ae69dbe7 "
/>
**After**
<img width="991" height="69" alt="image"
src="https://github.com/user-attachments/assets/8eaf2a23-beea-486b-b555-37f8b36ab904 "
/>
<img width="991" height="69" alt="image"
src="https://github.com/user-attachments/assets/f44f508a-e39d-45cb-afd8-98deb26920f8 "
/>
<img width="991" height="69" alt="image"
src="https://github.com/user-attachments/assets/d3b90711-bd7e-44ee-8bb3-48e45b799420 "
/>
<img width="991" height="69" alt="image"
src="https://github.com/user-attachments/assets/30dca6cd-f2be-4dcb-8596-924326ebf8c0 "
/>
<img width="991" height="69" alt="image"
src="https://github.com/user-attachments/assets/58896699-1f05-46c9-88cb-908318e71476 "
/>
<img width="991" height="69" alt="image"
src="https://github.com/user-attachments/assets/ea0d91b0-077b-4d72-81a7-d38d17742da6 "
/>
## 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
2025-11-24 17:49:24 -08:00
Sivin Varghese
d7c10b4f2a
chore: Add "Coming Soon" overlay to voice channel selector ( #11835 )
...
# Pull Request Template
### Screenshots
**Dark**
<img width="867" alt="image"
src="https://github.com/user-attachments/assets/74f6da33-1fa1-4472-84b8-5d097f4a00e1 "
/>
**Light**
<img width="867" alt="image"
src="https://github.com/user-attachments/assets/5e6d5a4c-cd95-462b-baea-ff3ac333153c "
/>
---------
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com >
2025-06-30 14:30:09 +05:30
Shivam Mishra
b533980880
feat: Add support for minutes in auto resolve feature ( #11269 )
...
### Summary
- Converts conversation auto-resolution duration from days to minutes
for more
granular control
- Updates validation to allow values from 10 minutes (minimum) to 999
days (maximum)
- Implements smart messaging to show appropriate time units in activity
messages
### Changes
- Created migration to convert existing durations from days to minutes
(x1440)
- Updated conversation resolver to use minutes instead of days
- Added dynamic translation key selection based on duration value
- Updated related specs and documentation
- Added support for displaying durations in days, hours, or minutes
based on value
### Test plan
- Verify account validation accepts new minute-based ranges
- Confirm existing account settings are correctly migrated
- Test auto-resolution works properly with minute values
- Ensure proper time unit display in activity messages
---------
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com >
2025-05-07 00:36:15 -07:00
Sivin Varghese
9d49b69f2e
feat: Add support for feature spotlight components ( #11012 )
2025-03-18 13:17:42 -07:00
Sivin Varghese
b116ab5ad3
feat(v4): Compose new conversation without multiple clicks ( #10545 )
...
---------
Co-authored-by: Pranav <pranav@chatwoot.com >
Co-authored-by: Pranav <pranavrajs@gmail.com >
2024-12-05 20:16:29 -08:00
Shivam Mishra
c23cd094f9
feat(v4): Add filter input components ( #10493 )
...
This PR adds three components along with stories
1. MultiSelect - This is used for filter values, allowing multiple values and folding of values where there are too many items
2. SingleSelect - This is used for filter values, allows selecting and toggling a single item
3. FilterSelect - This is used for operators and others, it allows icons and labels as well as toggling them using props. The v-model for this binds just the final value unlike the previous two components with bind the entire object.
---------
Co-authored-by: Pranav <pranavrajs@gmail.com >
2024-11-25 11:52:28 -08:00
Sivin Varghese
e9ba4200b2
feat: Add custom attributes components ( #10467 )
2024-11-24 16:46:00 -08:00
Sivin Varghese
2dae4b22a2
feat: Add Label Input components ( #10480 )
2024-11-21 13:57:43 -08:00
Sivin Varghese
c3604bfcbf
feat: New phone number input component ( #10446 )
2024-11-20 22:31:05 +05:30
Sivin Varghese
b0d6089bb6
feat: Updates on new components ( #10444 )
2024-11-20 20:21:35 +05:30
Sivin Varghese
f73798a1aa
feat(v4): Help center portal redesign improvements ( #10349 )
2024-10-28 21:04:43 -07:00
Sivin Varghese
7be1ecaf96
feat: Add new ComboBox component ( #10267 )
2024-10-15 13:03:06 -07:00
Sivin Varghese
f13644245e
feat: Add the new Dialog component ( #10266 )
2024-10-15 13:01:57 -07:00
Sivin Varghese
62f4f127aa
feat: Add new breadcrumb component ( #10268 )
2024-10-15 12:59:50 -07:00
Sivin Varghese
dec637ab8a
feat: Add new pagination component ( #10263 )
2024-10-14 21:06:54 -07:00