From 96cc11ef321b4580430c05f9344c6eb7dbddcf23 Mon Sep 17 00:00:00 2001
From: Mohamed Bassem <me@mbassem.com>
Date: Tue, 31 Dec 2024 14:15:02 +0000
Subject: feat: Add support for searching for tagged and listed items

---
 .../components/dashboard/search/QueryExplainerTooltip.tsx  | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

(limited to 'apps/web/components/dashboard/search/QueryExplainerTooltip.tsx')

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 (
-- 
cgit v1.2.3-70-g09d2

