Skip to content

Add a new Daily Tasks view to show tasks that are scheduled or due in the current date - #11

Merged
HeyItsGilbert merged 5 commits into
HeyItsGilbert:mainfrom
qmatteoq:main
Mar 22, 2026
Merged

Add a new Daily Tasks view to show tasks that are scheduled or due in the current date #11
HeyItsGilbert merged 5 commits into
HeyItsGilbert:mainfrom
qmatteoq:main

Conversation

@qmatteoq

Copy link
Copy Markdown
Contributor

Description

This PR adds a new Daily Tasks view to show all the open and closed tasks that are scheduled or due in the current date

Related Issue

#9

Motivation and Context

I'm a heavy user of Obsidian and TaskNotes and I have a task view which shows me all the tasks that are scheduled or due in the current date. I would like to get quick access to the same view through Command Palette and the new Dock feature.

How Has This Been Tested?

Unit testing for the filter logic and manual UI tests to see the behavior

Screenshots (if appropriate):

image

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

qmatteoq and others added 5 commits March 18, 2026 14:02
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings March 18, 2026 19:33

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a new “Today/Daily Tasks” Command Palette view to surface tasks relevant to the current date, extending the extension’s existing task-list pages and TaskItem model.

Changes:

  • Introduces TodayTasksPage to list tasks filtered by due/scheduled (and currently also overdue) criteria for the current day.
  • Extends TaskItem with ScheduledDate parsing and IsScheduledToday helper.
  • Adds unit tests covering scheduled-date parsing and the new “scheduled today” predicate.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 5 comments.

File Description
ObsidianTaskNotesExtension/Pages/TodayTasksPage.cs New dynamic list page for “today” task filtering and display.
ObsidianTaskNotesExtension/ObsidianTaskNotesExtensionCommandsProvider.cs Registers the new page as a top-level command.
ObsidianTaskNotesExtension/Models/TaskItem.cs Adds computed scheduled-date parsing and “scheduled today” helper.
ObsidianTaskNotesExtension.Tests/Models/TaskItemTests.cs Adds unit tests for scheduled date parsing and IsScheduledToday.

Comment thread ObsidianTaskNotesExtension/Pages/TodayTasksPage.cs
Comment thread ObsidianTaskNotesExtension/Pages/TodayTasksPage.cs
Comment thread ObsidianTaskNotesExtension/Pages/TodayTasksPage.cs
Comment thread ObsidianTaskNotesExtension/Pages/TodayTasksPage.cs

@HeyItsGilbert HeyItsGilbert left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

At some point I'll create an abstraction so it doesn't complain about drift. But this is good enough for now. Thanks!

@HeyItsGilbert
HeyItsGilbert enabled auto-merge (squash) March 22, 2026 03:44
@HeyItsGilbert
HeyItsGilbert disabled auto-merge March 22, 2026 03:46
@HeyItsGilbert
HeyItsGilbert enabled auto-merge (squash) March 22, 2026 03:47
@HeyItsGilbert
HeyItsGilbert disabled auto-merge March 22, 2026 03:47
@HeyItsGilbert
HeyItsGilbert merged commit 4f07923 into HeyItsGilbert:main Mar 22, 2026
4 of 5 checks passed
HeyItsGilbert added a commit that referenced this pull request Apr 6, 2026
## [0.5.0] - 2026-04-06

### Added

- Daily Tasks view showing tasks scheduled or due today,
  with support for the new Dock feature (#11)
- Version display on the Settings page for easier
  troubleshooting
- Debug build indicator: distinct icon and "(Debug)" version
  suffix in debug builds

### Fixed

- Create Task crash: plugin crashed after successfully
  creating a task due to unhandled async exception and
  invalid GoBack navigation from a top-level form page;
  now shows a "Task created!" toast and dismisses cleanly
- Edit Task: added defensive error handling to prevent
  potential unobserved async exceptions

### Changed

- Assembly version now derived from AppxPackageVersion in
  the csproj for consistent runtime version reporting

🤖 Generated with [Claude Code](https://claude.ai/claude-code)

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants