feat(planner): desktop redesign — flip tiles, full-width grid, no right panel #54

Merged
marcel merged 30 commits from feat/issue-52-planner-flip-tiles into master 2026-04-10 15:44:39 +02:00
Showing only changes of commit e5c361fe42 - Show all commits

View File

@@ -1,36 +1,11 @@
import type { Recipe, Slot, SlotMap } from '$lib/planner/types';
export interface ReasoningTag {
id: 'neues-protein' | 'aufwand-leicht';
label: string;
color: 'green' | 'yellow';
}
interface TagItem {
id?: string;
name?: string;
tagType?: string;
}
interface Recipe {
id: string;
name: string;
cookTimeMin?: number;
effort?: string;
tags?: TagItem[];
}
interface SlotRecipe {
id?: string;
tags?: TagItem[];
}
interface Slot {
id?: string;
slotDate?: string;
recipe?: SlotRecipe | null;
}
type SlotMap = Record<string, Slot>;
export function computeReasoningTags(slotMap: SlotMap, recipe: Recipe): ReasoningTag[] {
const tags: ReasoningTag[] = [];