fix(measure): START cycle advances to next task instead of blocking
When all subtasks of a task were measured, the completion overlay only offered "Riepilogo" (which leaves the work cycle) or "Conferma ciclo" (which keeps the operator stuck on the same task and starts the interval timer). During the START run — before production is started — neither lets the operator simply move to the next task. Make the overlay phase-aware: - Production started: keep "Conferma ciclo". - START, not the last task: primary action "Task successivo" -> goToNextTask(). - START, last task: "Avvio Produzione" -> startProductionFromOverlay(), which starts production and kicks off the interval cycle. Add isLastTask getter and startProductionFromOverlay(); EN translation for the new label. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -2188,3 +2188,6 @@ msgstr "E.g. SN-000123 (optional)"
|
||||
msgid "Supervisor (capoturno)"
|
||||
msgstr "Supervisor (shift leader)"
|
||||
|
||||
msgid "Task successivo"
|
||||
msgstr "Next task"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user