iachat/app/javascript/dashboard/composables/spec
Sojan Jose aee979ee0b
fix: add explicit remove assignment actions to macros and automations (#12172)
This updates macros and automations so agents can explicitly remove
assigned agents or teams, while keeping the existing `Assign -> None`
flow working for backward compatibility.

Fixes: #7551
Closes: #7551

## Why
The original macro change exposed unassignment only through `Assign ->
None`, which made macros behave differently from automations and left
the explicit remove actions inconsistent across the product. This keeps
the lower-risk compatibility path and adds the explicit remove actions
requested in review.

## What this change does
- Adds `Remove Assigned Agent` and `Remove Assigned Team` as explicit
actions in macros.
- Adds the same explicit remove actions in automations.
- Keeps `Assign Agent -> None` and `Assign Team -> None` working for
existing behavior and stored payloads.
- Preserves backward compatibility for existing macro and automation
execution payloads.
- Downmerges the latest `develop` and resolves the conflicts while
keeping both the new remove actions and current `develop` behavior.

## Validation
- Verified both remove actions are available and selectable in the macro
editor.
- Verified both remove actions are available and selectable in the
automation builder.
- Applied a disposable macro with `Remove Assigned Agent` and `Remove
Assigned Team` on a real conversation and confirmed both fields were
cleared.
- Applied a disposable macro with `Assign Agent -> None` and `Assign
Team -> None` on a real conversation and confirmed both fields were
still cleared.
2026-04-16 15:57:41 +05:30
..
fixtures feat: Rewrite reportMixin to a composable (#10029) 2024-08-27 08:00:05 +05:30
emitter.spec.js chore: fix circleci on vite build (#10214) 2024-10-07 15:27:41 +05:30
index.spec.js chore: fix circleci on vite build (#10214) 2024-10-07 15:27:41 +05:30
useAccount.spec.js feat(v4): Update the design for the contacts list page (#10501) 2024-11-27 20:07:20 -08:00
useAdmin.spec.js feat: Replace alertMixin usage with useAlert (#9793) 2024-07-23 16:41:11 +05:30
useAgentsList.spec.js fix: Translate "None" option in agent assignment dropdown (#11060) 2025-03-11 14:49:27 -07:00
useAutomation.spec.js feat: add automation condition to filter private notes (#12102) 2026-04-13 10:40:46 +05:30
useCaptain.spec.js feat: track copilot events (#13342) 2026-01-22 18:38:04 +05:30
useConfig.spec.js feat: Rewrite configMixin to a composable (#9921) 2024-08-14 12:56:30 +05:30
useConversationLabels.spec.js feat: Rewrite conversation/labelMixin to a composable (#9936) 2024-08-12 17:41:12 +05:30
useConversationRequiredAttributes.spec.js feat: Conversation workflows(EE) (#13040) 2026-01-27 11:36:20 +04:00
useDetectKeyboardLayout.spec.js feat: Rewrite keyboardEventListener mixin to a composable (#9831) 2024-08-05 18:59:47 +05:30
useEditableAutomation.spec.js feat: add automation condition to filter private notes (#12102) 2026-04-13 10:40:46 +05:30
useFileUpload.spec.js feat: allow configuring attachment upload limit (#12835) 2025-11-17 14:03:08 -08:00
useFontSize.spec.js feat: Agent language settings (#11222) 2025-09-09 14:27:36 +05:30
useImageZoom.spec.js chore: Improvements in image attachment viewer (#11040) 2025-03-18 14:01:18 +05:30
useImpersonation.spec.js feat: Prevent saving preferences and status when impersonating (#11164) 2025-05-20 17:34:30 -07:00
useInbox.spec.js feat: TikTok channel (#12741) 2025-12-17 07:54:50 -08:00
useIntegrationHook.spec.js chore: Repalce Hook Mixin with useHook composable [CW-3454] (#9994) 2024-08-22 16:48:02 +05:30
useKeyboardEvents.spec.js refactor: useKeyboardEvents composable (#9959) 2024-08-22 16:40:55 +05:30
useKeyboardNavigableList.spec.js refactor: useKeyboardEvents composable (#9959) 2024-08-22 16:40:55 +05:30
useMacros.spec.js fix: add explicit remove assignment actions to macros and automations (#12172) 2026-04-16 15:57:41 +05:30
useReportMetrics.spec.js feat: Rewrite reportMixin to a composable (#10029) 2024-08-27 08:00:05 +05:30
useTranslations.spec.js fix: Rendering of translations based on the user's locale (#13211) 2026-01-08 18:37:42 -08:00
useUISettings.spec.js feat: allow quoted email thread in reply (#12545) 2025-09-30 17:47:09 +05:30