From 5e5f4ca8d4bbeb934946fd5293271e576bf670cf Mon Sep 17 00:00:00 2001 From: Lars Date: Sat, 13 Jun 2026 16:23:04 +0200 Subject: [PATCH] Enhance Progression Findings and Graph Editor with Evaluation Staleness Handling - Added `evaluationStale` state to `ProgressionGraphEditor` and `ProgressionFindingsPanel` to track the freshness of evaluations. - Updated UI to display a warning when evaluations are stale, prompting users to re-evaluate the graph. - Modified loading and evaluation functions to manage the `evaluationStale` state effectively, ensuring accurate user feedback during the evaluation process. - Improved user notifications regarding the need for re-evaluation after changes to the graph. --- .../components/ProgressionFindingsPanel.jsx | 23 +++++++++- .../src/components/ProgressionGraphEditor.jsx | 46 +++++++++++-------- 2 files changed, 49 insertions(+), 20 deletions(-) diff --git a/frontend/src/components/ProgressionFindingsPanel.jsx b/frontend/src/components/ProgressionFindingsPanel.jsx index 162b04e..0b4135e 100644 --- a/frontend/src/components/ProgressionFindingsPanel.jsx +++ b/frontend/src/components/ProgressionFindingsPanel.jsx @@ -296,6 +296,7 @@ export default function ProgressionFindingsPanel({ generatingOfferId = null, aiBusy = false, evaluateDisabled = false, + evaluationStale = false, }) { const { fixHints: optimizationHints, highlightTexts } = useMemo( () => splitPathQaHints(pathQa), @@ -314,8 +315,8 @@ export default function ProgressionFindingsPanel({

Graph-Bewertung

- Bewertet den aktuellen Slot-Stand (3-Stufen-QS, ohne Auto-Rematch) — dieselbe Logik nach Match, - solange keine Zuordnung geändert wurde. + Bewertet den aktuellen Slot-Stand (3-Stufen-QS, ohne Auto-Rematch). Nach Änderungen am Graphen + erscheint ein Hinweis — dann erneut „Graph bewerten“.