Obsidian+Day Planner+Dataview

プラグインにDay PlannerとDataviewを利用
ディレクトリは 01.GTD/Projectの下にファイルを作って、YAMLで↓こんな感じのことを書いてる。

---
Financial_Year: FY21下半期
Status: Active
---

Daily Templateはこんな感じにしてる

## Day Planner

### Morning
- [ ] 10:00 今日やることの整理
- [ ] 10:25Break
- [ ] 10:30
- [ ] 10:55Break
- [ ] 11:00
- [ ] 11:25Break
- [ ] 11:30
- [ ] 11:55Break

### Afternoon
- [ ] 13:00
- [ ] 13:25Break
- [ ] 13:30
- [ ] 13:55Break
- [ ] 14:00
- [ ] 14:25Break
- [ ] 14:30
- [ ] 14:55Break
- [ ] 15:00
- [ ] 15:25Break
- [ ] 15:30
- [ ] 15:55Break
- [ ] 16:00
- [ ] 16:25Break
- [ ] 16:30
- [ ] 16:55Break
- [ ] 17:00
- [ ] 17:25break
- [ ] 17:30
- [ ] 17:55break
- [ ] 18:00
- [ ] 18:25break
- [ ] 18:30 今日の振り返り&翌日のタスク整理
- [ ] 18:55break

---
# Today's
```dataviewjs
dv.taskList(
dv.pages('"01.GTD/Project"').file.tasks
.where(t => !t.completed)
.where(t =>  t.text.includes(this.evaluationContext.globals.file.name))
)
```

# Temporary
```dataviewjs
dv.taskList(
dv.pages('"01.GTD/Project"')
.filter(f => f.Financial_Year == "FY21下半期")
.filter(f => f.Status == "Active")
.file
.filter(f => f.name == "Temporary")
.tasks
.where(t => !t.completed)
)
```

# Active Projects at FY21下半期

```dataviewjs
dv.taskList(
dv.pages('"01.GTD/Project"')
.filter(f => f.Financial_Year == "FY21下半期")
.filter(f => f.Status == "Active")
.file
.filter(f => f.name != "Temporary")
.tasks
.where(t => !t.completed)
)
```

# Someday / Maybe

```dataviewjs
dv.taskList(
dv.pages('"01.GTD/Project"')
.filter(f => f.Status == "Someday")
.file
.filter(f => f.name != "Temporary")
.tasks
.where(t => !t.completed)
)
```

この記事が気に入ったらサポートをしてみませんか?