+ {/* Favicon / Icon */}
+ {domain ? (
+
+
+
+ ) : (
+
+
+
+ )}
{/* Content */}
{/* Title */}
-
+
{title}
{/* Description */}
{description && (
-
{description}
+
{description}
)}
{/* Metadata row */}
-
+
{domain && (
@@ -275,12 +306,6 @@ export function Article({
- {/* External link indicator */}
- {href && (
-
-
-
- )}
{/* Response actions */}
diff --git a/surfsense_web/components/tool-ui/scrape-webpage.tsx b/surfsense_web/components/tool-ui/scrape-webpage.tsx
index a486d6fe0..17cfb218b 100644
--- a/surfsense_web/components/tool-ui/scrape-webpage.tsx
+++ b/surfsense_web/components/tool-ui/scrape-webpage.tsx
@@ -87,18 +87,12 @@ function ScrapeCancelledState({ url }: { url: string }) {
* Parsed Article component with error handling
*/
function ParsedArticle({ result }: { result: unknown }) {
- const article = parseSerializableArticle(result);
+ const { description, ...article } = parseSerializableArticle(result);
return (
{
- if (id === "open" && article.href) {
- window.open(article.href, "_blank", "noopener,noreferrer");
- }
- }}
/>
);
}