On Wednesday, November 15, 2017 at 3:05:43 PM UTC+1, BJ wrote:
>
> ... but you cannot sensibly have two extension both trying to save the 
> same tiddlywiki.
>

You are right. ... Not at the same time :) ... or may be even this may make 
sense for some users.

There are some mechanisms 
<https://developer.mozilla.org/en-US/Add-ons/WebExtensions/API/runtime/connect>,
 
for extensions to detect each other. We could use this one. 

------------ Some more thougts. 

It's also possible, that a page detects extensions ..

IMO we can improve the TW messaging system. So the user may be able to 
decide, on a per TW basis, which backend to use as a saver. 
Or even on the button level. 

I did send a PR to the TiddlyWiki repo 
<https://github.com/Jermolene/TiddlyWiki5/pull/3010>, that should already 
improve the communication between the user and the TiddlyFox saver, because 
it can hand down an eg: backup-folder parameter. Which would give the user 
a much more fine grained controll over the backup strategy. .. 

At the moment the AddOn needs to manage this info, which imo is an 
overhead, that I actually don't want to deal with. The only thing an AddOn 
should do, is provide sensible defaults. .. The user should be able to use 
an AddOn out of the box, without any adjustments. 

Same thing with "backupsEnabled" .... IMO it would be nice, if the TW / 
User has the final decision on a per TW basis. 

At the moment my addOn needs to manage a list of files, and store 
information about these files in the local storage. That's ok, but the file 
names are not really unique. So settings are lost, if a file name changes. 
.. If the TW file will carry those settings with them, they could overrule 
the default settings. Which imo would be a much nicer UX. 

just some thoughts.
mario

-- 
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/a593084d-ca8d-49b9-a1b4-4ba335712c21%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to