feat: the machine is chosen at sign-in, per session (Dropstar's third round, item 12)
Some checks failed
Build and deploy / Validate source (push) Successful in 5s
Build and deploy / Integration suite on a real stack (push) Failing after 2m32s
Build and deploy / Secret scan and release gate (push) Successful in 5s
Build and deploy / Publish images (push) Has been skipped
Some checks failed
Build and deploy / Validate source (push) Successful in 5s
Build and deploy / Integration suite on a real stack (push) Failing after 2m32s
Build and deploy / Secret scan and release gate (push) Successful in 5s
Build and deploy / Publish images (push) Has been skipped
After signing in, the Kanban asks "Em qual máquina você está?": required
for the operator, optional for Gestão and Administrador ("Não estou em
máquina"), never for the other profiles. The session keeps it until it
ends or is changed from the header, where the machine shows in green;
one person on two computers runs two machines. Someone else already on
the machine is a warning, not a refusal.
Operators see the whole board (no more per-machine filter). From Arte
conferida they pull any card, which becomes their machine's (a machine
that does not print its product refuses it); they move only their
machine's cards, and the others show without drag or buttons. Their
cards and their machine's row in Imprimindo are outlined in green. The
history records the machine with the person: "Imprimindo · Thales ·
máquina2". Usuários shows who is on each machine now, read-only; the old
operator/machine assignment is no longer read.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -75,6 +75,16 @@ input[type=file]{font-size:14px;color:var(--muted);max-width:100%}
|
||||
.tinydot:empty{display:none}
|
||||
/* .morewrap pushes the panel's menu right; here the search box already does. */
|
||||
.morewrap.account{margin-left:0}
|
||||
/* The session's machine (item 12): green when on one; a click changes it. */
|
||||
.mymachine{flex-shrink:0;display:inline-flex;align-items:center;gap:6px;height:36px;padding:0 12px;border:1px solid var(--line2);border-radius:8px;background:transparent;color:var(--muted);font:inherit;font-size:13.5px;font-weight:700;cursor:pointer;white-space:nowrap}
|
||||
.mymachine.on{border-color:var(--ok);color:var(--ok);background:rgba(111,209,156,.08)}
|
||||
.mymachine[hidden]{display:none}
|
||||
.card.mine{border-color:var(--ok);box-shadow:inset 0 0 0 1px var(--ok)}
|
||||
.col-head .slot-row.mine{margin:0 -6px;padding:3px 6px;border:1px solid var(--ok);border-radius:8px}
|
||||
.machine-choices{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px;margin:14px 0}
|
||||
.machine-choice{display:flex;flex-direction:column;align-items:flex-start;gap:3px;padding:14px;border:1px solid var(--line2);border-radius:10px;background:var(--card2);color:var(--tx);font:inherit;text-align:left;cursor:pointer}
|
||||
.machine-choice b{font-size:15px}
|
||||
.machine-choice:hover,.machine-choice.on{border-color:var(--ok)}
|
||||
.account .btn{min-width:38px;padding:0 10px;font-weight:800;letter-spacing:.02em}
|
||||
.account .menu{min-width:240px}
|
||||
.menu-head{display:flex;flex-direction:column;gap:2px;padding:8px 10px 10px;border-bottom:1px solid var(--line2);margin-bottom:4px}
|
||||
|
||||
Reference in New Issue
Block a user