fix: an HTML page from the proxy is a passing outage, a full machine and a proof card in Finalizado are said before the move (DTF-WEB-1Z, 20, 21)
All checks were successful
Build and deploy / Validate source (push) Successful in 6s
Build and deploy / Integration suite on a real stack (push) Successful in 7m42s
Build and deploy / Secret scan and release gate (push) Successful in 5s
Build and deploy / Publish images (push) Successful in 1m20s

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
Cauê Faleiros
2026-11-27 09:26:48 -03:00
parent ffc7d3153a
commit 5dc4135562
3 changed files with 14 additions and 1 deletions

View File

@@ -270,6 +270,10 @@ function renderBoard(){
// The card may have moved to another machine since the drag began (the
// board reloaded in between, Sentry DTF-WEB-1P): said, not refused.
if(!mayAct(order)){say('Pedido da '+(order.machine?.name||'outra máquina')+': só quem está nela move o card.');clearDrop();return;}
// A proof card ends with its answer, on the card (Sentry DTF-WEB-21).
if(state==='fin'&&order.proof_parent){
say('A prova termina com Prova OK ou Prova reprovada, no card da prova.');openPanel(order.id);clearDrop();return;
}
// Above 1 m Finalizado needs the review photo: the drop opens Revisão
// instead of a refused move (Sentry DTF-WEB-B).
if(state==='fin'&&order.state==='rev'&&needsReviewPhoto(order)){