Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
gal064 opened this issue Jun 29, 2022 · 1 comment
Open

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

gal064 opened this issue Jun 29, 2022 · 1 comment

Comments

@gal064
Copy link

gal064 commented Jun 29, 2022

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 gal064 changed the title Feature Request Feature Request: Add a an ability to filter by "title contain" Jun 30, 2022
@benlau
Copy link
Collaborator

benlau commented Jun 22, 2023

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants