Hi Siniy-Kit

> I put 1000 goods to my experimental  tw5-shop 
> http://novye-podarki.ru/heeg1000.html   and it works slow if dom tree grows.  
> So I want to remove branches I don't use.

Are you using the “zoomin” storyview? If so, the problem is that it doesn’t 
actually remove tiddlers when you navigate away from them; previously opened 
tiddlers stay rendered, but hidden from the display. You can see what’s going 
on if you navigate between a few tiddlers in “zoomin” storyview and then switch 
to “classic” storyview.

The trouble is that storyviews are not able to close tiddlers in the story; 
they just get an opportunity to react to list items being added and removed by 
the list widget.

I think the best solution for single tiddler applications like this is to adopt 
a new story mechanism, where instead of having a list of tiddlers making up the 
story, there is a single tiddler. Navigation simple replaces that tiddler.

It’s actually the same mechanism you can see in the tabbed single page view:

http://tiddlywiki.com/#Example%20Table%20of%20Contents%3A%20Tabbed%20Internal

One way of doing it would be to add a new PageTemplate segment that displays 
above the main TW page. The segment would transclude your sidebars/headings, 
and then use a tiddler like `$:/_CurrentTiddler` to keep track of the tiddler 
that should be displayed. Using the linkcatcher widget (as demonstrated in the 
example above) you could ensure that navigation just replaces the value of 
`$:/_CurrentTiddler` with the target tiddler.

In the end, the new segment would contain the entire custom UI of your 
application. The native TW UI would become your development workbench, not seen 
by ordinary users.

Best wishes

Jeremy

> 
> 
> 
> 
> воскресенье, 11 октября 2015 г., 13:24:38 UTC+3 пользователь Danielo 
> Rodríguez написал:
> 
> 
> El domingo, 11 de octubre de 2015, 11:45:14 (UTC+2), Siniy-Kit escribió:
> 
> Please be aware that this does not makes any sense. You will close all the 
> tiddlers except one on the first iteration of the list, then you will close 
> that tiddler when the second tiddler on the list calls the "close others" 
> 
> -- 
> 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] 
> <mailto:[email protected]>.
> To post to this group, send email to [email protected] 
> <mailto:[email protected]>.
> Visit this group at http://groups.google.com/group/tiddlywiki 
> <http://groups.google.com/group/tiddlywiki>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/adcf5756-c96c-4bb2-af9d-5d8af746120b%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/tiddlywiki/adcf5756-c96c-4bb2-af9d-5d8af746120b%40googlegroups.com?utm_medium=email&utm_source=footer>.
> For more options, visit https://groups.google.com/d/optout 
> <https://groups.google.com/d/optout>.

-- 
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 post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/CBD380D3-438E-4FAA-9C04-72133E11CDBA%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to