diff options
| author | Mohamed Bassem <me@mbassem.com> | 2024-12-31 14:15:02 +0000 |
|---|---|---|
| committer | Mohamed Bassem <me@mbassem.com> | 2024-12-31 14:20:48 +0000 |
| commit | 96cc11ef321b4580430c05f9344c6eb7dbddcf23 (patch) | |
| tree | 9d7115ff76a2c173794a9b8ce3a54463ab748145 /apps/web/components | |
| parent | 4deda9d477141e864f472ba95003e3974346f10d (diff) | |
| download | karakeep-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.tsx | 14 |
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 ( |
