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

Deploys

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)

Live recon corrections

Day-1 work had two wrong attorney names. Verified live:

The 5 ranking reports exclude the 3 partner Ids via PARTNER_USER_IDS Set<Id> in AttorneyHubPaytonRankings.cls.

"No matter activity" field

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.

What's live now

Performance tab