diff options
| author | MohamedBassem <me@mbassem.com> | 2025-04-06 23:50:39 +0100 |
|---|---|---|
| committer | MohamedBassem <me@mbassem.com> | 2025-04-06 23:50:39 +0100 |
| commit | af6774fab6502b3f49a71dea955357992e5edc77 (patch) | |
| tree | be63f9ebf16bdd807b5cd882265cb0c27bf1bf85 /apps/web | |
| parent | d86628dfabe8b9c17c7dd68b3d291104c3b25704 (diff) | |
| download | karakeep-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.tsx | 11 | ||||
| -rw-r--r-- | apps/web/lib/i18n/locales/en/translation.json | 2 |
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" }, |
