feat: the customer sees how long each site step is taking (0.12)
All checks were successful
Build and deploy / Validate source (push) Successful in 5s
Build and deploy / Integration suite on a real stack (push) Successful in 4m26s
Build and deploy / Secret scan and release gate (push) Successful in 5s
Build and deploy / Publish images (push) Successful in 1m0s

The file card, the sheet preview and the analysis status now count the
seconds since the file arrived; the confirmation says the Prumo is
preparing the print file and the usual estimate per 10 m.
This commit is contained in:
Cauê Faleiros
2026-11-06 12:18:02 -03:00
parent dc87d46801
commit 25e4ac541a
6 changed files with 15 additions and 9 deletions

View File

@@ -406,8 +406,9 @@ function medirFolha(file){
}
function textoProgresso(x){
if(x.med && x.med.grande) return 'gerando a prévia e conferindo a arte · '+faltaLeitura(x.leitura);
return x.pct<50?'lendo o arquivo…':x.pct<70?'medindo a folha…':'conferindo a arte…';
const tempo=x.analiseInicio?' · '+segundosDesde(x.analiseInicio)+' s':'';
if(x.med && x.med.grande) return 'gerando a prévia e conferindo a arte · '+faltaLeitura(x.leitura)+tempo;
return (x.pct<50?'lendo o arquivo…':x.pct<70?'medindo a folha…':'conferindo a arte…')+tempo;
}
// The file card's thumbnail (52 x 96 px, drawn at twice that for sharp screens).
// At 480 x 720 it is the picture the Kanban shows of the order (checkout.js).