obsidian-card-board icon indicating copy to clipboard operation
obsidian-card-board copied to clipboard

Remove subtask tags from card after subtask completion and blacklist tags from board

Open n-a-m-e opened this issue 2 years ago • 1 comments

Considering the following example:

- [ ] Task
    - [x] Subtask1.1 #subtask1
    - [x] Subtask1.2 #subtask1
    - [ ] Subtask2.1 #subtask2
    - [x] Subtask2.2 #subtask2

If the currently implemented whitelisting feature to limit the board to the chosen files, paths, and/or tags could be reused to also create a blacklist and if when all subtasks containing a tag have been completed, the subtasks tag could be removed from the card as previously mentioned here https://github.com/roovo/obsidian-card-board/issues/17#issuecomment-968352584

We could have two boards, Board Subtask1 which requires any card to have tag #subtask1 and Board Subtask2 which requires any card to have tag #subtask2 but excludes any card with tag #subtask1.

This means that while a task has unfinished subtasks tagged with #subtask1 it would remain on the Subtask1 Board, but as soon as all the subtasks tagged with #subtask1 are completed the task would move from the Subtask1 board to the Subtask2 board.

n-a-m-e avatar Mar 28 '22 07:03 n-a-m-e

Hi @n-a-m-e - I have just released version 0.7.0 which may go some of the way towards helpingg with this. There is no removing of completed tasks from a card, however now cards should move to the completed column if all the tasks or sub-tasks which are relevant to it being on a board are completed. So in your example above you can configure it so that the card on the board for #subtask1 would be in the completed column but it wold not be on the board for #subtask2.

It isn't exactly what you were after (and you may not be using the plugin any more after such a long time of asking!), but it may get you what you need, or close to it.

Thank you

roovo avatar Jan 15 '23 11:01 roovo