feat: stroke class, residue per artwork, mixed strokes, sheets split by class
All checks were successful
Build and deploy / Validate source (push) Successful in 1m25s
Build and deploy / Integration suite on a real stack (push) Successful in 4m40s
Build and deploy / Secret scan and release gate (push) Successful in 12s
Build and deploy / Publish images (push) Successful in 1m38s

Round 3, items 9, 4, 16 and 17 (Dropstar, 2026-10-30).

- 9: the Site measures the thinnest stroke of each sheet and loose artwork
  (alpha > 40, chamfer distance in strips, width at local maxima, 1st
  percentile, at 300 DPI) and sends stroke_px and C1/C2/C3 with the item.
  The Kanban shows the class prefilled in the approve step; Produção may
  change it (POST /orders/{id}/contraction, who and when recorded), and the
  manifest carries it.
- 4: the residue check runs on each loose artwork, accepted per artwork; the
  sheet inherits what was accepted.
- 16: fine lines and solid areas in one file. Loose art: a pop-up with
  [Subir separado] [Continuar assim]. Ready sheet: protect the fine lines
  (default), protect the solid areas (stroke_choice client_c3, starts at C3)
  or go back and send two sheets, which holds the order.
- 17: loose art of fine (C1, C2) and solid (C3) strokes goes on separate
  sheets, each its own order item (split group/part/of) with its own file
  and class. Each sheet rounds to 10 cm and the 1 m minimum is charged once
  per group, since the customer did not choose the split. Cart, payment
  summary, portal, receipt and mail show it as such.
- The board loads quote views in two queries instead of two per quote.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Cauê Faleiros
2026-11-03 10:24:29 -03:00
parent 388408d4d6
commit 2615163fd3
23 changed files with 547 additions and 57 deletions

View File

@@ -518,3 +518,17 @@ html:is([data-rota="pagamento"],[data-rota="pix"]) .pagGrid{display:grid;grid-te
.opFn small{font-size:13.5px;color:var(--texto2)}
.opF i{font-style:normal;font-size:12px;font-weight:700;color:var(--verde-ml);white-space:nowrap}
.opF em{font-style:normal;font-weight:800;white-space:nowrap}
/* Item 16: fine lines and solid areas in one file. */
.mistaDlg{width:min(560px,calc(100vw - 32px));margin:auto}
.mistaCorpo{padding:4px 20px 20px;display:flex;flex-direction:column;gap:16px}
.mistaCorpo p{margin:0;line-height:1.5;font-size:15.5px}
.mistaBot{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}
.mistaBot button{height:42px;padding:0 16px;border-radius:10px;font-weight:700;cursor:pointer}
#mistaSegue{background:transparent;border:1px solid currentColor;opacity:.8}
.ciente.mista:not([hidden]){display:block}
.ciente.mista label{display:flex;gap:8px;align-items:flex-start;margin-top:6px}
/* Item 17: loose art in two sheets, fine and thick strokes. */
#vArea .folhasTraco{display:flex;flex-direction:column;gap:14px}
#vArea .folhaTraco{margin:0;display:flex;flex-direction:column;gap:6px}
#vArea .folhaTraco figcaption{font-size:14.5px;font-weight:700;color:var(--texto2)}