Jeremy,

That has a great deal of utility. I was working on a method to export 
comments and re-import them into to master copy of a wiki to then apply 
them to the master. The same can be done for any new or modified tiddlers 
using local storage. 

Local storage raises the following for me

   1. 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)
   2. 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
      - Save As Served *without tiddlers from local Storage* (When someone 
      wants to make an Edition out of the served Wiki).
      - Save As Served *Plus tiddlers from local Storage* (allows save in 
      current state) and to leave local storage method
      - Save only new or changed tiddlers stored in Local Storage 
         - 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

Regards
Tony

On Friday, February 8, 2019 at 9:11:47 AM UTC+11, Jeremy Ruston wrote:
>
> Further to Mat’s discovery 
> <https://groups.google.com/d/topic/tiddlywiki/T_v5vSiCEDA/discussion> 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 <https://en.wikipedia.org/wiki/Web_storage#localStorage>”.
>
> 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
>  
> <https://tiddlywiki.com/prerelease/editions/full/#$:/plugins/tiddlywiki/browser-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.

Reply via email to