feat(planner): desktop redesign — flip tiles, full-width grid, no right panel #54
@@ -1,32 +1,7 @@
|
||||
<script lang="ts">
|
||||
import { computeReasoningTags } from './reasoningTags';
|
||||
import { formatDayAbbr } from '$lib/planner/week';
|
||||
|
||||
interface TagItem {
|
||||
id?: string;
|
||||
name?: string;
|
||||
tagType?: string;
|
||||
}
|
||||
|
||||
interface SuggestionRecipe {
|
||||
id: string;
|
||||
name: string;
|
||||
cookTimeMin?: number;
|
||||
effort?: string;
|
||||
tags?: TagItem[];
|
||||
}
|
||||
|
||||
interface TopSuggestion {
|
||||
recipe: SuggestionRecipe;
|
||||
scoreDelta: number;
|
||||
hasConflict: boolean;
|
||||
}
|
||||
|
||||
interface Slot {
|
||||
id?: string;
|
||||
slotDate?: string;
|
||||
recipe?: any | null;
|
||||
}
|
||||
import type { Suggestion, SlotMap } from '$lib/planner/types';
|
||||
|
||||
let {
|
||||
slotDate,
|
||||
@@ -39,8 +14,8 @@
|
||||
slotDate: string;
|
||||
slotId: string;
|
||||
isPlanner: boolean;
|
||||
slotMap: Record<string, Slot>;
|
||||
topSuggestion?: TopSuggestion;
|
||||
slotMap: SlotMap;
|
||||
topSuggestion?: Suggestion;
|
||||
onaddrecipe?: () => void;
|
||||
} = $props();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user