Filter out recurring tasks from non-search task list view#63
Open
Filter out recurring tasks from non-search task list view#63
Conversation
Recurring tasks are Taskwarrior template tasks used to generate child instances and should not appear in regular task list views. Filter them out after loading in all non-Search tabs. https://claude.ai/code/session_01KQyTY3M9tRejgkGvQCdb4A
Recurring tasks (status:recurring) are Taskwarrior internal templates used to generate child task instances and should not be synced to the calendar as events. https://claude.ai/code/session_01KQyTY3M9tRejgkGvQCdb4A
The previous fix prevented new events from being created for recurring templates, but existing events from prior syncs were left in the calendar and kept being updated. This adds a cleanup step that queries all recurring template tasks and deletes any calendar events associated with their UUIDs. https://claude.ai/code/session_01KQyTY3M9tRejgkGvQCdb4A
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
Modified the task loading logic to exclude recurring tasks from the main task list view while keeping them visible in search results.
Key Changes
loadTasksCmdto remove tasks with "recurring" status from the task list!isSearchTab), preserving recurring tasks in search resultsImplementation Details
err == nil)t.Status != "recurring"https://claude.ai/code/session_01KQyTY3M9tRejgkGvQCdb4A