aboutsummaryrefslogtreecommitdiffstats
path: root/apps/web/components
diff options
context:
space:
mode:
authorMohamed Bassem <me@mbassem.com>2024-12-31 14:15:02 +0000
committerMohamed Bassem <me@mbassem.com>2024-12-31 14:20:48 +0000
commit96cc11ef321b4580430c05f9344c6eb7dbddcf23 (patch)
tree9d7115ff76a2c173794a9b8ce3a54463ab748145 /apps/web/components
parent4deda9d477141e864f472ba95003e3974346f10d (diff)
downloadkarakeep-96cc11ef321b4580430c05f9344c6eb7dbddcf23.tar.zst
feat: Add support for searching for tagged and listed items
Diffstat (limited to 'apps/web/components')
-rw-r--r--apps/web/components/dashboard/search/QueryExplainerTooltip.tsx14
1 files changed, 14 insertions, 0 deletions
diff --git a/apps/web/components/dashboard/search/QueryExplainerTooltip.tsx b/apps/web/components/dashboard/search/QueryExplainerTooltip.tsx
index 0a325031..eb7282d0 100644
--- a/apps/web/components/dashboard/search/QueryExplainerTooltip.tsx
+++ b/apps/web/components/dashboard/search/QueryExplainerTooltip.tsx
@@ -63,6 +63,20 @@ export default function QueryExplainerTooltip({
<TableCell>{matcher.archived.toString()}</TableCell>
</TableRow>
);
+ case "tagged":
+ return (
+ <TableRow>
+ <TableCell>Has Tags</TableCell>
+ <TableCell>{matcher.tagged.toString()}</TableCell>
+ </TableRow>
+ );
+ case "inlist":
+ return (
+ <TableRow>
+ <TableCell>In Any List</TableCell>
+ <TableCell>{matcher.inList.toString()}</TableCell>
+ </TableRow>
+ );
case "and":
case "or":
return (