On Sunday, March 22, 2020 at 12:56:51 PM UTC-4, Mark S. wrote:
>
>
>
> On Sunday, March 22, 2020 at 7:01:19 AM UTC-7, David wrote:
>>
>>
>> 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?
>>
>>
> You could do this with a nested <$list> structure.
>
> The reason, or one of the reasons, I didn't do it this way to avoid the 
> problem that happens when you let people set up "sections" (or any data 
> attribute) on the fly. You tend to end up with either too many "sections", 
> or "sections" with different values (spellings, misspellings, plurals, 
> etc.) but for the same thing. e.g.
>
> Garden
> Gardeen
> Gardening
> Gardens
> gardens
> OutdoorGarden
> Yardwork
>
> Having one central location for the sections helps you to think clearly 
> about what values you want "sections" to contain. Then the drop-down list 
> allows you to easily select and apply that section to new items. If you 
> really want more sections then it's easy enough to add them to the driver 
> tiddler. Believe me, if you've ever inherited a database where someone has 
> freely entered anything they happened to be thinking of at 9am on a Monday 
> morning, then you'll know what I'm talking about.
>
>
>
Yes, I've definitely run into that kind of problem before. 

But in the case of a TODO list, I would rather have a data entry error show 
up under another category, instead of not showing up at all.  If I put in a 
TODO Task and did it quickly without checking to make sure it showed up, I 
could then disappear if I didn't categorize it correctly.

I would then later spot it under the wrong category and then correct it.

Or I guess if we kept to the static list, we could add some kind of 
exclusion to pick up the strays and put them at the bottom of the list 
under a section with a title like "Miscategorized" or something like that.

-- 
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/7c7a9c4e-10da-4854-930e-a89b35dd51eb%40googlegroups.com.

Reply via email to