feat(planning): follow the indicative wait in calculation progress
The overlay percentage now rises linearly to 95% at the expected wait captured at Calculate, holds there, and shows 100% only when the planner completes. Beneath the status, one line names the current planning stage (with the rule name for rule stages) and another shows the approximate remaining time, or "Taking longer than expected" once the wait is exceeded, announced once through the live status. Cancel freezes the percentage and hides both lines. PlanningCalculationService reports the stage and submitted request instead of fixed per-stage percentages; PlanningDurationService owns the wait progress on a 250 ms tick. Closes #300 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
35a63d24c4
commit
58be749949
14 files changed
+529
-45
No files matched your search
@@ -200,6 +200,18 @@
|
||||
"incomplete": "El cálculo se detuvo antes de completar todas las etapas de calidad.",
|
||||
"cancel": "Cancelar",
|
||||
"cancelling": "Cancelando…",
|
||||
"progress": {
|
||||
"stages": {
|
||||
"preparation": "Preparando el calendario",
|
||||
"validation": "Comprobando tus datos",
|
||||
"obligations": "Cumpliendo las obligaciones",
|
||||
"expiry": "Usando primero los saldos que vencen antes",
|
||||
"dates": "Fijando las fechas definitivas"
|
||||
},
|
||||
"rule": "Aplicando «{rule}»",
|
||||
"remaining": "Quedan unos {value} {unit}",
|
||||
"overrun": "Está tardando más de lo previsto"
|
||||
},
|
||||
"cancelled": "Cálculo cancelado",
|
||||
"cancelledPartial": "Cálculo cancelado — plan parcial",
|
||||
"error": "El planificador encontró un error inesperado.",
|
||||
|
||||
Reference in new issue
Block a user