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]: Index custom tags #101

Open
1 task done
thombruce opened this issue Jul 2, 2023 · 0 comments
Open
1 task done

[Feature]: Index custom tags #101

thombruce opened this issue Jul 2, 2023 · 0 comments
Labels
type: enhancement New feature or request

Comments

@thombruce
Copy link
Owner

Feature request

Custom tags are those tags where the user provides the key and value, separated by a colon (e.g. due:soon).

These were not indexed as part of the work on #98 because of their additional complexity compared with other tag types (also because Dexie can't index an array of objects in any way).

There is some discussion about this on PR #100 and on issue #97.

The idea is to introduce a new class and table - Tag/tags - which makes indexable/searchable/sortable these values:

  • todoID
  • key
  • value

Later, it should also be capable of handling a type property (see discussion of timer[t]:1h23m-like tags on #97).

While this is just for custom tags initially, it may be reused for project, context and hashtag style tags... though only if this appears to be useful (right now they have all the utility they need stored directly alongside their todos).

Code of Conduct

  • I agree to follow this project's Code of Conduct
@thombruce thombruce added the type: enhancement New feature or request label Jul 2, 2023
@thombruce thombruce self-assigned this Jul 2, 2023
@github-project-automation github-project-automation bot moved this to Todo in Toodles Jul 2, 2023
@thombruce thombruce removed their assignment Jul 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement New feature or request
Projects
Status: Todo
Development

No branches or pull requests

1 participant