NicolasPetton / Projectify

Project management for TiddlyWiki
https://projectify.wiki
MIT License
140 stars 47 forks source link

[Idea] A "longer" Next tab #64

Closed diego898 closed 3 years ago

diego898 commented 3 years ago

Hello again!

I think it would be great if the "Next" tab showed more than just the top todo, or if this was perhaps configurable to show "top 5 per project" or "all in project", giving you a long view of each project and each todo in each project.

Thanks!

diego898 commented 3 years ago

For future reference, I solved this by slightly modifying the NEXT tab. I made my own, so as to leave the plugin unmodified. To do this, I made two tiddlers named to fit my wiki and match the plugin (so that I can remember why I did this later)

title: $:/.dm/projectify/ui/AllActions
tag: $:/plugins/nico/projectify/tags/dashboard
<$list
  filter=<<py-has-active-projects>>
  emptyMessage={{$:/plugins/nico/projectify/ui/welcome/EmptyNextActions}}
>
  <dl>
    <$list
      filter=<<py-active-projects>>
      template="$:/.dm/projectify/ui/project/AllActions"
      />
  </dl>
</$list>

This is a copy/paste of the Next tab, where I've only replaced the tempalte used, giving my second tiddler:

<$list filter=<<py-has-open-todos>> variable="ignore">
  <dt class="py-project">
    <$link to={{!!title}}><$view field="title"/></$link> {{||$:/plugins/nico/projectify/images/pie}}
  </dt>
  <dd>
    <$list filter=<<py-open-todos>> template="$:/plugins/nico/projectify/ui/todo/TodoItem"></$list>
  </dd>
</$list>

This is a copy/paste of the original template used, where Ive changed the macro to now be <<py-open-todos>>.

diego898 commented 3 years ago

@NicolasPetton - just wanted to draw your attention to this closed list, in case you thought it would be a useful addition to the docs.