aboutsummaryrefslogtreecommitdiffstats
path: root/apps/web
diff options
context:
space:
mode:
authorMohamedBassem <me@mbassem.com>2025-04-06 23:50:39 +0100
committerMohamedBassem <me@mbassem.com>2025-04-06 23:50:39 +0100
commitaf6774fab6502b3f49a71dea955357992e5edc77 (patch)
treebe63f9ebf16bdd807b5cd882265cb0c27bf1bf85 /apps/web
parentd86628dfabe8b9c17c7dd68b3d291104c3b25704 (diff)
downloadkarakeep-af6774fab6502b3f49a71dea955357992e5edc77.tar.zst
feat: Add a search matcher for rss feed bookmarks
Diffstat (limited to 'apps/web')
-rw-r--r--apps/web/components/dashboard/search/QueryExplainerTooltip.tsx11
-rw-r--r--apps/web/lib/i18n/locales/en/translation.json2
2 files changed, 13 insertions, 0 deletions
diff --git a/apps/web/components/dashboard/search/QueryExplainerTooltip.tsx b/apps/web/components/dashboard/search/QueryExplainerTooltip.tsx
index 37815b0a..ee99eb8d 100644
--- a/apps/web/components/dashboard/search/QueryExplainerTooltip.tsx
+++ b/apps/web/components/dashboard/search/QueryExplainerTooltip.tsx
@@ -135,6 +135,17 @@ export default function QueryExplainerTooltip({
<TableCell>{matcher.url}</TableCell>
</TableRow>
);
+ case "rssFeedName":
+ return (
+ <TableRow>
+ <TableCell>
+ {matcher.inverse
+ ? t("search.is_not_from_feed")
+ : t("search.is_from_feed")}
+ </TableCell>
+ <TableCell>{matcher.feedName}</TableCell>
+ </TableRow>
+ );
case "type":
return (
<TableRow>
diff --git a/apps/web/lib/i18n/locales/en/translation.json b/apps/web/lib/i18n/locales/en/translation.json
index 2a181285..d03ddfe7 100644
--- a/apps/web/lib/i18n/locales/en/translation.json
+++ b/apps/web/lib/i18n/locales/en/translation.json
@@ -261,6 +261,8 @@
"full_text_search": "Full Text Search",
"type_is": "Type is",
"type_is_not": "Type is not",
+ "is_from_feed": "Is from RSS Feed",
+ "is_not_from_feed": "Is not from RSS Feed",
"and": "And",
"or": "Or"
},