Let a reader switch off the chores the app invented

Today's dailies carries two different things: each game's standing chore —
"Commissions, resin", a fixed list nobody publishes — and any event with a
checklist. The first is the app guessing at a routine the reader never asked
for, and it was the only part of that strip with no way out.

So the switch removes exactly that. Events keep their checklists whatever
their source, including ones the reader added themselves and marked daily,
which was the requirement most at risk of being filtered away by a switch
aimed at something else.

Nothing is discarded. The ticks live under `dailies:<game>` and nothing here
reads or writes them, so switching back on restores every logged day and
every streak — the same promise `detectDaily` already makes. Defaulted on,
because everyone has these today and a setting that silently removes
something on upgrade is worse than one nobody notices.

Gating where the chore is built rather than where it is drawn means the
counts follow for free: "N still waiting on you today" is derived from the
items, and a game left with nothing contributes no group at all, so the
strip's own empty guard drops it rather than leaving a heading with no rows.

Named for what it removes. A switch called "dailies" would read as broken
while the strip stayed on screen showing the reader's own events.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
Lucas WintherandClaude Opus 5 committed 2026-08-28 05:34:08 +02:00
1 parent f324208457
commit 4277c28e50
7 files changed
+124 -4

No files matched your search

+13
View File
@@ -155,6 +155,18 @@ export interface Prefs {
* who already switched it on keep it — stored prefs win over this default.
*/
detectDaily: boolean;
/**
* Whether Today's dailies carries each game's standing chore — commissions,
* sanity, daily training.
*
* On by default, because every reader has these today and a setting that
* silently removes something on upgrade is worse than one nobody notices.
* Off hides only the chores: an event with a checklist is something the
* reader engaged with and stays either way. Like `detectDaily` it discards
* nothing — the ticks live under `dailies:<game>` and are never written from
* here, so switching back on restores every one of them.
*/
showChores: boolean;
showCompleted: boolean;
/** Reveal events the reader has ignored, so they can be restored. */
showIgnored: boolean;
@@ -186,6 +198,7 @@ function defaults(): Prefs {
showUpcoming: false,
timelineSplitUpcoming: true,
detectDaily: false,
showChores: true,
showCompleted: true,
showIgnored: false,
theme: DEFAULT_THEME_CHOICE,