iachat/spec/models/concerns
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
..
access_tokenable_shared.rb chore: Update dependencies to the latest versions (#5033) 2022-07-15 09:51:59 +07:00
assignment_handler_shared.rb feat(perf): Cache labels on the conversation model (#8527) 2023-12-11 18:27:55 -08:00
auto_assignment_handler_shared.rb fix: assignee_changed callback not getting triggered during conversation creation (#9334) 2024-05-06 11:48:17 -07:00
avatarable_shared.rb chore: Ability to Disable Gravatars (#5027) 2022-07-21 19:27:12 +02:00
cache_keys_spec.rb feat: expiry for cache keys [CW-3038] (#8793) 2024-01-29 15:27:26 +05:30
json_schema_validator_spec.rb feat: Add support for minutes in auto resolve feature (#11269) 2025-05-07 00:36:15 -07:00
liquidable_shared.rb feat: Add the support for custom attributes in message variables (#8511) 2023-12-08 14:13:35 -08:00
out_of_offisable_shared.rb chore: Limit objects returned by conversation API (#2721) 2021-07-31 21:19:42 +05:30
reauthorizable_shared.rb feat: Instagram reauthorization (#11221) 2025-04-03 14:30:48 +05:30
switch_locale_spec.rb fix: Extend the locale without variant check for article locales as well (#11021) 2025-03-06 18:24:46 -08:00