TiddlyWiki / TiddlyDesktop

A custom desktop browser for TiddlyWiki 5 and TiddlyWiki Classic, based on nw.js
1.69k stars 122 forks source link

Dragndrop import of plugins in TiddlyDesktop doesn't work for some plugins #121

Open felixhayashi opened 6 years ago

felixhayashi commented 6 years ago

Hi @Jermolene,

after FF Quantum now prevents TiddlyFox from working, I gave TiddlyDesktop a try and discovered that installing plugins per dragndrop doesn't work for some plugins – at least when running nw on linux ubuntu 64bit and dragging the plugins from FF.

For example opening the katex plugin (https://tiddlywiki.com/plugins/tiddlywiki/katex/) site and dragging it in a TiddlyWiki running in TiddlyDesktop will yield undefined in the $:/Import tiddler. Same for e.g. the d3 plugin(https://tiddlywiki.com/plugins/tiddlywiki/d3/) and sadly also TiddlyMap and Visjs.

selection_211

On the other hand, e.g. importing the highlight plugin or the markdown plugin works works.

Any ideas?

Best wishes Felix

Jermolene commented 6 years ago

Hi @felixhayashi I think this is a manifestation of the cross browser drag-and-drop problems; I find that one can only reliably drag tiddlers between instances of the same browser. The workaround is to export the plugins as JSON files and then use drag and drop from the filesystem into TiddlyDesktop to install them.

nfaux commented 5 years ago

Hi @Jermolene Mac OSX 10.14.2 TiddlyDesktop 0.013 (3) I am getting the same issue with exported json file plugins (this only happens with my working TiddlyWiki, but work with a new, clean TiddlyWiki). The plugin I am trying is http://tiddlymap.org.

Also, it would be great to add to the docs that the plugin is only able to be imported once the green banner across the top appears. Otherwise, the contents of the link/file are displayed and the only way to get back to the TiddlyWiki is via forced quit. I noticed that the green banner only appears if the dragged link is placed over a tiddler or the sidebar/menu.

felixhayashi commented 5 years ago

Hi @nfaux please try: http://tiddlymap.org/#Common%20Pitfalls → Installing for TiddlyDesktop

BurningTreeC commented 6 months ago

Hi @Jermolene

I've experimented a bit with TiddlyDesktop and drag and drop of plugins between TD instances works. Then I came to the following idea:

We often use the same websites to get our desired plugins. Why not add a button on top: "Add url" That would add an entry in the wikilist with a desired url like https://tiddlywiki.com Then opening that would browse to the website. It could be done within an iframe like the wiki-file-window.html This would make TD even more usable!

What do you think?

Jermolene commented 6 months ago

Hi @BurningTreeC I'm wary of introducing features that encourage users to see TiddlyDesktop as a general purpose browser. One of the tensions with TiddlyDesktop is that users quite understandably ask for all the comfort features that modern browsers support which would be an overwhelming amount of work. In the meantime, I think users can use iframes to embed websites to make them easily accessible for drag and drop.