I start workin with your plugin, and see that I add many bugs while 
editing. is it possible to disable/enable automatically it if I start edit 
TW5? Or refresh lists when I finish editing tiddler?

понедельник, 13 ноября 2017 г., 20:27:03 UTC+3 пользователь BJ написал:
>
> Lists are created by this.wiki.filterTiddlers(). Every time a tiddler is 
> modified all the filters are recreated, and it is because of this that you 
> shop is slow. So this plugin stops the lists (apart from the storylist) 
> from updating. 
>
> You can see the effect of this if you go to the sidebar and click the 
> recent tab then create a new tiddler - the list of tiddlers in the 'recent 
> tab' is not updated. It you then click the 'open tab' and then click the 
> 'recent tab' you will see the new tiddler on the list. This is because the 
> listwidget has been totally erased and recreated by changing tabs.
>
> So, depending on how your shop is constructed you may see errors due to 
> lists not beening updated.
>
> e.g If you have search boxes anywhere they will not work correctly
>
>
> On Monday, November 13, 2017 at 5:54:52 PM UTC+1, sini-Kit wrote:
>>
>> Thank, you BJ. With your plugin tiddlywiki shop works fast. Can you 
>> explain what it do?
>>
>> var defaultFilter = "[!is[system]sort[title]]";
>>         if (this.getAttribute("filter",defaultFilter)==
>> "[list[$:/StoryList]]") return ListWidget.prototype.bjgetTiddlerList.call
>> (this);
>>         if (!this.bjcached) {
>>         this.bjcache =  this.wiki.filterTiddlers(this.getAttribute(
>> "filter",defaultFilter),this);
>>         this.bjcached = true;
>>         }
>>
>> it adds  [!is[system] to all filters I use? I hope in future TW5 edition 
>> it will be build in zoomin.js 
>>
>>
>> понедельник, 13 ноября 2017 г., 11:44:31 UTC+3 пользователь BJ написал:
>>
>>> I have hacked together a plugin to speed things up. It will probably 
>>> cause strange errors in you application, but maybe you can modify it to 
>>> work better. In any case It will show how much things could be improved
>>>
>>> all the best bj
>>> On Sunday, November 12, 2017 at 4:03:30 PM UTC+1, sini-Kit wrote:
>>>>
>>>> Hi! I start creating new Tiddlywiki shop 
>>>> http://www.google.com/url?q=http%3A%2F%2F2980258.ru%2Fheeg.html&sa=D&sntz=1&usg=AFQjCNEVrKH1LD7mgIfI5QyFi0wrOgnEpw
>>>>  
>>>> The problem is that it is big 4mb. I want to make it work faster. 
>>>> If somebody have compressed variant of tw5 core without comments in 
>>>> code or any ideas?   
>>>>
>>>
>>>
>>>
>

-- 
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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/b79f3e1a-0bcd-47c2-841b-0a5eb99dde66%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to