Hi Jeremy,
 

> 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.
>

What would speak against extending navigator.js with a single-page-mode, 
where...

NavigatorWidget.prototype.addToStory() 
<https://github.com/Jermolene/TiddlyWiki5/blob/424b2fea3279c14daac0b0ca2baabc7c8ad7d41e/core/modules/widgets/navigator.js#L116>

...simply empties the storylist before adding any new tiddler?

Sure, this will run a few superfluous operations when we actually perform 
actions that would open multiple tiddlers, but anyone wanting 
single-page-mode wouldn't use those much... or be able to adapt the 
navigator widget call to cater for not closing things by calling 
tm-navigate with some preserve option.

Best wishes,

— tb

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
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/06394908-bc0b-4345-911f-7358086f27e7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to