feat: the orders' files in Dropstar's three folders: Arte recebida, Arte conferida, Finalizado
All checks were successful
Build and deploy / Validate source (push) Successful in 11s
Build and deploy / Integration suite on a real stack (push) Successful in 4m27s
Build and deploy / Secret scan and release gate (push) Successful in 8s
Build and deploy / Publish images (push) Successful in 1m19s

Asked by Dropstar on 2026-10-23 and agreed on 2026-10-26. The automatic
folder becomes "Pastas dos pedidos": one main folder is chosen once, in
Chrome or Edge on a factory computer that reaches the server, and the
Kanban keeps three folders inside it, moved with the card.

- Arte recebida: the order's file as soon as the order arrives
- Arte conferida: the queue; the file moves there with the card and stays
  while it prints and is checked in Revisão
- Finalizado: when the order is released, kept 30 days
- Correção, a cancellation or a deletion takes the file out; a replaced
  final is swapped
- orders already printing when the folder is chosen are not downloaded; a
  file someone took out comes back only when its order moves on, so the
  server now returns the files of orders the folders hold while they print,
  are checked and finish
- Firefox, which cannot write into folders, still only downloads the files
  entering Arte conferida

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Cauê Faleiros
2026-10-26 16:31:20 -03:00
parent b6f20733fa
commit ee1159065a
5 changed files with 170 additions and 138 deletions

View File

@@ -336,15 +336,21 @@ docs/guias/telas/.
### Kanban automatic folder (agreed in the 2026-10-07 meeting)
The Kanban, open on the print room's computer, saves the files to a folder
chosen in Integrações (Chrome or Edge; Firefox only downloads). Per computer,
it downloads as soon as the order arrives in Arte recebida (the default since
2026-10-20), into a `Recebidos` folder inside the chosen one, moved up when
the order enters the queue (Arte conferida since 2026-10-26); or only when the
order enters the queue.
Files of orders cancelled, deleted or sent back for correction, and files
replaced by another final, are removed from the folder
(`POST /api/operator/queue/folder`).
Dropstar's three folders (asked 2026-10-23, agreed 2026-10-26): the Kanban,
open in Chrome or Edge on a factory computer that reaches the server's
folder, signed in with a profile that sees every order (Gestão), keeps the
orders' files in three folders it creates inside the one chosen in
Integrações ("Pastas dos pedidos"): Arte recebida (the file arrives when the
order does), Arte conferida (the queue; the file moves there with the card
and stays while it prints and is checked in Revisão) and Finalizado (when the
order is released, kept 30 days there). Correção, a cancellation or a
deletion takes the file out; a replaced final is swapped. Orders already
printing when the folder is chosen are not downloaded. A file someone took
out is fetched again only when its order moves on (`POST
/api/operator/queue/folder`, which also returns the files of orders the
folders hold once they print). Who opens each folder is set in the server's
folder permissions. Firefox cannot write into folders: it only downloads the
files entering Arte conferida.
Integrações (2026-10-20): only the superadmin (us) has the buttons, the
details and the Tiny log there (`integrations` capability, app/core/auth.py).
@@ -430,9 +436,11 @@ Still to do (2026-10-26):
- Waiting on Dropstar: the DTF SITE category's numeric id (CATEGORY in
app/tiny.py is still DUPLICADO DROP), the internal rules document (D-16 to
D-23), and the montador spec (and which "histórico" Marcus means for its
orders). Their three server folders moved on card moves need a written
decision: the Kanban in the room's browser can do it; a program on their
server is the factory agent left out of this scope.
orders).
- The three folders, once deployed: Marcus sets the main folder on the
factory computer (Chrome, Integrações > Pastas dos pedidos); check on the
first print whether FlexiPRINT keeps reading the file in Arte conferida
after import (the file only leaves that folder at Finalizado).
- Anchor-customer orders from the montador: after the launch; the team's idea
is that Graphs handles that side and sends the orders to this Kanban.