From 3ba71500bc2d60a00ca81b9439305029670f4d52 Mon Sep 17 00:00:00 2001 From: Adam Mathes Date: Fri, 13 Feb 2026 06:55:21 -0800 Subject: Implement Frontend Feed Items View with tests --- frontend/coverage/src/components/FeedList.tsx.html | 25 ++++++++++++---------- 1 file changed, 14 insertions(+), 11 deletions(-) (limited to 'frontend/coverage/src/components/FeedList.tsx.html') diff --git a/frontend/coverage/src/components/FeedList.tsx.html b/frontend/coverage/src/components/FeedList.tsx.html index d7344a2..e220912 100644 --- a/frontend/coverage/src/components/FeedList.tsx.html +++ b/frontend/coverage/src/components/FeedList.tsx.html @@ -113,16 +113,18 @@ 48 49 50 -51  +51 +52          -9x -9x -9x   -9x +8x +8x +8x +  +8x 5x   3x @@ -140,11 +142,11 @@       -9x -4x -  +8x 3x   +2x +        @@ -164,6 +166,7 @@      
import { useEffect, useState } from 'react';
+import { Link } from 'react-router-dom';
 import type { Feed } from '../types';
 import './FeedList.css';
  
@@ -202,9 +205,9 @@ export default function FeedList() {
                 <ul className="feed-list-items">
                     {feeds.map((feed) => (
                         <li key={feed._id} className="feed-item">
-                            <a href={feed.web_url} target="_blank" rel="noopener noreferrer" className="feed-title">
+                            <Link to={`/feed/${feed._id}`} className="feed-title">
                                 {feed.title || feed.url}
-                            </a>
+                            </Link>
                             {feed.category && <span className="feed-category">{feed.category}</span>}
                         </li>
                     ))}
@@ -220,7 +223,7 @@ export default function FeedList() {