# Unfinished-business
[![latest release version][release-shield]][release-url]
[![Forks][forks-shield]][forks-url]
[![Stargazers][stars-shield]][stars-url]
[![Issues][issues-shield]][issues-url]
[![MIT License][license-shield]][license-url]
This plugin migrates yesterdays unfinished tasks to todays journal. It is *meant* to be used in a template, but *can* be run mannually as well. It supports limiting tasks to specific markers or tags.
> I can't believe it! They keep following me.
>
>โ Unhappy customer
**Notice:** This plugin is in beta, make backups of your graph. It shouldn't, but *can* (theoratically) make tasks disappear in the digital void.
Table of Contents
- Installation
- Using the plugin
- Configuration
- License
- Contact
- Acknowledgments
## Installation
### Preparation
- Click the 3 dots in the righthand corner and go to **Settings**.
- Go to **Advanced** and enable **Plug-in system**.
- Restart the application.
- Click 3 dots and go to Plugins (or `Esc t p`).
### Install plugin from the Marketplace (recommended)
- Click the `Marketplace` button and then click `Plugins`.
- Find the plugin and click `Install`.
### Install plugin manually
- Download a released version assets from Github.
- Unzip it.
- Click `Load unpacked plugin`, and select destination directory to the unzipped folder.
## Using the plugin
The default way to use the plugin is place a *placeholder* in your `daily` template. Then, when the template is run at midnight, all tasks are moved to the newly created page. Use: `/move unfinished business here`.

As an alternative, go to the location you want to gather the unfinished tasks, use `/move unfinished business here`, correct (or remove) the tag, leave the block, and the tasks will be migrated.
### Testing if it works
As a test, create two tasks in **yesterdays** journal page:
``` markdown
LATER This is a test [[testme]]
LATER This is a second test [[testme]]
```
Then place a placeholder with: `/move unfinished business here` Press escape to leave the block"
If everything is working, you should see:
``` markdown
**๐ Moved 2 unfinished tasks from yesterday **
LATER This is a test [[testme]]
LATER This is a second test [[testme]]
```
**Important:** the placeholder, by default looks like this: `{{renderer :unfinishedBusiness, testme}}` to migrate *all* yesterdays tasks (ignoring all tags) remove *both* the tag **and the comma!** It should look like this: `{{renderer :unfinishedBusiness}}`
### Imsure โ for when you live dangerously
It is possible to run *unfinished business* on your *whole* graph. This can be dangerous, so has it's own flag:
`{{renderer :unfinishedBusiness, testme, imsure}}`
- **testme** would be the tag matched against
- **imsure** is to make sure you want it to check *all* your pages
So, this will move *all* tasks, from *all* pages, with the `[[testme]]` tag.
Last, it is possible to run *unfinished business* on *all tasks* *all over your graph*, ignoring **all** tags:
`{{renderer :unfinishedBusiness, imsure, imsure}}`
This will move **all** tasks (as defined in your config), from **all over your graph**, with **any, or no** tag, to the place you ran the macro from!
So make sure you're *really* *really* sure ๐.
(back to top)
## Configuration
- Click the 3 dots in the righthand corner and go to **Settings**.
- Go to **Plugin Settings**.
- Select correct plugin.

- Change `testme` to the tag you use to migrate tasks, or leave empty, then *all* tasks will be migrated.
- Choose your favorite workflow. It will only migrate *these* tasks.
(back to top)
## Licence
[MIT](.LICENSE)
### Image license
### Font License
[OFL](./OFL.txt)
(back to top)
## Contact
Alex Qwxlea - [@twitter_handle](https://twitter.com/QwxleaA)
Project Link: [https://github.com/QWxleA/Unfinished-business](https://github.com/QWxleA/)
(back to top)
## Acknowledgments
This plugin is a partially is inspired by [Obsidian rollover daily todo](https://github.com/shichongrui/obsidian-rollover-daily-todos), thanks!
[release-url]: (https://github.com/QWxleA/Unfinished-business)
[release-shield]: https://img.shields.io/github/v/release/qwxlea/unfinished-business?style=for-the-badge
[contributors-shield]: https://img.shields.io/github/contributors/QWxleA/Unfinished-business.svg?style=for-the-badge
[contributors-url]: https://github.com/QWxleA/Unfinished-business/graphs/contributors
[forks-shield]: https://img.shields.io/github/forks/QWxleA/Unfinished-business.svg?style=for-the-badge
[forks-url]: https://github.com/QWxleA/Unfinished-business/network/members
[stars-shield]: https://img.shields.io/github/stars/QWxleA/Unfinished-business.svg?style=for-the-badge
[stars-url]: https://github.com/QWxleA/Unfinished-business/stargazers
[issues-shield]: https://img.shields.io/github/issues/QWxleA/Unfinished-business.svg?style=for-the-badge
[issues-url]: https://github.com/QWxleA/Unfinished-business/issues
[license-shield]: https://img.shields.io/github/license/QWxleA/Unfinished-business.svg?style=for-the-badge
[license-url]: https://github.com/QWxleA/Unfinished-business/blob/master/LICENSE.txt
[product-screenshot]: images/screenshot.png