I found a little problem. If I drag some tiddlers to the “tag pill” they are added. → OK.
But if I click the “Add all open tiddlers. ..” button again, the list is reset to the story content → Not OK
@twMat If you want to convert your DragTag list into a Bundle, you only need to create a new tiddler and tag it: $:/tags/Bundle
So it will show up in the Bundles sidebar if the bundler-plugin is installed.
Just some Info. Bundle tiddlers can contain comments now and
The Bundle sidebar also shows a drag-icon. which has a similar functionality as your DragTag (I like that name)
No, it has never been that way.
The bundler adds some convenience import configurations if it is installed, but bundles have always been compatible with the standard TW JSON export / import format.
The bundlers initial way was to create a JSON file and import it into a new wiki.
With the plugin version v0.5.0 from Feb. I did add the new draggable icon as shown in my first post, which has very similar code as the core tag-pill.
I think you do use a very similar code for the Drag-Tag too.
The cool thing is, that TW tag pills can be dragged to the browsers “Bookmarks bar” from where you can drag it back to every TW. – We only need to figure out, how we can give the initial bookmark a better name then data:text/vnd.tiddlywiki...
Ahhh, I know what you meant. With TW version <v5.2.0 it has not been possible to import some system tiddlers. They have been blocked with no possibility to re-activate them in the $:/Import UI.
Bundler v0.3.x fixed that problem. So if you wanted that function, you needed the plugin. That’s not the case anymore.
With TW v5.2.0 the core $:/Import UI started to allow the same functionality. So I could remove it from the bundler plugin v0.4.0.
So if users drag $:/state or $:/temp tiddlers in to the DragTag it will be possible to import them into other wikis. They will be deselected by default, but they can be re-enabled by the user if they want to.
Updated - DragTag now behaves as requested by @pmario , i.e clicking “add open tiddlers” actually does exactly that
@pmario - good that the Bundler doesn’t require the plugin on the receiving end.
The bookmarking you mention sounds useful, so people can store their favourite plugins and other stuff there. This does not seem to work for DragTag thoug. What enables a tag to perform that way?
I wonder if a such a bookmark could function as a Help feature; e.g you drag it onto certain systemic tiddlers (or even other elements) and see a doc tiddler. E.g drag the bookmark onto, say, the GettingStarted tiddler or a $:/tags/Stylesheet tag and the corresponding doc tiddler(s) from the bookmark are imported and opened…
Thanks for sharing DragTag @twMat interesting and different design approach.
I am however having trouble draging from chrome to firefox, even after upgrading your demo wiki to 5.3.1
This is unlikely drag tags problem but a continuing issue that was supposed to be fixed in 5.3.1 @pmario
FYI:
Inspired by @pmario’s bundler plugin which I used extencivly in my early days of TW 5.2.X to bundle my creations, I have since developed a whole range of tiddler packaging, export/import tools including additional drag and drop features. To do this I have had to overcome various issues and develop new mechanisiums.
@pmario Imitation is the sincerest form of flattery!
The subject is “too expancive” for me to document here but should anyone have come accross barriers or limitations please don’t hesitate to ask me (or the community in general).
I have achived this by creating tiddler containing the bookmarklet with a href that uses the caption or title of the bookmarklet tiddler.
An advantage of a tiddler than contains a bookmarklet is it is more easily shared than a simple browser bookmarklet, and the bookmarklet can be “executed in tiddler”.
This method uses the addTiddlers javascript function rather than the data: method.
Have a look at https://bookmarklets.tiddlyhost.com/ go to advanced search filter and generate a list of tiddlers, buttons to do variouse things with the resulting list of tiddlers becomes available.
I have a project call filter-pills which act like tag pills for any given filter, this can allso allow all tiddlers described by an arbitary filter to be dragged elsewhere.
I think there is a similar plugin or code by Mohammad, it is called Basket. I think is a code snippet not a plugin!
Also, I remember @TW_Tones has a modified Basket. It is a sidebar tab.
@Mohammad’s basket(s) is a favorites list that you can export as JSON if desired. I am certainly keen to write a version that lets you create new baskets on demand. The dropped titles are added to a list field on the basket tiddler, so no tags needed but similar behaviour.
I did just test DragTag plugin to drag from Edge Windows to FF and vice versa, using TW v5.3.1 for both of them. → It works as intended.
Please make sure, that you do use TW v5.3.1 and not a tiddlywiki.com cached from the browser. Use CTRL - F5 to reload the site and check the version number of the TW.