From b05a7531b76d580fc2378d3fed12f57e5f4b35b1 Mon Sep 17 00:00:00 2001
From: Mohamed Bassem <me@mbassem.com>
Date: Sun, 8 Feb 2026 15:53:14 +0000
Subject: feat: add source filter to query language (#2465)

* feat: add source filter to query language

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* autocomplete source

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
---
 .../web/components/dashboard/search/QueryExplainerTooltip.tsx | 11 +++++++++++
 1 file changed, 11 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 15facb2d..4d3a690b 100644
--- a/apps/web/components/dashboard/search/QueryExplainerTooltip.tsx
+++ b/apps/web/components/dashboard/search/QueryExplainerTooltip.tsx
@@ -208,6 +208,17 @@ export default function QueryExplainerTooltip({
             </TableCell>
           </TableRow>
         );
+      case "source":
+        return (
+          <TableRow>
+            <TableCell>
+              {matcher.inverse
+                ? t("search.is_not_from_source")
+                : t("search.is_from_source")}
+            </TableCell>
+            <TableCell>{matcher.source}</TableCell>
+          </TableRow>
+        );
       default: {
         const _exhaustiveCheck: never = matcher;
         return null;
-- 
cgit v1.2.3-70-g09d2

