Repository navigation
feat: let recurring tasks follow the status cycle on click - #2492
Merged
callumalpass merged 5 commits intoNov 3, 2026
Merged
callumalpass merged 5 commits into
callumalpass merged 5 commits into
Conversation
…ies has a status to return to
Move the spec to e2e/issues/ and use the PR number in the release note.
Owner
|
Thanks @martin-forge, merged. This closes the gap between recurring and ordinary tasks that @Jomo94 raised in #1370, and building on your #2441 work kept the change small. I pushed a small follow-up to the release note and docs to warn people who already have a Next status set on Done, and moved the spec to |
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.
Problem
Clicking a task card's status icon moves an ordinary task to its next status, but completes a recurring task's occurrence straight away. On a board with both, the same click starts one card and finishes another, so a recurring task can't be clicked into In progress. #1370 asked for recurring tasks to cycle like other tasks.
Solution
The status icon now does the same thing on every card. A recurring card follows the status cycle, and reaching Done completes the occurrence shown. A completed occurrence still reopens on click.
This applies when the first completed status has a Next status, the status a finished series starts its next occurrence in (#2441). Without one, the series would carry In progress into its next occurrence, so the click still completes the occurrence directly.
The built-in Done status now moves on to Open, so new setups get the same behaviour on every card, and reopening a finished task returns it to Open rather than None. Saved statuses aren't changed.
Testing
Unit tests and two Kanban tests in Obsidian cover the cycle and the one-click fallback. The cycling test fails on
mainand passes here. All repo checks pass locally.