For 2) ... adding empty "todo" "Project" and "SubProject" tiddlers and filtering on "[tag[todo]get[tags]enlist-input[]is[missing]tagging[]] -[tag[Inbox]]" seems to identify the orphans. There is likely a better way though.
/Mike On Tuesday, May 25, 2021 at 12:46:14 AM UTC-3 Michael Wiktowy wrote: > 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 > On Friday, May 21, 2021 at 8:49:13 AM UTC-3 Nicolas Petton wrote: > >> Hi! >> >> Projectify version 0.14.0 is now available! >> You can install/upgrade from >> >> https://projectify.wiki >> >> ChangeLog >> >> Features >> >> * New redesigned input for adding todos >> * New configuration option for setting the first day of the week in date >> pickers >> * New buttons for scheduling and setting a priority directly when adding >> a todo >> * Do not render the form to add todos in archived projects >> >> Improvements >> >> * New filters in dashboard tab for todo priorities >> * Documentation improvements WRT customizing Projectify >> >> Fixes >> >> * Prevent creation of todos with empty titles >> >> Cheers, >> Nico >> > -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/537d4223-8ea9-4636-94d6-d6e6423df77an%40googlegroups.com.

