Skip to content

Feed smart-hidden chores into the chore list's hidden section#86

Merged
mapgie merged 1 commit into
mainfrom
claude/chore-visibility-algorithm-x6gtb8
Jul 12, 2026
Merged

Feed smart-hidden chores into the chore list's hidden section#86
mapgie merged 1 commit into
mainfrom
claude/chore-visibility-algorithm-x6gtb8

Conversation

@mapgie

@mapgie mapgie commented Jul 11, 2026

Copy link
Copy Markdown
Owner

Summary

Follow-up to #82 (smart chore visibility). Two gaps in the merged feature:

  • Chores hidden by smart visibility vanished with no way to see or log them from the chores screen. The collapsed section at the bottom of the list only ever showed chores due 60+ days out.
  • That section's label still read "N not due for 60+ days" even when smart visibility (not the 60-day rule) was doing the hiding.

Changes

  • ChoreUiState now exposes hiddenChores, the exact complement of displayed: with smart visibility on it contains every chore beyond its cadence lead time; with it off it contains the legacy distant (60+ days) chores. Both derive from a shared withinLeadTime() check so a chore is always in exactly one list.
  • The collapsed section (ChoreListScreen) reveals hiddenChores and its label matches the active mechanic: "N hidden until closer to due" under smart visibility, the old "N not due for 60+ days" wording only when smart visibility is off, and "Collapse hidden chores (N)" when expanded. Hidden chores can be viewed, logged, and edited from there like any other card.
  • showDistant/toggleShowDistant renamed to showHidden/toggleShowHidden.
  • Changelog fragment changelog/unreleased/hidden-chores-section.json (patch bump).

Testing

  • python3 a11y_check.py passes (all clean).
  • python3 check_changelog_fragment.py origin/main passes.
  • CI is the build check for this change.

🤖 Generated with Claude Code

https://claude.ai/code/session_01PkGAjWNwYwrFbDihgjqqvs


Generated by Claude Code

Chores filtered out by smart visibility previously vanished with no way
to reveal them from the chores screen, and the collapsed section's
label still described the old fixed 60-day distant rule. The section
now shows everything the active visibility mechanic hides: all chores
beyond their cadence lead time when smart visibility is on, or the
legacy distant chores when it is off, with the label matching the
active mechanic.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PkGAjWNwYwrFbDihgjqqvs
@mapgie mapgie marked this pull request as ready for review July 12, 2026 09:26
@mapgie mapgie merged commit f41a24c into main Jul 12, 2026
4 checks passed
@mapgie mapgie deleted the claude/chore-visibility-algorithm-x6gtb8 branch July 12, 2026 09:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants