Commit graph

16 commits

Author SHA1 Message Date
Loukas Andreadelis
4a923acb94 fix: address Copilot review on urgencyScore time-of-day formula 2026-05-14 06:09:59 +10:00
Loukas Andreadelis
5593582bf8 feat: add time-of-day component to urgencyScore formula 2026-05-14 06:09:59 +10:00
Loukas Andreadelis
35dba2b974 fix: strip time component in default base template date comparisons 2026-05-14 06:09:26 +10:00
callumalpass
26712c4f7d fix: polish manual ordering drag reorder 2026-03-29 07:35:51 +11:00
callumalpass
c3863baacc chore: checkpoint current tasknotes state 2026-03-25 08:08:28 +11:00
callumalpass
69b8ae2506 feat: add checklist progress task-card property with Bases support 2026-02-17 20:02:45 +11:00
callumalpass
d6c1f0974a docs: add explanatory context and simplify tone 2026-02-15 15:41:12 +11:00
callumalpass
dc0ddd08b1 fix(#1144): move task filter to per-view in relationships.base
The top-level task filter was excluding non-task files from the Projects
view. Since projects can be any file type (not just tasks), the filter
is now applied per-view:

- Subtasks, Blocked By, Blocking: include task filter (these are tasks)
- Projects: no task filter (projects can be any file type)

Users with existing relationships.base files should delete and
regenerate them to get the fix.
2026-01-07 19:17:34 +11:00
callumalpass
3861d6f48b fix: Wrap blockedBy with list() in Blocking view filter (#1304)
The Blocking view filter in the Relationships base threw "Cannot find
function map on type Link" when blockedBy contained a single entry.
Bases returns single values as Link objects without a map() method.

Wrap with list() to ensure array operations work regardless of whether
blockedBy contains one or many dependencies, consistent with the
existing Blocked By view implementation.
2026-01-01 17:49:10 +11:00
callumalpass
518a14ca72 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
2025-12-31 12:01:26 +11:00
callumalpass
df674a0523 docs: update Base template formulas for null handling (#1386)
Update timeEstimateCategory and trackingStatus formulas to include
explicit null check alongside the existing falsy and zero checks.
This ensures tasks with unset timeEstimate show "No estimate" correctly.
2025-12-31 09:34:09 +11:00
callumalpass
d0d0974ec2 docs: add formula expressions to Base templates documentation
Include the actual Bases formula expressions in the formula reference
tables so users can see and copy the exact syntax used.
2025-12-01 21:22:00 +11:00
callumalpass
c517957349 feat: add 30+ formula properties to default Base templates
- Add date calculations: daysUntilDue, daysUntilScheduled, daysSinceCreated, daysSinceModified
- Add boolean helpers: isOverdue, isDueToday, isDueThisWeek, isScheduledToday, isRecurring, hasTimeEstimate
- Add time tracking: timeRemaining, efficiencyRatio, timeTrackedThisWeek, timeTrackedToday, timeTrackedFormatted
- Add grouping formulas: dueMonth, dueWeek, scheduledMonth, scheduledWeek, dueDateCategory, timeEstimateCategory, ageCategory, createdMonth, modifiedMonth, priorityCategory, projectCount, contextCount, trackingStatus
- Add combined due/scheduled: nextDate, daysUntilNext, hasDate, isToday, isThisWeek, nextDateCategory, nextDateMonth, nextDateWeek
- Add sorting: priorityWeight (user-configurable), urgencyScore (combines priority with date proximity)
- Add display: dueDateDisplay (relative dates)
- Sort action views (Not Blocked, Today, Overdue, This Week) by urgencyScore
- Rename settings section to "Views & base files" with improved documentation
- Fix null handling in order array generation
2025-12-01 20:53:49 +11:00
callumalpass
7f91cd59b6 docs: update default base templates documentation
Add formulas section with priorityWeight, blockedBy to order arrays,
and fix quote escaping in filters to match current implementation.
2025-12-01 18:16:49 +11:00
callumalpass
fe92698b03 Fix: Resolve base template generation issues (#1145, #1156)
- Fix Kanban template missing groupBy property
  * Default Kanban now includes groupBy on status field
  * Resolves error requiring manual group configuration
  * Thanks to @randomness42 and @seepage87 for reporting

- Fix user-defined fields appearing as user:field_xxx in templates
  * Custom fields now use actual property names from settings
  * Also fixed totalTrackedTime to map to timeEntries property
  * Ensures Bases can properly query user-defined fields

- Fix documentation quote escaping in YAML examples
  * Use single quotes for strings containing double quotes
  * Makes examples copyable and syntactically correct

- Remove internal Bases filtering guide
  * Direct users to official Obsidian Bases documentation
  * Eliminates duplicate documentation of Obsidian functionality
2025-11-19 21:25:40 +11:00
callumalpass
5f6a1caedc Docs: Move default base templates to docs/ and add cross-references
Moves the default base templates documentation from obsidian-help to the
main docs folder for better accessibility and maintenance.

Changes:
- Move obsidian-help/en/Bases/Default base templates.md → docs/views/default-base-templates.md
- Update frontmatter to match docs format (add title, remove obsidian-help fields)
- Replace wiki-style links with markdown links to Obsidian help docs
- Update code comment in defaultBasesFiles.ts to reference new path
- Add cross-references from:
  - docs/views.md (Bases Plugin Requirement section)
  - docs/views/task-list.md (Further Reading section)
  - docs/features/filtering-and-views.md (Additional Resources section)
2025-11-19 07:59:04 +11:00