feat: Dropstar's new flow: Arte conferida is the queue, Revisão and the Revisor
All checks were successful
Build and deploy / Validate source (push) Successful in 9s
Build and deploy / Integration suite on a real stack (push) Successful in 3m36s
Build and deploy / Secret scan and release gate (push) Successful in 5s
Build and deploy / Publish images (push) Successful in 1m24s
All checks were successful
Build and deploy / Validate source (push) Successful in 9s
Build and deploy / Integration suite on a real stack (push) Successful in 3m36s
Build and deploy / Secret scan and release gate (push) Successful in 5s
Build and deploy / Publish images (push) Successful in 1m24s
The board Dropstar drew on 2026-10-23: Arte recebida, Arte conferida, Imprimindo, Correção, Revisão, Finalizado. - Fila de impressão leaves the board: Arte conferida is the queue. It takes an order only with every item's final approved, keeps the finals as approved, orders its cards for printing and has the room's "Baixar" and the automatic folder. Orders that were in the queue move there once, with a line in their history - Revisão checks the printed sheet, and the new Revisor profile is the only one that sends an order to Finalizado (the superadmin too, for support) - who moves what, from the server (MOVES): the designer the artwork, asking for corrections and bringing the new art back; the operator Arte conferida to Imprimindo to Revisão; admin and gestão everything else, Correção included; a step back belongs to whoever makes the move it undoes - Tiny: Arte conferida is "Preparando envio" and Finalizado "Pronto para envio", for delivery orders too - Prova OK still comes before Finalizado; the customer's portal shows the new steps Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -340,7 +340,8 @@ 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; or only when the order enters the print queue.
|
||||
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`).
|
||||
@@ -352,7 +353,7 @@ produces also gets the folder's row with its buttons.
|
||||
|
||||
Machines (2026-10-20, app/machines.py): each order keeps one machine, either
|
||||
chosen in the order panel or given on arrival: the active machine of its
|
||||
product with the fewest metres open (rec, tra, fil, imp, cor), preferring
|
||||
product with the fewest metres open (rec, tra, imp, cor), preferring
|
||||
those below their optional limit in metres, else the least loaded anyway (the
|
||||
Usuários page shows it over the limit). A machine switched off, deleted or no
|
||||
longer printing the product hands its automatic orders, not yet printing, to
|
||||
@@ -362,9 +363,8 @@ the machine form); a linked operator sees only those machines' orders.
|
||||
Dropstar's corrections of 2026-10-21 already done: the home example priced as
|
||||
a ready sheet; opening hours 7h to 18h with "send your art any time"; uploads
|
||||
up to 1 GB (MAX_UPLOAD_BYTES, scanned whole by ClamAV); a Designer profile
|
||||
(artwork stages only, every order, no machine, queue or cancelling;
|
||||
DESIGNER_STATES in app/core/auth.py, the "print" capability for the room's
|
||||
side); Números by date range, per machine (metres finished, metres per hour
|
||||
(artwork stages only, every order, no machine, queue or cancelling; MOVES
|
||||
in app/core/auth.py, the "print" capability for the room's side); Números by date range, per machine (metres finished, metres per hour
|
||||
in Imprimindo, last finished, now) and orders apart from passages. A machine's
|
||||
metres are the film printed (item `metres`), never the billed ones, and time
|
||||
two orders spent in Imprimindo together counts once; a stage's median is per
|
||||
@@ -397,19 +397,42 @@ settled in writing.
|
||||
Done on 2026-10-26: the single price per product Dropstar asked for on
|
||||
2026-10-23 (see Commercial rules), on the Site and the server.
|
||||
|
||||
Dropstar's flow of 2026-10-23, in the code since 2026-10-26 (app/runtime.py,
|
||||
app/core/auth.py): the board is Arte recebida, Arte conferida, Imprimindo,
|
||||
Correção, Revisão, Finalizado. Fila de impressão left: Arte conferida is the
|
||||
queue, entered only with every item's final file approved, kept as approved
|
||||
there (to change one, the order goes back to Arte recebida), with its card
|
||||
order as the print order and "Baixar" for the room; orders that were in the
|
||||
queue were moved to Arte conferida with a line in their history. Who moves
|
||||
what (MOVES): the Designer Arte recebida to Arte conferida, asks for
|
||||
corrections and brings the new art back to Arte recebida or Arte conferida;
|
||||
the Operador Arte conferida to Imprimindo to Revisão; only the Revisor (and
|
||||
the superadmin, for support) Revisão to Finalizado, so nobody releases their
|
||||
own print; Admin and Gestão every other move, including Imprimindo or
|
||||
Revisão to Correção and Correção straight to Revisão. A step back belongs to
|
||||
whoever makes the move it undoes, and to Admin and Gestão. Tiny: Arte
|
||||
conferida sets "Preparando envio" and Finalizado "Pronto para envio", for
|
||||
delivery orders too; nothing for Imprimindo, Correção or Revisão. Prova OK
|
||||
still comes before Finalizado. The customer's portal shows the same steps.
|
||||
|
||||
Still to do (2026-10-26):
|
||||
- The DTF number in Tiny's `numeroPedidoEcommerce`: sent since 2026-10-26,
|
||||
next to the purchase order `numeroOrdemCompra` (which the resend check
|
||||
searches), with no channel unless `TINY_ECOMMERCE_ID` is set; Tiny's v3 API
|
||||
cannot list channels or take one by name. Confirm at the supervised Tiny
|
||||
test order: the probe reads the number back and fails if Tiny dropped it.
|
||||
- Before TINY_STATUS_UPDATES goes on: Finalizado now sets "Pronto para
|
||||
envio" on delivery orders too, so the client's n8n must not send them the
|
||||
pickup message it sends on that situação.
|
||||
- Dropstar creates the Revisor users right after the redeploy that brings the
|
||||
new flow (the profile exists only from then): until then orders wait in
|
||||
Revisão, and only the superadmin can release them.
|
||||
- Waiting on Dropstar: the DTF SITE category's numeric id (CATEGORY in
|
||||
app/tiny.py is still DUPLICADO DROP), their flow image (removing Fila de
|
||||
impressão, a Revisão column and a Revisor profile, the only one to move to
|
||||
Finalizado; Tiny statuses per stage), the internal rules document (D-16 to
|
||||
D-23), and the montador spec. 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.
|
||||
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.
|
||||
- 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.
|
||||
|
||||
@@ -440,7 +463,7 @@ as references and are not imported or started by Compose.
|
||||
one-metre minimum, ten-centimetre rounding, freight, and final totals. Immutable
|
||||
approved quotes expire after 24 hours. A customer confirms the server total
|
||||
on the Site to create one idempotent local paid order.
|
||||
- Paid orders use `rec`, `tra`, `fil`, `imp`, `cor`, `fin`, with allowed transitions,
|
||||
- Paid orders use `rec`, `tra`, `imp`, `cor`, `rev`, `fin` (`fil` until 2026-10-26), with allowed transitions,
|
||||
operator authentication, concurrency checks, and durable movement history.
|
||||
Local mock integration receipts are visible in the Kanban.
|
||||
- The customer portal at `/portal.html` supports local registration/login,
|
||||
|
||||
Reference in New Issue
Block a user