Each machine with something printing is one line: its name, the order
printing (green, as the card's Imprimindo label) and the one ripping
(blue, as Ripando), each opening its order, or a dashed "livre" place;
above the limit, the extra order shows in red. The machines with nothing
printing share one line, "Livres: máquina3 · máquina4", so an empty
column takes one line instead of a grid of "0/2" chips. In a narrow
column the places go under the machine's name.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A pickup order reaching Finalizado has its receipt due: a PDF for the
80 mm roll with the order number large at the top, the customer and
CPF/CNPJ, each product and its metres, the amount and how it was paid,
the date issued, and the "Retirado em" and "Assinatura" lines
(app/receipt.py). The Kanban's folder saves it in Recibos/, where the
counter's print queue sends it to the Bematech. One computer claims each
receipt on the server before writing it, so it is never printed twice,
and gives it back if it could not save it. Orders sent by carrier have
none.
"Retirado" on a pickup in Finalizado records when and who handed it
over, with an optional photo of the signed receipt (kept 30 days). Anyone
but the seller may mark it (new "deliver" capability); the order panel
also opens the receipt to print it again.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A file starts uploading as soon as it is on the product page, not once
the item is in the cart. Under the uploader, each file has its row:
"Enviando NOME · 62% · 1,2 MB de 2,0 MB", then the security check, then
"enviado"; a failure says why, with "Tentar de novo". Each part goes
through XMLHttpRequest, so the bytes move while a part is on its way
instead of once per 8 MB part. A file taken off the page, and in no cart
item, stops uploading.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The order panel shows where each item's file is in the orders folder,
with Copiar: 1. Arte recebida\DTF-N-item-K, named as the automatic
folders save it (GET /api/operator/orders/{id}/folder-files). The browser
knows only the folder's name, so each computer is told once where it is
and the whole path is copied. "Subir arte tratada" sends the file saved
over; it becomes the item's final, "Arte tratada" lights and the order
can move to Arte conferida.
Only the treated item changes: the others keep their approved final,
which the server now accepts beside a new one (still refused when
nothing is new).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A sheet with dots under 2 mm still stops the order, now with a box under
the warning: "Esta arte tem N pontos menores que 2 mm. Estou ciente e
aceito imprimir assim — eles podem se perder no recorte." Ticked, the
sheet goes on, and the item carries how many dots were accepted
(residue_accepted), kept through the review and shown on the Kanban card,
order panel and quote. A solid background still stops it, with no box.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A third pull onto the same machine is refused with "máquina5 já tem 2 em
Imprimindo", and so is changing a printing order to a full machine. On
the board, the first order to enter Imprimindo on its machine is labelled
Imprimindo and the next Ripando; the column shows each machine's count,
as "máquina5 · 2/2".
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- the "Mais vendido" card has a thick green border
- the four "Enviar..." buttons share that green as the action colour
- the uploader sits on top of the file list, the newest file right under it
- with files in, the uploader stays big and highlighted instead of shrinking
to a thin dashed line
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The checkout's "Quero aprovar uma prova" box shows only when the cart is
above 10 m, and the server keeps the request only then. Below 10 m there is
no proof; above it the room's own proof stays automatic.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
It was 28,5 cm. The Site's UV products, ready-sheet check, layout and size
shortcuts, the server's film-width check, the print file and the Tiny item
names follow; two pieces of up to 13,2 cm share a UV row.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
D-29 keeps the release with the Revisor, so nobody in the room releases
their own print; the Administrador, Dropstar's own login, may release as
well (the user, 2026-10-28). Gestao, Designer and Operador still cannot.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
It was 5 GB, then 1 GB from 2026-10-21. ClamAV keeps scanning up to its own
2000 MiB limit; a larger file passes by the file-format check, as before
the 1 GB limit.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Gestao opens a rework from the order panel with its cause (falha de
impressao, perfil de cor, erro de tratamento, erro de pedido, or arte
aprovada pelo cliente, outside the goal), the metres redone and a note; the
cause never changes. An Administrador authorizes or declines it with a
reason, never one they opened, and only an authorized rework counts. The
order keeps who printed it. Numeros shows the metres redone per cause over
the film printed, against 0,4% per cause and 1,6% for the house, by who
printed, and the reworks waiting for authorization. Vendedor goes back to
viewing only (D-30): registering orders paid outside is Administrador and
Gestao.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
On an approved quote in Cotacoes, Administrador, Gestao and Vendedor pick
the origin (Site, Dropflow, Atendimento) and how it was paid (Pix, cartao,
dinheiro, credito do cliente), neither preselected, with an optional note.
The price is the quote's, the Site's table price. The order is marked paid
outside, counts in Numeros, and goes to Tiny like a Site order with the
payment named in its internal note; a Dropflow order stays out of Tiny,
status updates and cancelling included, until its revenue category exists.
Auto-refresh waits while a register form on screen is half filled in.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Orders carry site, dropflow or atendimento, required and with no default,
limited to the three. The Site's orders are marked site where they are
created; older orders became site. The Kanban shows the origin on each card
and in the order panel, filters by it, and Numeros has a Por origem table:
orders, metres, money and time from payment to Finalizado per way in.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The Site reads the first bytes when a file is chosen and renames it to its
real extension: a .cdr that is a PDF is measured and priced as a PDF,
without the manual charge; a JPG called .png is refused, naming the file.
The scan does the same on the server and stores the real name, so every
decision that reads the name follows the content. A name its content agrees
with stays (an .ai is a PDF inside but is still handled by hand).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Dropstar's internal rules (2026-10-26): waiting for a word with the customer
has no deadline and does not enter the time figures.
- each wait is kept, from the mark to "Contato feito" (and from checkout when
the customer asks for a proof), in a new table; waits open today are
recorded from their start
- the time in each stage and "Do pagamento ao Finalizado" leave those waits
out, and the Números page says so
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Dropstar's internal rules (2026-10-26): the folder must reproduce what passed,
not only what sits in the columns when the computer comes back, or a room
running 24 hours leaves a gap a week in the Finalizado archive.
- the Kanban remembers when the folders were chosen and asks for every order
paid since then, whatever its stage; each file goes to its stage's folder,
so an order finished while the computer was off lands in 3. Finalizado
- orders paid before the folders were chosen still stay out, so setting them
up never pulls old orders back into the queue
- the server's file list for the folders and Baixar now loads only the orders
that have a file, not every order in the stages
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Dropstar's internal rules (2026-10-26) asked how to tell art that arrived
ready from art the designer had to fix, and Marcus agreed on 2026-10-27 to
mark it automatically, for the designer's productivity.
- an order whose approved final is not the customer's art (not the file the
system generated from it, not one of their originals, not a correction
they sent) shows "Arte tratada" on its card and in the order, with who
approved it
- Números counts the period's treated orders, the share of all orders, and
how many each person approved
- the Kanban's cancel text: the money stays as the customer's credit, in
Dropstar's financial control (rule D-15), no longer a refund
- Números' machine table shows the orders waiting in Arte conferida again;
it still looked for the old print queue
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Dropstar's internal rules of 2026-10-26: the coordination pulls back, never
forward, always with a reason. The Gestão profile now sends orders to
Correção from any stage and steps them back, and no longer moves them
forward. Admin, Dropstar's own login, keeps every move but Finalizado, which
stays the Revisor's (D-29).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Tried on a local Kanban with Dropstar's flow: the folders appeared only with
the first file, and a listing showed Arte conferida before Arte recebida.
- "1. Arte recebida", "2. Arte conferida" and "3. Finalizado" are created
as soon as the main folder is chosen or released, and again on every
round if someone deletes one
- numbered, a folder listing shows them in the order the file moves
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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>
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>
Dropstar asked on 2026-10-23 to drop the five-band ladder by grade:
textile R$ 19,90 a ready sheet and R$ 21,90 loose art, UV R$ 79,90 and
R$ 89,90.
- the server charges PRICES (app/core/pricing.py) whatever the grade; the
grade is still validated and kept with the item, and discount_cents is gone
- a file opened by hand pays the product's price plus MANUAL_FILE_EXTRA_CENTS
- the Site's PRECO replaces FAIXAS, TABELA and MONTAGEM; the top chip, the
home example, the product cards, the selector and the price table read it
(data-preco), so no page still says "a partir de R$ 14,90"
- no "Desconto pela nota", ladder, "cai até" or "sai mais barato" anywhere;
the buy box shows "Nota da arte" on its own line, the 96 DPI refusal and the
resolution warning stay
- the review reason "Nota informada sem análise da arte" is removed: it only
stopped a discount. The server still checks the grade against the files,
so the grade shown on the Kanban and in Tiny stays honest
- the Tiny probe's test order uses the single price
- docs/CONTEXT.md: Commercial rules and Still to do
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- JPG is refused in every product, at upload and by the server: it has no
transparency, so the background prints and loose art packs as a box
- a PDF over 150 MB says before payment that the Site cannot check it, as a
file opened by hand does
- every piece that is not square is tried both ways; the 1 cm rule left
19,5 x 18,5 cm standing, 2 to a row instead of 3
- a mirrored order (UV only) is flagged on its card and panel, and its print
file's footer ends in ESPELHADO, in bold
- print files are named DTF-23-item-1, and the order panel copies DTF-23-,
so the code pasted into the folder's search finds them
- the proof: up to 30 cm, from the thinnest lines, a piece of each different
artwork, at most three per order, free
- a file opened by hand costs R$ 2,00 more a metre by default, and the Site
says so
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Drawn from the <img>, a large sheet was decoded again for each strip the
residue check reads. Decoded once into an ImageBitmap and reused for the
thumbnails, the check of a 57 x 50 cm sheet at 300 DPI drops from 4,7 s to
1,4 s, and the bar moves while it runs.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Dropstar's items 15 and 16 (2026-10-21).
- an order above 10 m prints 20 cm of proof first; the room checks it and
marks "Prova OK", without stopping the order, and without that mark the
order cannot reach Finalizado
- at checkout, "Quero aprovar uma prova antes de imprimir", for any length:
the paid order arrives marked "Aguardando contato" with what to do, and
waits for the customer's word on the photo sent by WhatsApp
- the card shows Prova / Prova OK, the panel gives the next step, and
"Prova a conferir" is a board filter; the designer cannot mark it
- the proof is not billed, as Dropstar leans; rounds and which part of the
sheet wait for their answer
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The layout rule of 2026-10-21 records version 3, but checkout still
refused any item not on version 2, so no order could be quoted (CI's
browser test timed out at the upload), and the Kanban marked new quotes
"Montagem antiga". Both now take versions 2 and 3, as the server does.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Dropstar's item 12 (2026-10-21): the footer link opened the clothing
store's terms. The DTF's page says what Dropstar listed: the art is
printed as sent and is the customer's responsibility, files are kept for
30 days, and a personalised product has no exchange for regret; and what
the customer's data is used for and where it goes. Waiting for Dropstar's
approval of the text.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Dropstar's items 2 and 3 (2026-10-21): both were warnings the customer
could pay past; now one dot is enough to stop the order.
- every pixel is read (images in strips at 1:1, large PNGs while they
stream, PDFs rendered in strips at about 0,2 mm): the old check shrank
the image first and could miss a small dot, or sampled every n-th pixel
- a residue is ink under 2 mm on both sides, measured from where the ink
starts and ends in each cell: the same dot gets the same verdict wherever
it falls on the grid, from 0,5 to 4 mm (his acceptance test)
- a solid background is under 1,5 % of transparent pixels; a JPG sheet
always has one
- the sheet says how many dots there are, circles them on the preview, and
asks to erase them and send again; the order waits for the check to end
- the page no longer offers JPG for a ready sheet
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A textile transfer is pressed face down, so a mirrored one prints
backwards on the garment (Dropstar, 2026-10-21). The Site no longer offers
"Espelhar" on textile artwork and the server refuses a mirrored textile
layout. UV keeps the button until Dropstar decides.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Dropstar's item 5 (2026-10-21). The engine placed pieces on a 5 mm grid,
rounding each up: two 28,2 cm pieces needed 57,5 cm on a 57 cm film, so the
second column slid 8 cm down, rows ended 8,6 mm apart and nothing was left
at the edges. Order 1 came out 97,14 cm long.
- pieces are laid out in rows with their exact sizes: 5 mm at the top, the
bottom and between rows; across the width 5 mm at the edges and between
pieces, or, when that does not fit, the space left shared out equally,
never under 1,5 mm (order 1: 2 mm each, 89,42 cm long)
- each artwork stands or lies down, whichever gives the shorter sheet
- the shape packing (pieces fitting into each other) is kept only when it
saves at least 1 cm; otherwise the columns stay aligned
- the order records layout version 3; quotes made with version 2 still pass
- the preview says the spacing really used
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The row of fifteen chips, one filter at a time, becomes a Filtros button
with four lists. The choices combine (Têxtil on máquina2, waiting for
contact), each option says how many orders it would show, and the
filters in use stay beside the button as tags taken off with a click.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- a machine's metres are the film printed, not the metres billed, which round
up to one metre and made small orders look like fast printing
- orders in Imprimindo together on one machine count that time once
- a stage's median time is per order, the sum of its passages, so rework
reads as one slow order instead of quick passages
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- the home example priced as the ready sheet it shows (nota 92, R$ 14,90)
- opening hours 7h to 18h, and art sent at any time
- uploads up to 1 GB, every file scanned
- a Designer profile: artwork and corrections on every order, moving only
among Arte recebida, Arte conferida and Correção
- Números by date range, per machine, and orders apart from passages
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
With TINY_STATUS_UPDATES on, an order entering Imprimindo becomes
"Preparando envio" in Tiny, and a cancelled order "Cancelada", next to the
"Aprovada" on payment and the pickup "Pronto para envio" there already.
Neither sends a WhatsApp in the client's n8n. An order the team already
moved further in Tiny is never moved back, and an invoiced one is not
cancelled here: its nota fiscal is cancelled in Tiny. Cancelling a paid
order now tells Tiny, which it did not before.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The Site asked only for CPF/CNPJ, WhatsApp and e-mail, so a person's Tiny
contact was named after the recipient or the e-mail, and the WhatsApp notices
the client's n8n sends from Tiny greeted "Olá, fulano@gmail.com". The cart's
"Seus dados" and the signup now ask for a name, the account page can change
it, and it names a CPF customer's Tiny contact (a CNPJ keeps the registry's
razão social), the Kanban card and the team's alerts. Orders placed before
have none, as the server still accepts.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The system will not send WhatsApp messages: the client's n8n already does,
from Tiny's status changes. Paid orders and stage changes now queue only
the Tiny delivery; the fake WhatsApp adapter, its setting and secret, the
Integrações row and the send log's Destino column are gone, and the old
WhatsApp log rows are removed. The customer's WhatsApp number, the
"Avisar no WhatsApp" link for corrections and the contact links stay.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
On the Site and the account page the logo led to the wholesale store; it
now opens the DTF home page (inside the Site, without reloading). The store
stays a click away in the header menu and the footer.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The backup row gets a button that asks for a backup outside the daily hour,
for after a failure or before a risky change. The Kanban records the
request; the backup service, which alone may read the whole database, looks
every minute and runs it. The row says it was asked for until it runs.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
"Voltar" closes the product page but leaves the artwork list; an image
whose reading finished afterwards repainted it with no product chosen and
threw (MODOS[null].larg). It now paints nothing. The artwork browser test
caught it now and then, failing CI.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Integrações gets "Baixar ao chegar" next to "Baixar na Fila". On arrival the
file (the generated print file, or the final once approved) goes into a
Recebidos folder inside the chosen one and moves up when the order enters
the queue. Files of orders cancelled, deleted or sent back for correction,
and files replaced by another final, leave the folder.
The launch reset now restarts order numbers at #1 by itself: the worker's
role may set the orders' number sequence, and nothing else.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The cart and the account signup take either document, each with its own
mask and check digits. Tiny gets a person (F) for a CPF, Mercado Pago the
matching identification type, and only CNPJs go to the company registry.
The Kanban, the account page and the alerts show which one it is.
Also pins the Correios test's clock: its fake token expired today, so the
suite failed from Oct 16 on.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The cart showed Jadlog's internal service name ("Jadlog .PACKAGE"), a
"Receber em casa" line naming every carrier, and the delivery time again in
the order summary, where it wrapped. Now the option is "Jadlog", the line
says only to type the CEP, and the summary reads "Frete · Correios SEDEX".
The Kanban's Frete row lists the options and pickup in one sentence.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Dropstar sent its Correios contract. The cart now asks every carrier at once
for the CEP and lists each option with its delivery time, cheapest first and
chosen by default: Jadlog .PACKAGE, Correios PAC and Correios SEDEX, plus
pickup. A carrier that does not answer is left out instead of blocking the
others, and the server quotes the customer's choice again at approval. The
order summary, the Kanban and Minha conta name the carrier chosen.
app/correios.py follows the CWS manuals: a token from the posting card (kept
until shortly before it expires, renewed once if refused), the contract's own
prices by its DR, and the delivery time. Each box is one object priced by its
sides; Correios work out the cubic weight. All carriers price the same
package, now in app/package.py. Only CORREIOS_CODIGO_ACESSO goes in the
stack; the user, card and contract are its defaults. python -m
app.correios_probe checks the contract and its service codes on the account.
Tested: tests/test_correios (token, contract parameters, prices in Brazilian
format, boxes, a code override, a failing carrier), the full suite in a
CI-style stack, and the cart in Brave on desktop and phone.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Changing the e-mail in Dados da conta took effect at once, with nothing
checking the new address: a typo locked the customer out, and anyone at a
signed-in computer who knew the password could move the account to their own
e-mail and then reset its password. Now the code goes to the new address, the
account changes only once it is entered (same screen and limits as signup,
and only the account that asked can complete it), and the old address gets
"O e-mail da sua conta foi trocado", with the WhatsApp to call if it was not
them. Without e-mail on, it changes at once as before.
Signup and e-mail change share one code check (expiry, five attempts, the
60 s resend wait). Tested: mail_test (wrong password, same and taken e-mail,
wrong code, another account's attempt, resend wait, the notice), the full
suite in a CI-style stack, and the screen in Brave.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>