feat(work-status): add opt-in turn statistics (#3177)

Add optional completed-turn statistics without changing the existing panel layout. Separate final text delivery speed from whole-turn throughput, preserve scope and opt-in settings, and explain each metric with localized delayed tooltips.

Validated focused telemetry, lifecycle, sync and persistence tests, all-workspace type-check and lint, web builds, the 12-locale narrow layout, and full GitHub CI.
This commit is contained in:
alvins82
2026-09-06 22:56:27 +03:00
committed by GitHub
parent b0282b2720
commit d8215ef5b3
36 changed files with 1404 additions and 31 deletions
@@ -203,6 +203,9 @@ export const createSettingsHelpers = (dependencies) => {
...new Set(candidate.workStatusHiddenSections.filter((entry) => typeof entry === 'string' && entry.length > 0)),
];
}
if (typeof candidate.workStatusHiddenSectionsExplicit === 'boolean') {
result.workStatusHiddenSectionsExplicit = candidate.workStatusHiddenSectionsExplicit;
}
if (typeof candidate.desktopLanAccessEnabled === 'boolean') {
result.desktopLanAccessEnabled = candidate.desktopLanAccessEnabled;
}