This is great, but if I may offer one change so that your example could be 
more easily graspable by noobs like me....  you used the string "section" 
to represent two different things.  It's a field in the data tiddlers as 
well as your item iterator variable in the section loop.

when I started to switch over your code to my data paradigm, It took me 
several hours of working with your code and googling (there's not a lot of 
noob-friendly info out there that's easy to find) to discover that.  

The good news is I learned a lot.  And I've also had a lot of fun putting 
together my own Grocery lister, and I was easily able to start a new set of 
Data Tiddlers and another lister for my TODO tasks as well, sectioning them 
by the context in which the task should be done (e.g. home, office hours, 
or out and about).

I saw how you set "sections" up as a tiddler, containing the names of the 
sections.  It would be great if there were a dynamic way to get a list of 
the sections.  For my grocery list, they are all tagged with 
"ShoppingItem".  Is there a way to create that list by searching all the 
tiddlers tagged "ShoppingItem" and grab the different values in their 
"section" field dynamically?

This has been so helpful!
Thank you!


On Thursday, March 19, 2020 at 4:36:25 PM UTC-4, Mark S. wrote:
>
> https://marxsal.github.io/various/groceries.html
>
>
>

-- 
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/54cb7076-5317-44be-99b0-3b2520b4501b%40googlegroups.com.

Reply via email to