Add zen mode to Tasks, matching Chores#84
Merged
Conversation
Tasks gains its own zen toggle (independent setting from Chores' zen mode) that hides priority/urgency colour coding and category grouping in favour of a plain title + due date list, with a most/least urgent sort toggle in place of the regular sort and owner filter.
mapgie
marked this pull request as ready for review
July 11, 2026 13:31
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Chores already had a zen mode (declutter toggle: no status colours, no due countdown, no category grouping, sorted by most/least overdue). Tasks had no equivalent. This PR adds it.
taskZenModeDataStore setting (SettingsRepository), separate from Chores' existingzenModeso the two screens can be toggled independently, consistent with howgroupChoresByCategory/groupTasksByCategoryare already split per screen.TaskListScreen: new spa-icon toggle in the filter row (same icon/placement as Chores). While zen is active it replaces the sort/owner-filter icons with a single ascending/descending toggle (most urgent vs least urgent first) and disables category grouping, mirroring the Chores screen's zen behaviour.TaskListViewModel:TaskUiStategainszenMode/zenSortAscending. When zen is on,displayedsorts by urgency (overdue -> today -> this week -> later) ascending or descending instead of the regular Priority/Due/Created sort.TaskCard: newzenModeparam that hides the priority colour bar, hides the category badge, and replaces the colour-coded urgencyDueBadgewith a plain, uncoloured due date (ZenDueLabel), matching howChoreCarddrops its status colour bar and shows a plain absolute date in zen mode.Test plan
python3 a11y_check.pypasses (already verified locally, all clean).CI (Gradle build/lint/tests) runs the compile check; this container has no Android SDK.
Generated by Claude Code