feat: the print queue's automatic folder is switched on in Integrações
All checks were successful
Build and deploy / Validate source (push) Successful in 1m8s
Build and deploy / Integration suite on a real stack (push) Successful in 3m20s
Build and deploy / Secret scan and release gate (push) Successful in 9s
Build and deploy / Publish images (push) Successful in 1m2s
All checks were successful
Build and deploy / Validate source (push) Successful in 1m8s
Build and deploy / Integration suite on a real stack (push) Successful in 3m20s
Build and deploy / Secret scan and release gate (push) Successful in 9s
Build and deploy / Publish images (push) Successful in 1m2s
The folder was a small icon beside "Baixar" in Fila de impressão, easy to miss, and in Brave it silently fell back to downloads that Brave blocks. It is now a card in Integrações, which operators also see (only that card): choose the folder FlexiPRINT reads, or the internal server's share, and every order that enters the queue has its final files saved there. - Brave hides the folder API behind a flag; the card says so, shows the flag's address with a copy button, and points to Chrome or Edge. - After a browser restart, a "!" on the Integrações tab and a "Liberar pasta" button ask for the one click the browser requires. - The folder checks the queue every 30 s on its own, so an order moved on another computer is saved even with the board's auto-refresh off. - A browser that cannot rename the finished file copies it instead of leaving it as .baixando; errors stay on the card until the next success. Tested in Brave (flag off: the card explains; flag on: 12 queued files saved, and an order moved by another session saved 23 s later), and the browser test now checks that an order entering the queue lands in the folder. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -249,7 +249,7 @@ main{padding:0 24px 24px}
|
||||
.charttable summary{cursor:pointer}
|
||||
.charttable table{margin-top:8px}
|
||||
#stats-stages .swatch{display:inline-block;width:10px;height:10px;border-radius:3px;background:var(--c);margin-right:8px}
|
||||
.grid4{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px}
|
||||
.grid4{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:12px}
|
||||
.integration{display:flex;flex-direction:column;gap:10px;padding:16px;border-radius:12px;border:1px solid var(--line2);background:var(--card)}
|
||||
.integration .head{display:flex;align-items:center;gap:8px}
|
||||
.integration .head b{font-size:15px}
|
||||
@@ -257,6 +257,7 @@ main{padding:0 24px 24px}
|
||||
.integration .head em{margin-left:auto;font-style:normal;font-size:13.5px;font-weight:700;color:var(--dotx,var(--muted))}
|
||||
.integration p{margin:0;font-size:14px;color:var(--muted)}
|
||||
.integration .buttons{margin-top:auto}
|
||||
.integration code.flag{font-size:13px;padding:6px 8px;border-radius:8px;background:var(--card2);color:var(--tx2);user-select:all;overflow-wrap:anywhere}
|
||||
table.log{width:100%;border-collapse:collapse;font-size:14px}
|
||||
table.log th{text-align:left;color:var(--faint);font-weight:600;padding:8px 12px;border-bottom:1px solid var(--line)}
|
||||
table.log td{padding:10px 12px;border-bottom:1px solid #1E2226;vertical-align:top}
|
||||
@@ -444,12 +445,6 @@ a.zap{display:inline-flex;align-items:center;gap:4px;vertical-align:bottom}
|
||||
.danger-text{color:var(--bad)}
|
||||
.machine-select{height:36px;padding:0 10px;border-radius:8px;border:1px solid var(--line3);background:var(--bg);color:var(--tx);font:inherit;font-size:14px}
|
||||
.card .machine{color:var(--accent-tx)}
|
||||
/* Fila de impressão's tools: Baixar, and the automatic folder (grey off, green saving, orange to release). */
|
||||
/* Fila de impressão's tools: Baixar. */
|
||||
.coltools{display:flex;gap:6px;flex-shrink:0}
|
||||
.autofolder{color:var(--faint);padding:0 8px}
|
||||
.autofolder.on{color:var(--ok);border-color:rgba(111,209,156,.4)}
|
||||
.autofolder.warn{color:var(--warn);border-color:rgba(242,179,61,.5)}
|
||||
.autofolder.busy svg{animation:pulse 1s ease-in-out infinite alternate}
|
||||
@keyframes pulse{to{opacity:.35}}
|
||||
.steps-list{margin:0;padding-left:20px;display:flex;flex-direction:column;gap:6px;font-size:14px;color:var(--tx2)}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user