iachat/spec/controllers/api/v1
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
..
accounts feat: API Endpoints to update message status (#11387) 2025-04-29 15:33:11 -07:00
widget fix: Show campaigns only if the feature is enabled (#11420) 2025-05-05 19:41:28 -07:00
accounts_controller_spec.rb feat: Add support for minutes in auto resolve feature (#11269) 2025-05-07 00:36:15 -07:00
notification_subscriptions_controller_spec.rb chore: Enable the new Rubocop rules (#7122) 2023-05-19 14:37:10 +05:30
profiles_controller_spec.rb fix: Fix issue with profile picture not updating (#10532) 2024-12-04 15:02:29 -08:00
upload_controller_spec.rb feat: Extend upload API end point to support external images (#10062) 2024-09-05 10:42:54 +05:30