feat(supervisor): phase 7d — outbound allocation and reallocation suite (generic, grievance, everwell) - #11
Open
Madhav2402 wants to merge 3 commits into
Open
Conversation
|
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 |
…vance and everwell outbound (7d)
… and dead date filters
Madhav2402
force-pushed
the
feat/phase7d-allocation
branch
from
July 24, 2026 08:42
a8644eb to
4f3e3ef
Compare
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
✅ Type of Change
What's in this PR
AllocationApiService(flavor-driven, bodies byte-faithful)call/outboundCallCount/outboundCallList(is1097:true) /outboundAllocation{roleID, userID[], allocateNo, outboundCallRequests}/resetOutboundCall{outboundCallReqIDs}unallocatedGrievanceCount,allocatedGrievanceRecordsCount,allocateGrievances/reallocateGrievances{startDate, endDate, providerServiceMapId, language, fromUserId, roleID, touserID[], allocateNo},moveToBin{…, noOfCalls, is1097}everwellCall/*with theproviderServiceMapId/agentIdcasing, bin by{eapiIds}dayBoundary()reproduces the old timezone-shifted day-window strings (T00:00:00.000Z/T23:59:59.000Z/T23:59:59.999Z);localDate()parses picker values as local midnight (the old md2 pickers produced local Dates)One shared
AllocateRecordsComponent(replaces the old app's three clones)allocateNoto 0 (oldvalidate); generic clears below 1 / clamps to the pool; everwell has no upper clamp before an agent is selected (the old everwell read its count off the response envelope, leaving it undefined) but clamps to the per-agent share after selection; grievance prefills on ROLE change; generic/grievance error alerts show the bare HTTP status, everwell shows the error message (old handlers)onCreatepayload), not the count-query boundariesAllocation parent (cases 12 / 29 / 26)
Allrow (disabled at 0)Reallocation parent (cases 13 / 30 / 27)
noOfCalls; generic/everwell fetch the agent's records then reset byoutboundCallReqIDs/eapiIds)display:nonedead UI on every flavor and never postedDeclared deviations (frontend-only)
allocateNoto the full pool (the old grievance branch); the old generic/everwell divided by zero there (allocateNo = Infinity) — not replicated (the form is unsubmittable without agents either way)localDate()/local default dates fix UTC/local day-shift artifacts the old local-Date pickers never had (rendering + query-window correctness for non-IST timezones; identical strings in IST)Verification (live against UAT,
1097Supervisor)All-only rows correctly hide actionsng buildclean, tsc clean, GPL header check passingℹ️ Additional Information