feat: The Big One UI #47

Merged
j.gerla merged 115 commits from temp_screenshot_manual into dev 2026-01-28 08:27:30 +00:00
Showing only changes of commit 883f0a95a6 - Show all commits

View File

@@ -85,9 +85,8 @@ const useProgramStore = create<ProgramState>((set, get) => ({
const rootGoals = phase["goals"] as Record<string, unknown>[]; const rootGoals = phase["goals"] as Record<string, unknown>[];
const flatList: GoalWithDepth[] = []; const flatList: GoalWithDepth[] = [];
// Helper: Define this ONCE, outside the loop
const isGoal = (item: Record<string, unknown>) => { const isGoal = (item: Record<string, unknown>) => {
return item["plan"] !== undefined && item["plan"] !== null; return item["plan"] !== undefined;
}; };
// Recursive helper function // Recursive helper function