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:
nessarandClaude Opus 5.5 committed 2026-10-19 10:45:28 +02:00
1 parent 35a63d24c4
commit 58be749949
14 files changed
+529 -45

No files matched your search

+6
View File
@@ -243,6 +243,12 @@ export interface AppTranslations {
incomplete: string;
cancel: string;
cancelling: string;
progress: {
stages: Record<string, string>;
rule: string;
remaining: string;
overrun: string;
};
cancelled: string;
cancelledPartial: string;
error: string;