Force only one tiddler open at once

106 views
Skip to first unread message

Kalcifer Kandari

unread,
May 29, 2020, 10:16:58 AM5/29/20
to TiddlyWiki
TLDR: Is there any way to ensure that there is only one tiddler open at once?

My wiki has quite a lot of tiddlers, nearly 500 right now, and I've found the longer it's open, the slower it gets. Then I realised it's because all the open tiddlers were never closing. I use the zoomin story view so it wasn't obvious it would make a difference, considering the entire site is loaded anyway, but there must be some extra resource usage having so many tiddlers open.

I'm aware of the close all other tiddlers button, but visitors won't necessarily know about it, and as you follow links, tiddlers are getting opened all the time, so you would need to be pressing that constantly.

Regards,

Kalcifer

Ste Wilson

unread,
May 29, 2020, 11:23:38 AM5/29/20
to TiddlyWiki
Would the zoomin view do the job?
Settings / apperance/ story view

Ste

Kalcifer Kandari

unread,
May 29, 2020, 11:25:18 AM5/29/20
to TiddlyWiki
I mentioned that I'm using it. It doesn't close tiddlers, it just doesn't show them.

Kalcifer

Ste Wilson

unread,
May 29, 2020, 11:29:08 AM5/29/20
to TiddlyWiki
So you did... I can read.. Honest... :)

Xavier Cazin

unread,
May 29, 2020, 11:45:06 AM5/29/20
to tiddl...@googlegroups.com
Hi Kalcifer,

Jeremy and al. have been working for a while on a new storyview mode that will address some of the issues left with zoomin, but there are a few questions remaining, so this PR has not been merged yet : https://github.com/Jermolene/TiddlyWiki5/pull/3412.

Regards,
-- Xavier


--
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+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/24e2043d-79b4-4ba3-8b2a-2f77d949466e%40googlegroups.com.

Kalcifer Kandari

unread,
May 29, 2020, 11:50:28 AM5/29/20
to TiddlyWiki
Ah, very interesting. I'll have to wait for this to get added then.

Regards,

Kalcifer

On Friday, May 29, 2020 at 4:45:06 PM UTC+1, Xavier wrote:
Hi Kalcifer,

Jeremy and al. have been working for a while on a new storyview mode that will address some of the issues left with zoomin, but there are a few questions remaining, so this PR has not been merged yet : https://github.com/Jermolene/TiddlyWiki5/pull/3412.

Regards,
-- Xavier


On Fri, May 29, 2020 at 4:17 PM Kalcifer Kandari <kalcife...@gmail.com> wrote:
TLDR: Is there any way to ensure that there is only one tiddler open at once?

My wiki has quite a lot of tiddlers, nearly 500 right now, and I've found the longer it's open, the slower it gets. Then I realised it's because all the open tiddlers were never closing. I use the zoomin story view so it wasn't obvious it would make a difference, considering the entire site is loaded anyway, but there must be some extra resource usage having so many tiddlers open.

I'm aware of the close all other tiddlers button, but visitors won't necessarily know about it, and as you follow links, tiddlers are getting opened all the time, so you would need to be pressing that constantly.

Regards,

Kalcifer

--
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 tiddl...@googlegroups.com.

TonyM

unread,
May 30, 2020, 6:12:36 AM5/30/20
to TiddlyWiki
If you make your own contents lists or navigation inside your tiddlers you can have links (using the linkcatcher) or buttons that open the next tiddler and close the current one.

Zoom in is the display only one story, but you can choose to provide a navigation of your own that does what you want.

Ask if you want more info.

Tony

Kalcifer Kandari

unread,
May 30, 2020, 6:16:22 AM5/30/20
to TiddlyWiki
Would not the links in the sidebar be unaffected?

Kalcifer

TonyM

unread,
May 30, 2020, 6:28:41 AM5/30/20
to TiddlyWiki
You can make your own sidebars that do this. Hide the existing ones or edit the existing ones to close the current one, or if there the current one is unknown close all before opening the next.

You can do anything in tiddlywiki and most of the time without java script.

Regards
Tony

Kalcifer Kandari

unread,
May 30, 2020, 6:35:20 AM5/30/20
to TiddlyWiki
True. I do know how to do that, just try to avoid overwriting tiddlers because it makes updating harder, as you need to check them all. It is a good option though.

Kalcifer

TonyM

unread,
May 30, 2020, 6:44:07 AM5/30/20
to TiddlyWiki
Don't overwrite them clone them, change them choose what the user sees, provide a restore default behaviour button.

Regards
Toby

BJ

unread,
May 30, 2020, 9:27:50 AM5/30/20
to TiddlyWiki
Hi Kalcifer,
there is a similar thread here in which I gave an answer:

all the best

BJ
Reply all
Reply to author
Forward
0 new messages