From 2c3867b1c8c6dc8854a7dc1360c806dc51b20e65 Mon Sep 17 00:00:00 2001 From: iamdoubz <> Date: Fri, 6 Nov 2026 11:30:10 -0600 Subject: [PATCH] Highlight today on the Lunch screen --- CHANGELOG.md | 1 + frontend/src/routes/LunchPage.svelte | 14 +++++++++++--- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index fafa853..91d0467 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,7 @@ The format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and ### Added - A published scan's photo can still be viewed from its scan page, under "Scanned photo", until it's deleted after `IMAGE_RETENTION_DAYS`. +- Today stands out on the Lunch screen: a filled day number like the month view, a "Today" label and a tinted card. ## [0.0.3] - 2026-11-06 diff --git a/frontend/src/routes/LunchPage.svelte b/frontend/src/routes/LunchPage.svelte index 9993c71..ccddfd2 100644 --- a/frontend/src/routes/LunchPage.svelte +++ b/frontend/src/routes/LunchPage.svelte @@ -10,7 +10,7 @@ import Utensils from '@lucide/svelte/icons/utensils'; import { api, type LunchDay } from '../lib/api'; import { app, toast } from '../lib/state.svelte'; - import { monthLabel, parse, shiftMonth, thisMonth } from '../lib/dates'; + import { iso, monthLabel, parse, shiftMonth, thisMonth } from '../lib/dates'; import { foodEmoji } from '../lib/foodEmoji'; import PageHeader from '../lib/ui/PageHeader.svelte'; import EmptyState from '../lib/ui/EmptyState.svelte'; @@ -31,6 +31,7 @@ const open = $derived(days?.filter((d) => !d.greyed) ?? []); // days that can be picked const allPicked = $derived(open.length > 0 && open.every((d) => d.picked)); let bulkBusy = $state(false); + const today = iso(new Date()); async function load() { if (childId === null) return; @@ -127,13 +128,15 @@