Bike 2.0 (Preview 244)

  • Added drag and drop

Pushing this release out in a bit of a hurry, and I will be gone camping this long weekend… but row handle based drag and drop is working pretty well now. Give it a try, let me know what goes wrong :slight_smile:

Download:

1 Like

Notes:

  • You drag from row handle to start drag and drop
  • If you drop on another row’s handle it will add drop as child
  • Hold control to create link, though links don’t open yet
  • Hold option to create copy (instead of move) when dragging within same outline
  • Or if you drag a branch into itself, it will also create a copy (not sure about this, maybe should just disable drop)
1 Like

Sorry to say I’m getting quite a few bugs with this, but they’re hard to replicate reliably.

Stuff I’ve experienced from ~2 minutes of playing around with drag + drop:

  • I find clicking on expand/collapse handles sometimes doesn’t work. Replicating this one is pretty reliable.
  • Empty rows added underneath drag targets. This is especially acute if you’re dragging a row containing multiple children. This one I haven’t experienced again yet.
  • Some weird duplication glitch that I can’t even comprehend correctly. Basically I wanted to collapse a row I’d dragged a row with children inside, and the outline just exploded with duplicates. Was able to duplicate but I still don’t understand the circumstances.
  • Dragging a row with children into one of its own children will result in duplication of ex-parent row (along with children) inside target row. I’d kind of expect the ex-child to become parent of the whole thing, not contain its copy, but I’m not sure what the correct behaviour here should be. OO doesn’t allow you to drag a parent into its child row.

EDIT: 1st bug on the list doesn’t require any action.

2 Likes

Do you mean it isn’t a bug, or it doesn’t require any action before the bug will happen? I did have this bug while DND was in development, but thought I had fixed. Also I have mistakenly thought handle wasn’t responding when I was clicking on a focused row… that always displays expanded. (Probably need a UI fix for that, but I’m ignoring for now)

Anyway, I can’t seem to reproduce click on handle does nothing when it should bug.

I haven’t seen this, but let me know if it comes back

I wonder if these are related… I notice if you drag a row just a little and let go then it will drop into itself and it’s not all that apparent what happened.

I think the idea if automatically allowing you to drop copies onto self is probably a bad one and I’m going to remove that behavior.

Beyond just indenting something, it doesn’t look like there’s a necessary sequence of steps to reproduce. I find that micro movements with the mouse affect reliability of collapse handle responses.

CleanShot 2025-09-29 at 14.37.37

Maybe that was it. Anyway, can’t really reproduce this reliably and I mostly use the keyboard to rearrange the outline, but I’ll keep an eye out.

2 Likes

I “think” all the bugs in these thread are fixed in Bike 2.0 (Preview 245), let me if not, or you find more!

1 Like