feat(web): add untagged shortcut filter example (#6065)

pull/6069/head
Archit Goyal 1 week ago committed by GitHub
parent 3a55edd917
commit b787bfa75f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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…
Cancel
Save