From b30f5f11fed8c9bc4d373746d042f1eb5bbeed41 Mon Sep 17 00:00:00 2001 From: Zaldimmar Date: Tue, 3 Nov 2026 03:12:03 -0600 Subject: [PATCH] Present: the tag filter's address key no longer collides with the tag slides' seconds Both used 'tag', so on Play the seconds were read as the filter and every entry was cut. Co-Authored-By: Claude Opus 5.5 --- src/pages/SchedulePresent.tsx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/pages/SchedulePresent.tsx b/src/pages/SchedulePresent.tsx index 7797e7e..c3c786a 100644 --- a/src/pages/SchedulePresent.tsx +++ b/src/pages/SchedulePresent.tsx @@ -21,7 +21,7 @@ tag after the days: each of the schedule's tags (087) and everything it's on, under each day's name A heading (086) is only a line on the overview; a break gets no - spotlight. "Only entries tagged" (`tag=`) cuts every slide + spotlight. "Only entries tagged" (`only=`) cuts every slide to what one tag is on, eg. for a screen outside the youth room. Keys while playing: arrows step, Space pauses, Escape leaves full @@ -97,7 +97,7 @@ function readSettings(params: URLSearchParams, days: Day[]) { return [kind.key, Number.isFinite(value) && value > 0 ? value : 0] }), ) as Record - return { pickedDays: new Set(pickedDays), hidden, seconds, only: params.get('tag') || null } + return { pickedDays: new Set(pickedDays), hidden, seconds, only: params.get('only') || null } } type Settings = ReturnType @@ -221,7 +221,8 @@ export default function SchedulePresent() { if (next.pickedDays.size < days.length) out.set('days', [...next.pickedDays].sort((a, b) => a - b).join(',')) if (next.hidden.size) out.set('hide', [...next.hidden].join(',')) for (const kind of KINDS) out.set(kind.key, String(next.seconds[kind.key])) - if (next.only) out.set('tag', next.only) + // Not 'tag': that's the tag slides' seconds. + if (next.only) out.set('only', next.only) out.set('play', '1') setParams(out) }}