obsidian-card-board
obsidian-card-board copied to clipboard
Question about sorting algorithm
How are you sorting the tasks per column? First I thought simply by a-z (seems to be the case on date boards), but for the just released tag with subtags columns I struggle to identify the logic - per tag, per file, a-z, by date?
Thanks for your great work!
Hiya
For tag board columns (and the Future and Today columns) it is sorting first by the title, then by due date (with the oldest at the top) so they should end up primarily sorted by due date and then alphabetically within this.
Completed has the most recently completed at the top (assuming it was marked as complete using the checkbox on the board)
Other columns are just sorted alphabetically.
I must admit I'm not sure what the best strategy is. I am wondering if it would be best to put tasks from the most recently edited files at the top with them appearing in the order that they are in the file. So tasks that appear together in a file are together on the board.
again -> some doc improvements needed :)
Sounds like a very useful strategy, but I would think that it could make indeed sense to have the tasks from a file - i.e. a project - appear in a sequence in a column. But the implementation would depend on your response to the suggestions about additional content on the task level, like H1> last header above the task. This would also add support for project work . The tricky bit is to avoid information overload.
So, for me I actually would want the ability to manually sort the cards in a column, but that can be tricky with tasks pulled from all over. imdone used a decimal number on each task to control order but I think it moved to a different method recently. A decimal is all I can think of that wouldn't include bringing in a separate database.
I was actually planning on adding an FR for card ordering that would piggyback off of the Drag and Drop between columns.
Tricky as well as cards can appear on multiple boards or even in multiple columns on the same board!
I was wondering if this could be something that frontmatter could be used for rather than a database. The problems would come (with a database too) if pages were edited when the plugin wasn't running in way that meant that the plugin lost track of them.
Probably the most sure-fire way is to add something to the line of the todo itself or indented underneath it. But these both add to bloat in the markdown...
I'll add another FR for this so it can be tracked separately from this issue and this discussion doesn't take away from this issue.
And good point about multiple boards! That probably does rule out something on the todo line itself.
For users who use the Tasks plugin to create/edit their Tasks it would be great if sorting by Task priority could be considered as an option. Maybe with this kind of ranking: Sort by Priority, then by due date
Hi! Firstly, I just want to thank you for the great plugin. I'm using it to display tasks created with the Tasks plugin. I just noticed that tasks without a due date are placed above tasks with due dates in a tag column. I'm not sure if this is intentional or not, but it feels like tasks without a due date should be placed at the bottom of a column.
Hey thanks for working on this super useful plugin! Wanted to say I agree with @Holmgren825, the current sorting hides the important time-sensitive tasks below less urgent ones.
I'm about to look into column sorting so will look at this whilst I am at it :)
See #205...