From bd25cb9c1c29bfd556b7f73cb35965f4c3b03a44 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cau=C3=AA=20Faleiros?= Date: Tue, 17 Nov 2026 09:26:13 -0300 Subject: [PATCH] fix: the drag to Arte conferida without approved finals guides instead of reporting an error (DTF-WEB-R) The drop already opens the order on the approval step (DTF-WEB-F); its line is guidance, like the review photo's in DTF-WEB-B, so it is no longer red and no longer reaches Sentry. Co-Authored-By: Claude Opus 5.5 (1M context) --- web/kanban-board.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/web/kanban-board.js b/web/kanban-board.js index d2f0841..166c7eb 100644 --- a/web/kanban-board.js +++ b/web/kanban-board.js @@ -273,9 +273,10 @@ function renderBoard(){ clearDrop();return; } // Arte conferida needs every item's final approved: the drop opens the - // order on that step instead of a refused move (Sentry DTF-WEB-F). + // order on that step instead of a refused move (Sentry DTF-WEB-F). The + // line is guidance, not an error, so it stays out of Sentry (DTF-WEB-R). if(state==='tra'&&order.state!=='tra'&&!finalDone(order)){ - say('Aprove o arquivo final de todos os itens antes de Arte conferida.',true); + say('Aprove o arquivo final de todos os itens antes de Arte conferida.'); openPanel(order.id);clearDrop();return; } try{