Hi Tony
> Can we differentiate tiddlers modified via local storage and those not,  
> including across multiple sessions - NoteSelf seems to keep the haschanged 
> flag for such tiddlers (along with versions)
The list of tiddlers that was loaded from local storage at startup is available 
in a config tiddler (see the settings tab).

> With a Wiki + Local storage changes, we should be able to provide easy access 
> to a set of "Big Green Save Buttons"
> Save Empty based on this Version
We have that.
> Save As Served without tiddlers from local Storage (When someone wants to 
> make an Edition out of the served Wiki).
Not so easy. The original values that were overwritten by local storage are no 
longer available.
> Save As Served Plus tiddlers from local Storage (allows save in current 
> state) and to leave local storage method
We have that. We don't clear local storage at the time of saving, but at the 
time of reloading.
> Save only new or changed tiddlers stored in Local Storage 
That's the same as saving tiddlers that have been changed since the last reload.
> Export changes and could be re-imported into another browser/session
> Can send to master wiki owner for selective import.
> Could include a filtered export eg export only comments.
> 
> With the introduction of a local storage feature I believe all of the above 
> are relatively trivial to achieve however they will add great utility to 
> tiddlywiki and users. They could be included in the local storage plugin but 
> in reality the permit emergency save, export changes and more that would help 
> in most use cases. Perhaps a set of "Big Green Buttons"  can be placed in 
> ControlPanel > Saving > General

Perhaps the "save empty" button is worth putting in control panel, I'm not sure 
about the other examples you mention.

Best wishes

Jeremy

> 
> Regards
> Tony
> 
>> On Friday, February 8, 2019 at 9:11:47 AM UTC+11, Jeremy Ruston wrote:
>> Further to Mat’s discovery of the new mathematics operators in v5.1.20, 
>> there’s another newly added feature that has also been discussed for quite a 
>> long time: a plugin that lets TiddlyWiki save and load tiddlers from 
>> browser’s built in “local storage”.
>> 
>> At startup, the plugin reads tiddlers from local storage. Any tiddlers that 
>> are identical to those built into the file are deleted from local storage. 
>> Once the wiki is up and running, any tiddler changes are written straight to 
>> local storage.
>> 
>> You can install it using the plugin library in a v5.1.20-prelease wiki, or 
>> there’s an example here that has it pre-installed:
>> 
>> https://tiddlywiki.com/prerelease/editions/full/#%24%3A%2Fplugins%2Ftiddlywiki%2Fbrowser-storage
>> 
>> You’ll see that even though the wiki warns you when you refresh in the usual 
>> way, once you reload it any changes you’ve made will reappear.
>> 
>> Browser local storage is not a panacea for TiddlyWiki:
>> 
>>      • Browsers limit the amount of local storage available to a page, 
>> typically to 5 or 10MB
>>      • Keeping personal data in browser local storage can lead to unexpected 
>> privacy violations
>>      • Browsers reserve the right to without warning delete data stored in 
>> local storage at any time
>>      • Browsers tie local storage to a URL which can lead to problems if you 
>> move a wiki to a URL previously occupied by a different wiki
>> 
>> The plugin isn’t quite finished; I want to add a more visible indicator for 
>> when data is stored in local storage, and a way to delete any stored data 
>> and disable it for the future.
>> 
>> As usual, questions and comments welcome,
>> 
>> Best wishes
>> 
>> Jeremy.
> 
> -- 
> 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/76286393-aadf-4d03-a450-40ffd6cbc45a%40googlegroups.com.
> For more options, visit 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 https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/F44AE791-1AC7-46CF-81C8-00F056743AB3%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to