Drag and Drop feature for cards #275
Replies: 11 comments 23 replies
-
Possible Drag-and-Drop actions
Following will the drag-and-drop actions possible and their mapped actions on the task. If you move a task :
From any other column to a specific column
Actions which need brainstorming
Not possible Drag-and-Drop actions
|
Beta Was this translation helpful? Give feedback.
-
Guides while dropping a taskBy default the columns will have the manual sorting criteria set to them, which means, initially tasks will be populated by the order in which they are scanned, but later user will be free to arrange the tasks within the column using this drag and drop handle. Now, while moving a task from one column to another, if the column in which the task is to be dropped is set to the manual sorting criteria then this feature should show the guides, which indicates where this moving task will be placed, that is, between which two tasks this dropped task will be placed. But if there is any other sorting criteria have been set to the destination column. Like sort based on the priority or schedule date etc., then in this case the guides won't be shown and once user drops the task inside the highlighted/destination column. It will be automatically arranged to its applicable position as per the criteria. |
Beta Was this translation helpful? Give feedback.
-
|
You are nuts (the good way). Thanks for doing this |
Beta Was this translation helpful? Give feedback.
-
|
I'm a bit confused Is this future got implemented ? why i cant use it ? i am using the latest version |
Beta Was this translation helpful? Give feedback.
-
|
oh now i see why @Gugarutz said :
😂It's one hell of a future if it gets implemented. |
Beta Was this translation helpful? Give feedback.
-
|
What about moving Values into different inline properties , Similar to :
But using custom inline property |
Beta Was this translation helpful? Give feedback.
-
|
Back to our topic,😂 I use drag and drop to reschedule tasks using the day planner, and thanks to the compatibility of this plug-in with it, it's satisfying. |
Beta Was this translation helpful? Give feedback.
-
|
"It's always hard before you start", this is what I felt after completing the drag and drop functionality in Task Board. I actually thought, this feature will going to be the most painful feature to implement in this plugin. The main reason for my this assumption was, I was planning to implement this feature using an external react library, to handle all the animations and everything. But, turns out react natively provides a much optimal way to implement a drag and drop functionality. Although, everything else, like UI state management will required to be handled by us. But, instead of depending on any third party library, its worth to implement it this way, and I dont think, the external libraries will going to provide any advantage, it will simply going to increase the size of this plugin, which will lead to more load time during Obsidian start. So its better to have a native implementation and soon, will be able to improve it with more styling and animations. And with time the code can be improved. But, for now, with this current first version state, the performance is already much better than I expected. I hope, experienced UI/UX developers and testers will going to contribute in improving this feature in the future. For now, below is the demo of how its performing in the beta version I have released for my personal testing as well as for the beta testers our there. (Apologies for the lag in the GIFs, its because of my old PC and the screen recording, etc...) Column to ColumnNotice the green and red color indicates, whether the task can be dropped inside the target column or not. There are only few exceptions which can be implemented in the future, but for now they have been disabled. Also, a date-picker popup will appear if you drop the task inside a dated type column with a range of dates, so user can pick a particular date. Not only this, at this same time of the development, another user suggested the Swimlanes feature. This was an amazing coincidence, because building both these features simultaneously helped me to structure the code properly and build a better algorithm design. I have personally tested it and have found to be properly working. Read more about this here : Manual sortingI believe users might encounter few issues with this feature. Because, there are below conditions applicable for manual sorting to work properly:
This feature will work even if all the tasks don't have ID on them, but it will not persist that order. Hence, ID is vital. Also, manual sorting feature has been disabled for now in Swimlanes, as it's giving unexpected results. It's a little complex to implement, so will work on it seperately in the future. How to test this beta versionRead this to learn how to test a beta version : https://github.com/tu2-atmanand/Task-Board/releases/tag/1.9.0-beta-1 |
Beta Was this translation helpful? Give feedback.
-
|
WOOHOO |
Beta Was this translation helpful? Give feedback.
-
Testing has startedA thorough testing has been started in the following ticket. After this testing is over and once we have ensured that this feature is working as expected in all aspects of its functionalities. It can be released in the next version, |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.





Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
This may be the most requested feature by users and also a very essential one even from the Kanban methodological POV. Because, in Kanban the whole point is to arrange the tasks in a 2D space to organize them in way so that we can prioritize and build a better roadmap for the project we are working on or just to organize our daily tasks.
Usually, Kanban boards are static, that means changing certain properties or due to changing other factors, the cards will not automatically going to move from one column to another by itself. But Task Board has a lot of automations functionalities (a lot more coming in the future), to make the manual-labor work of organizing each and every task by going through the board again and again. These automations also helps to filter tasks faster. For example, there are date-type columns, which helps to filter out which tasks are planned for today, tomorrow, in next seven days, etc., so when the days are passing, the tasks will move from one column to another automatically and you dont have to move them manually. And there are tag-type column, which filters tasks with certain tag on them, so if you update the tag for any task in your notes, that task will now appear in some other column, based on its new tag.
So in summary, this plugin makes use of the properties the tasks already have, to filter and organize them.
Hence, if we are implementing a drag and drop feature in this automatic Kanban board, then these propertie-values will also need to be updated so the tasks can move from one column to another, or to add itself in another column. But there will be certain restriction this plugin might have while implementing this feature. Lets discuss as much cases as possible in the following comments.
Beta Was this translation helpful? Give feedback.
All reactions