Date: 2026-05-18
Branch: codex/attorney-hub-payton-complete-2026-05-17
Live URL: https://samaguiarinjurylawyers2.lightning.force.com/lightning/n/Attorney_Hub_Payton
Worktree: /Users/samaguiar/.config/superpowers/worktrees/sail-litify/attorney-hub-payton-complete-2026-05-17
Related Day-1 entry: Payton Team Hub v2: Editorial KPI Redesign Deployed to Production
| ID | What |
|---|---|
0AfUV000001X16P0AS |
Apex batch: AttorneyHubPaytonRankings, composite stale touch logic, partner exclusion by User Id |
0AfUV000001X1ft0AC |
Risk Radar tab renamed to Client Service. Treatment Call Overdue tile added. |
0AfUV000001X1hV0AS |
Treatment Damages 100k+ / 50k+ tiers added to Opportunities tab (20k+ already there) |
Day-1 work had two wrong attorney names. Verified live:
0055e000005xgfjAAA (Litify Partner SAIL)0058W000009UWo1QAG005UV000006DwQvYAK0055e000005xgfiAAATotal_Fees_from_Insurance__cMinimum_Total_Min_Known_Coverage_Single__cThe 5 ranking reports exclude the 3 partner Ids via PARTNER_USER_IDS Set<Id> in AttorneyHubPaytonRankings.cls.
No single Litify custom field carries that meaning. Standard LastActivityDate only captures completed Tasks/Events. Solution: composite mostRecentTouch() Apex helper = max of LastActivityDate, Last_Note_Date__c, litify_pm__Last_Called_At__c, litify_pm__Last_Emailed_At__c. LastModifiedDate intentionally excluded due to nightly automation noise.