plugin-kanban icon indicating copy to clipboard operation
plugin-kanban copied to clipboard

Feature Request: Add a an ability to filter by "title contain"

Open gal064 opened this issue 3 years ago • 1 comments

Add a an ability to filter by "title contain".

Use case: I add at the beginning of my todo titles different tags - mainly the priority of the task - but sometimes other stuff. For example: [P0] this is an important todo [P2] this is a less important todo. [P2] [Blocked] I am blocked and cannot complete this task at the moment.

Request: I'd be great to add tasks into columns based on these tags. My proposed solution is to add a filter that checks if a title contains a string. We can also make it fancy and use regex.

columns:
  - name: High Piority
    contains: [P0]

Why not use tags, which is already supported?

  • Using the title, I can scan the todo list and see all priorities without opening the todos
  • I can sort the todos so all P0 are on top of the notebook
  • Easier to create a new todo with priority (less clicks)

gal064 avatar Jun 29 '22 22:06 gal064

I like this feature, but it needs to have a method to resolve a few design issues.

Let's imagine you have two columns:

columns:
  - name: High Priority
    contains: [P0]
 - name: Done
   tag: Done
  1. What happens if you press "+" in the first column? Does it need to add "[P0]" to the new note's title?

  2. What happens if you move a note from the first to the second column? Does it need to remove "[P0]" from the note? Or should it just show the note in both columns?

benlau avatar Jun 22 '23 04:06 benlau