@@ -146,7 +146,7 @@ export default async function AppHomePage({
146146
147147 const successfulLeadCount = allLeads . filter ( ( lead ) => lead . ownerNotifiedAt || lead . notifiedAt ) . length ;
148148 const systemStatus = getCustomerSystemStatus ( business , successfulLeadCount ) ;
149- const metrics = buildRecoveryMetrics ( allLeads ) ;
149+ const metrics = buildRecoveryMetrics ( allLeads , business . averageJobValueCents ) ;
150150
151151 const attentionLeads = allLeads
152152 . filter ( ( lead ) => isLeadOpenStatus ( lead . status ) )
@@ -164,7 +164,7 @@ export default async function AppHomePage({
164164
165165 return rightPriority . activityAt - leftPriority . activityAt ;
166166 } )
167- . slice ( 0 , 5 )
167+ . slice ( 0 , 4 )
168168 . map ( ( lead ) => toLeadCard ( lead , demoMode ) ) ;
169169
170170 const queueAnchor =
@@ -191,24 +191,24 @@ export default async function AppHomePage({
191191 key : 'phone-line' ,
192192 label : 'Phone line connected' ,
193193 detail : phoneLineConnected
194- ? 'CallbackCloser has a business line ready for missed-call recovery .'
195- : 'Connect the business line that should trigger missed-call recovery.' ,
194+ ? 'Business line ready.'
195+ : 'Connect the line that should trigger missed-call recovery.' ,
196196 state : phoneLineConnected ? ( 'complete' as const ) : ( 'pending' as const ) ,
197197 } ,
198198 {
199199 key : 'owner-alerts' ,
200200 label : 'Owner alerts ready' ,
201201 detail : ownerAlertsReady
202- ? 'The owner alert route is ready for qualified lead handoffs .'
203- : 'Add an owner phone or email so lead handoffs land in the right place .' ,
202+ ? 'Owner handoff route ready.'
203+ : 'Add an owner phone or email for lead handoffs.' ,
204204 state : ownerAlertsReady ? ( 'complete' as const ) : ( 'pending' as const ) ,
205205 } ,
206206 {
207207 key : 'texting-activation' ,
208208 label : 'Texting activation in progress' ,
209209 detail :
210210 systemStatus . key === 'live'
211- ? 'Texting is live and recovering missed calls now .'
211+ ? 'Texting is live.'
212212 : systemStatus . description ,
213213 state :
214214 systemStatus . key === 'live'
0 commit comments