From af6774fab6502b3f49a71dea955357992e5edc77 Mon Sep 17 00:00:00 2001 From: MohamedBassem Date: Sun, 6 Apr 2025 23:50:39 +0100 Subject: feat: Add a search matcher for rss feed bookmarks --- .../web/components/dashboard/search/QueryExplainerTooltip.tsx | 11 +++++++++++ apps/web/lib/i18n/locales/en/translation.json | 2 ++ 2 files changed, 13 insertions(+) (limited to 'apps/web') 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({ {matcher.url} ); + case "rssFeedName": + return ( + + + {matcher.inverse + ? t("search.is_not_from_feed") + : t("search.is_from_feed")} + + {matcher.feedName} + + ); case "type": return ( 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" }, -- cgit v1.2.3-70-g09d2