refactor: simplify dodo core experience
ci / docker (push) Successful in 3m54s

This commit is contained in:
2026-09-06 14:41:08 +08:00
parent fcaabce99f
commit d595af4f52
29 changed files with 187 additions and 955 deletions
-2
View File
@@ -4,7 +4,6 @@ export type MinimalTask = {
description?: string
parent_id?: string | null
completed?: boolean
tags?: { name: string }[]
list_name?: string
}
@@ -75,7 +74,6 @@ export function filterTasks<T extends MinimalTask>(tasks: T[], query: string) {
task.title,
task.description ?? '',
task.list_name ?? '',
...(task.tags ?? []).map((tag) => tag.name),
].join(' ')
return haystack.toLowerCase().includes(q)
})