nitrotasks / nitro

The beautiful way to get things done.
https://nitrotasks.com
GNU Affero General Public License v3.0
518 stars 66 forks source link

Implement moving tasks #258

Closed stayradiated closed 10 years ago

stayradiated commented 10 years ago

We have stayradiated/mouse working - now we just have to do something with it.

We can listen to the drop event and then find out which tasks were moved and which task they were dropped on. We should also be able to reuse most of the code from 2.0.

mouse.on 'drop', (elements, zone) ->
  console.log(elements, zone)
stayradiated commented 10 years ago

So this works now. Though there are a couple bugs with missing lists and moving tasks from the app/completed lists.

stayradiated commented 10 years ago

Also need to make the mouse instance not a global.

stayradiated commented 10 years ago

I need to fix the bug with moving tasks to another list.