feat(web): add untagged shortcut filter example (#6065)
This commit is contained in:
parent
3a55edd917
commit
b787bfa75f
1 changed files with 7 additions and 0 deletions
|
|
@ -61,6 +61,12 @@ const shortcutExamples = [
|
|||
description: "Match one or more exact tags.",
|
||||
icon: TagsIcon,
|
||||
},
|
||||
{
|
||||
title: "Untagged",
|
||||
filter: "size(tags) == 0",
|
||||
description: "Memos without any tags.",
|
||||
icon: TagsIcon,
|
||||
},
|
||||
{
|
||||
title: "Archive tree",
|
||||
filter: 'tags.exists(t, t.startsWith("archive"))',
|
||||
|
|
@ -155,6 +161,7 @@ const filterFields = [
|
|||
"sets.contains(tags, [...])",
|
||||
"sets.intersects(tags, [...])",
|
||||
"sets.equivalent(tags, [...])",
|
||||
"size(tags) == ...",
|
||||
"size(content) > ...",
|
||||
"has_task_list",
|
||||
"has_incomplete_tasks",
|
||||
|
|
|
|||
Loading…
Reference in a new issue