Hmm. It's the colons in your default names. The colon is used as a key 
separator in the data dictionary. 

Ok. Delete "TiddlyBlinkFoldData" Now when you run and click on unfold, it 
will create a JSON data dictionary which is immune to the ":" problem.


On Friday, January 31, 2020 at 9:45:48 AM UTC-8, David Gifford wrote:
>
> I uploaded it for you to see at 
> https://giffmex.org/experiments/tbmetemplatetestfolding.html
>
> On Friday, January 31, 2020 at 11:42:11 AM UTC-6, Mark S. wrote:
>>
>>
>> Needless to say, it works perfectly when I do it. See below Maybe you 
>> could send me or link me what you're doing?
>>
>> Thanks!
>>
>>
>> On Friday, January 31, 2020 at 9:27:52 AM UTC-8, David Gifford wrote:
>>>
>>> Hi Mark
>>>
>>> Thank you for your kind and patient efforts to improve TiddlyBlink.
>>>
>>> I installed your json attachment in an empty file of TB, and refreshed, 
>>> then created 'Parent topic' and with the clock button created two child 
>>> tiddlers. The unfold icon appears for each in the parent tiddler, but 
>>> nothing happens when I click the icon. Interestingly, the child tiddlers 
>>> DID show something, but when I clicked hide, it completely hid it, with no 
>>> unhide button or anything, so it disappeared completely. 
>>>
>>>
>>>
>>> On Friday, January 31, 2020 at 11:10:22 AM UTC-6, Mark S. wrote:
>>>>
>>>> Here's something to try. The attached makes changes to 
>>>> $:/.giffmex/ViewTemplate/refstransclude 
>>>> and adds a tiddler to track states.
>>>>
>>>> This adds a "fold" or "unfold" icon next to each title. The default is 
>>>> folded.
>>>>
>>>> The states of folding are saved in a single data tiddler, so you don't 
>>>> have to worry about a lot of background tiddlers building up. The downside 
>>>> is that the state will be forgotten when the tiddler name is changed. 
>>>> Since 
>>>> that is likely to be infrequent, and only results in a tiddler defaulting 
>>>> to the closed state, that seems like a minor price to pay.
>>>>
>>>> Just drag and drop (I assume you have backups ;-) )
>>>>
>>>> On Thursday, January 30, 2020 at 11:15:51 AM UTC-8, David Gifford wrote:
>>>>>
>>>>> I would love this, and it would imitate Roam on this point, but I am 
>>>>> not sure how it would work. Wouldn't each tiddler need a separate state 
>>>>> tiddler? That would affect # of tiddlers and filesize and I am assuming 
>>>>> it 
>>>>> would hasten the moment when the file would become sluggish. 
>>>>>
>>>>> If someone were to come up with a viable snippet as to how to do It, I 
>>>>> am willing to try it. 
>>>>>
>>>>> On Thursday, January 30, 2020 at 12:19:30 PM UTC-6, Mark S. wrote:
>>>>>>
>>>>>> Suggestion -- a reveal/hide button around transclusions, so you're 
>>>>>> not overwhelmed by larger texts
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/31a9159d-1cb0-420c-8511-3f93ff709143%40googlegroups.com.

Reply via email to