Hi Nico,
I like your project and hope to use it for my work to I was stress testing it a bit.
1) One issue that I found was dragging one project over to another messed them up a bit and you ended up getting Projects tagged with each other which leads to problems and I think breaks the hierarchy that you were intending.
I made some fixes making the assumption that if you drag a Project (or plain todo) over and drop it on another Project, you want it to be a SubProject of that Project and that seems to work out ok. It automatically converts simple todos to SubProject todos but I don't think that is a big deal. Possibly some more complex logic could be added to the project-refile-actions to direct to an alternative filter macros for dragged Projects vs dragged todos but I didn't think that it was worth it.
Attached are two plugin tidders that I changed:
$:/plugins/nico/projectify/macros/filters:- Adjusting the project-refile-tags macro to make it a SubProject:
\define project-refile-tags()
todo SubProject [all[<actionTiddler>]tags[]] -Inbox -Project -[tag[Project]] -[tag[SubProject]] [<currentTiddler>]
\end
and
$:/plugins/nico/projectify/macros/todo-list:
- Adjusting the project-refile-actions to not trigger the action-listops when you drag the Project onto itself (from main tiddler in the Projects sidebar or vice versa) i.e. when the currentTiddler doesn't equal the actionTidder
\define project-refile-actions()
<!-- Macro similar to the todo-list drop actions, but used in project lists/cards -->
<$list filter="[<currentTiddler>compare:string:ne<actionTiddler>]">
<$action-listops $tiddler=<<actionTiddler>> $tags=<<project-refile-tags>>/>
</$list>
\end
Hopefully you find them useful and they don't break anything else.
2) Another issue that I see is that if you delete or Archive a Project, all the todos below it are orphaned and don't show up anywhere other than the Filter. I am thinking that the Inbox should show both regular "Inbox" todos and also show todos that are orphaned by bug or misclick so that some easy recovery is possible. I am still working out what filter would show todos tagged with projects that no longer exist.
/Mike