Skip to content

Instantly share code, notes, and snippets.

@brandonpittman
Created April 17, 2019 10:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save brandonpittman/c748003035c486c0d84fbacd1acffdc1 to your computer and use it in GitHub Desktop.
Save brandonpittman/c748003035c486c0d84fbacd1acffdc1 to your computer and use it in GitHub Desktop.
Weekly Review in Things
const Things = require('things-json').default
const showList = list => `things:///show?id=${list}`
const project = Things.project({
title: 'Weekly Review',
})
const todos = [
Things.todo({ title: 'Brain Dump' }),
Things.todo({
title: 'Clear Inbox',
notes: showList('inbox')
}),
Things.todo({ title: 'Activate/De-activate Projects' }),
Things.todo({ title: 'Review Upcoming', notes: showList('upcoming') }),
Things.todo({ title: 'Review Someday', notes: showList('someday') }),
Things.todo({ title: 'Review Calendar (2 weeks back and 6 weeks forward)', notes: 'x-fantastical2://show/calendar' }),
Things.todo({ title: 'Review Project Trigger List' }),
Things.todo({ title: 'Review Logbook', notes: showList('logbook') }),
Things.todo({ title: 'Review Today', notes: showList('today') }),
Things.todo({ title: 'Review inbox', notes: showList('inbox') }),
]
project.attributes.items = todos
console.log(Things.url(project))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment