feat(outbound): phase 7c — outbound worklist hub, dial hand-offs and outbound call loop#10
Open
Madhav2402 wants to merge 4 commits into
Open
Conversation
… dial hand-offs (7c)
…listener and worklist hardening
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
10 tasks
10 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
📋 Description
OutboundCallWorklistsComponent, route verbatim) with its three tabs (generic follow-ups / Everwell / grievance), the dial hand-offs into the Phase-6 wizard slides, the outbound branches of registration and closure, and the dashboard's "Outbound Worklist" entry link. This closes the full outbound call loop end-to-end. Stacked on feat(supervisor): phase 7b — activity console shell, telephony iframes, supervisor entry route #9 — please review/merge feat(supervisor): phase 7b — activity console shell, telephony iframes, supervisor entry route #9 first; this PR's diff shows only the 3 phase-7c commits.✅ Type of Change
What's in this PR
Worklist hub + three tabs (
app-modules/outbound/)OutboundCallWorklistsComponent(old path verbatim) → tab hub: generic (call/outboundCallList,is1097:true, optionalassignedUserIDlike the old service), Everwell (everwellCall/outboundCallList, with thecheckIfAlreadyCalledpre-dial guard — old semantics kept exactly: flag absent → no dial, true → alert, false → dial, read off the top-level envelope like the oldextractData), grievance (getGrievanceOutboundWorklist; the backend'sseverety/beneficiaryRegIdfield spellings kept verbatim)N/Acell logicOutboundDialService— one CZentrix dial handshake (cti/callBeneficiary), settingisOnCall+ the variant flag (isEverwellCall/isGrievanceCall/none) exactly as each old worklist didCTI call-event listener at shell level (
CtiCallEventsService)addEventListener("message", this.listener.bind(this))— unremovable (bound reference lost), so it leaked and stayed alive on every page visited after the dashboard. That leak was the only reason an outbound-worklist dial ever reached the call screen.Outbound branches of the call flow
current_campaignsemantics — a mid-call reload falls into the inbound path); generic outbound opens the call with the worklist row'sbeneficiaryRegID/phone, capturesoutBoundCallID(= the row'soutboundCallReqID), auto-loads the row's beneficiary for selection (oldstartOutBoundCall→outboundEvent)call/completeOutboundCall; grievance:completeGrievanceCallwith the old payload verbatim; Everwell: faithful silent no-op (the old app posted nothing when no feedback data existed — the Phase 8 feedback flow adds the completion branch); old bare-HTTP-status error alerts keptbeneficiaryRegId(both casings) and opens the call whenever the campaign is OUTBOUND and hand-off data exists (old gate)start-call.helpers.ts— onecall/startCallrequest builder + response capture used by all three call-open sitesDashboard entry
cti/switchToOutbound→ hub; the "already in MANUAL mode" error still navigates (old behaviour)Declared deviations (frontend-only; payloads unchanged)
worklist-datehelpers coerce numeric-string epochs like Angular's DatePipe did (rendering-only)Verification (live against UAT, CO account)
Accept|…|OUTBOUNDevent on the hub → call screen →call/startCall(beneficiaryRegIDfrom the row, 200) →outBoundCallIDcaptured → beneficiary auto-loaded → linked (updatebeneficiaryincall200) → closure →completeOutboundCall {outboundCallReqID, isCompleted:true}200 →closeCall {IsOutbound:true, isCompleted:true}200 → dashboardng buildclean, tsc clean, GPL header check passingℹ️ Additional Information
call/startCallon load and closure submits fire REAL completion +closeCallPOSTs.