fix(agenda): disable property-based events by default to prevent duplicates

Fixes #1028, #1140, #1152, #1354, #1362

Tasks were appearing twice in Agenda view - once as TaskNotes events
and again as property-based events (shown with file icon). This was
confusing because both represented the same underlying task.

- Set showPropertyBasedEvents: false in default Agenda template
- Updated documentation with explanation
- Users can re-enable in view settings if needed for non-task dates
This commit is contained in:
callumalpass 2025-12-31 11:55:15 +11:00
parent 27e1bc9a2f
commit 518a14ca72
3 changed files with 12 additions and 0 deletions

View file

@ -67,6 +67,12 @@ Example:
## Fixed
- (#1028, #1140, #1152, #1354, #1362) Fixed duplicate task entries appearing in Agenda view
- Tasks were shown twice: once as TaskNotes events and again as property-based events with a file icon
- Changed default Agenda template to disable property-based events (`showPropertyBasedEvents: false`)
- Users can re-enable property-based events in view settings if needed for non-task date properties
- Thanks to @YIRU69, @jhedlund, @dblinnikov, @Snakiest, @WeiYiAcc, @JacksonMcDonaldDev, @jimbo108108, and @krelltunez for reporting
- (#1386) Fixed `timeEstimateCategory` formula showing "Long (>2h)" instead of "No estimate" for new tasks
- The condition didn't properly handle null values when `timeEstimate` property is unset
- Also fixed the same issue in `trackingStatus` formula

View file

@ -481,6 +481,8 @@ views:
Used by the **Agenda** command to display tasks in a list-based agenda view.
Note: Property-based events are disabled by default to avoid duplicate entries when tasks already have due/scheduled dates.
```yaml
# Agenda
@ -506,6 +508,8 @@ views:
- file.name
- recurrence
- complete_instances
options:
showPropertyBasedEvents: false
calendarView: "listWeek"
startDateProperty: file.ctime
listDayCount: 7

View file

@ -659,6 +659,8 @@ views:
name: "Agenda"
order:
${orderYaml}
options:
showPropertyBasedEvents: false
calendarView: "listWeek"
startDateProperty: file.ctime
listDayCount: 7