Add includedCalendarSections filter to filter tasks by calendar section headings#730
Open
dwertheimer wants to merge 2 commits intomainfrom
Open
Add includedCalendarSections filter to filter tasks by calendar section headings#730dwertheimer wants to merge 2 commits intomainfrom
dwertheimer wants to merge 2 commits intomainfrom
Conversation
…on headings - Add includedCalendarSections setting (CSV string) to filter calendar note tasks by section headings - Implement filterParasByIncludedCalendarSections function with partial, case-insensitive matching - Apply filter to all time period sections (today, yesterday, tomorrow, week, month, quarter, year) - Apply filter to overdue section - Apply filter to referenced paragraphs - Update done counts to respect includedCalendarSections filter - Add section description helper to show filter status (e.g., 'showing Medawar only') - Update Flow types to include includedCalendarSections as optional string
- Add mention of H4->H2 hierarchy to match applyIgnoreTermsToCalendarHeadingSections style - Clarify that 'all items for this section are included' when setting is blank
1 task
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.
This PR finalizes @jgclark support for filtering tasks by calendar section headings using the
includedCalendarSectionssetting.Changes
includedCalendarSectionssetting (CSV string) to filter calendar note tasks by section headingsfilterParasByIncludedCalendarSectionsfunction with partial, case-insensitive matchingincludedCalendarSectionsfilterincludedCalendarSectionsas optional stringTesting
The filter uses partial, case-insensitive matching, so "Medawar" will match headings like "Medawar Tasks" or "The Medawar Section". When the filter is active, section descriptions will show "(showing Medawar only)" to indicate the filter is applied.