[tw] Re: [TW5] My new Tiddlywiki shop with 1233 items. How to make it smaller and faster?

2017-11-21 Thread BJ
It's getting a bit compliated! I think you can put data into the $tw structure and read it in other places, but this is very hacky! eg $tw._userdata_= "hello"; be careful I have not try this! On Monday, November 20, 2017 at 7:09:09 PM UTC+1, sini-Kit wrote: > > Thank you BJ, but it works not

[tw] Re: [TW5] My new Tiddlywiki shop with 1233 items. How to make it smaller and faster?

2017-11-20 Thread sini-Kit
Thank you BJ, but it works not in that way, I wanted. I want to enable lists update in /* Update the document body with the class "tc-dirty" if the wiki has unsaved/unsynced changes */ SaverHandler.prototype.updateDirtyStatus = function() { if($tw.browser) {

[tw] Re: [TW5] My new Tiddlywiki shop with 1233 items. How to make it smaller and faster?

2017-11-14 Thread sini-Kit
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

[tw] Re: [TW5] My new Tiddlywiki shop with 1233 items. How to make it smaller and faster?

2017-11-13 Thread sini-Kit
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

Re: [tw] Re: [TW5] My new Tiddlywiki shop with 1233 items. How to make it smaller and faster?

2017-11-13 Thread Jan
Hi Mark, Hi Sini It is a great Idea to use a dictionary-Tiddler to store such data...the problem I saw when thinking on this is that you can only relate two values...and here for you would at least need three. Name, price and imagelink. So we would need something like an Arraytiddler or

[tw] Re: [TW5] My new Tiddlywiki shop with 1233 items. How to make it smaller and faster?

2017-11-12 Thread 'Mark S.' via TiddlyWiki
Thinking out loud ... Your biggest gain would be by reducing the size of your catalog. Imagine storing each "tiddler" as a compressed entry in a data dictionary. When a user clicks on link to an advertised tiddler that doesn't exist yet, it would be constructed on the fly. This would require

[tw] Re: [TW5] My new Tiddlywiki shop with 1233 items. How to make it smaller and faster?

2017-11-12 Thread sini-Kit
Hi Riz! I like Tinka plugin. I think about repacking core plugin and modify svg by fontawesome icons, and removing some comments and code. But I hope, that somebody has already done it. I don't know will if I convert all my items to one big plugin. Hi BJ! My 4mb shop loads very fast but