console: offer the manual reply affordance at Onboarded

Backend 106 keeps the WhatsApp reply loop open after the policy issues, so the
Engage employee answers post-issuance questions. Mirror that in the operator
console: the onboarded (closed) state now offers the same "Reply to the
customer" affordance the quote and payment stages do, folded away as a bounded
loop, so a person can step in on WhatsApp. customer-reply stays channel-only,
never an operator button, as at every other stage.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
Yashas 2026-09-09 15:39:02 +05:30
parent 956a1703df
commit 02012f271a

View File

@ -171,6 +171,12 @@ const STATE_ACTIVITIES = {
'zk-state-issued': [
{ uid: 'zk-act-onboard', label: 'Complete Onboarding', by: 'Engage AI', role: 'force' },
],
// The policy is live and the lead is closed, but the closing WhatsApp invites
// the customer to reply, and Engage now answers post-issuance questions (106).
// Offer the same manual reply the working stages do, so a person can step in.
'zk-state-onboarded': [
{ uid: 'zk-act-answer-customer', label: 'Reply to the customer', by: 'you, on WhatsApp', role: 'again' },
],
'zk-state-parked': [
{ uid: 'zk-act-resume', label: 'Resume outreach now', by: 'you', role: 'do' },
],