Design approach wanted for dragging a title, move or copy between tags

I have a pair of tags used to indicate if something is to be displayed in one place OR the other.

  • We can already drag the order of titles so tagged in the tag pill drop down.
  • We can drag a title from the tag pill dropdown elsewhere

We can create two list-links-draggable to drag between tag sets, but it is only additive, there is no actions parameter to remove the tiddler title from the source.

Try this on tiddlywiki.com

<<tag HelloThere>> <<tag Filters>>

<td><<list-links-draggable tiddler:"HelloThere">> </td><td><<list-links-draggable tiddler:"Filters">></td>

I believe it would be simple to build ones own macro, similar to the list-links-draggable macro, that includes removing the title from the source tag list, however;

  • Can any one suggest a way we may integrate this with the tiddler tag pills or another user interface element?
  • This would be a useful enhancement to the management of lists via tags

A possible approach is to;

  • Allow titles to be dropped on the tag pill to add that title to the tag list.
    • Ctrl-drop to add it but remove it from the source tag list.

An effective solution would make sense to live in the core hence my asking for alternative approaches.

I think it could be useful for management between two lists/fields, for example when you have a list the element of UI can you show/hide a element with the move between two lists/fields. For example, in $:/core/ui/SideBar/Tools instead of the use of checkbox.

This is a basic (hardcoded) example that works in one direction (from field n to field x)
Test.tid (504 Bytes)

Great tip thanks @Alvaro I did not realise the list-links-draggable-drop-actions macros is defined thus we can “override” its definition.

  • We could do this for two tag tiddlers and their list fields
  • however using your approach I see there is also a “list-tagged-draggable-drop-actions” macro we can replace as well.
    • Maybe add an action to delete from source with ctrl

But just how can we merge this into our user interface? especially when if moving a tiddler between two tags?

  • I am thinking of something like a modal or new window, which has one or more lists between which we can drag and drop, move or copy, and reorder as desired.
    • A “list of lists” in fact, between which we can drag and drop.
  • Then add a “send to” the “list of lists” option the above modal on the tag pills, a way of setting or accumulating a list of lists between which we can drag and drop, move or copy.

Just brainstorming the UI at the moment!

  • looking for the least intrusive and most functional.