[Macro] cross-list-links-draggable

96 views
Skip to first unread message

Tony K

unread,
May 14, 2020, 1:44:43 AM5/14/20
to TiddlyWiki
 I needed a way to be able to drag and drop items across lists while still be able to re-order items inside the list so I modified the built in list-links-draggable macro to fit my needs

sharing it in case any one needs it 



Baked in the latest version of Drift

Saq Imtiaz

unread,
May 14, 2020, 4:09:58 AM5/14/20
to TiddlyWiki
I don't have the exact steps to reproduce it, but dragging some items from list1 to list2 and then re-ordering quite a bit in list2, I have twice managed to just loose some items. They just disappear.

Tony K

unread,
May 14, 2020, 4:26:27 AM5/14/20
to tiddl...@googlegroups.com
weird, thank you for letting me know

Annotation 2020-05-14 112541.png

it worked for me. I odn't know what I missed but i will test it

It seems the issue happens when I reorder an item and drop it at the same location in the same list

Saq Imtiaz

unread,
May 14, 2020, 4:39:11 AM5/14/20
to TiddlyWiki
Yep I can re-create as you described below. I've done some work on improving some of the default drag and drop behaviour a while back. Will try to dig it up and post when I have time as it might be useful to improve other DnD solutions like yours.

Tony K

unread,
May 14, 2020, 5:34:26 AM5/14/20
to TiddlyWiki
Fixed

thank you for letting me know 

On Thursday, May 14, 2020 at 11:09:58 AM UTC+3, Saq Imtiaz wrote:

David Gifford

unread,
May 14, 2020, 1:57:43 PM5/14/20
to TiddlyWiki
Added this to the lists section of the toolmap!

Mat

unread,
May 14, 2020, 4:17:23 PM5/14/20
to TiddlyWiki
OH! This is super! 

Detail, the demo it is clearer if you just put it in a table, i.e

|<<cross-list-links-draggable tiddler:WeekDays>>|<<cross-list-links-draggable tiddler:WeekendDays>>|

<:-)



Reply all
Reply to author
Forward
0 new messages