diff options
| author | Adam Mathes <adam@adammathes.com> | 2026-02-28 10:04:29 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-02-28 10:04:29 -0800 |
| commit | 81c35390da64a061a9a8867c497eb992f05340bc (patch) | |
| tree | 63cb4bab92900790815d443250adc647b5ae351d /frontend-vanilla/src/components/FeedItem.ts | |
| parent | 71427c7f44a7c451ca7c76d3714f1de78d3e8253 (diff) | |
| parent | 4ec762350c9bc0704bb81357949f910124fac0c6 (diff) | |
| download | neko-81c35390da64a061a9a8867c497eb992f05340bc.tar.gz neko-81c35390da64a061a9a8867c497eb992f05340bc.tar.bz2 neko-81c35390da64a061a9a8867c497eb992f05340bc.zip | |
Merge pull request #23 from adammathes/claude/fix-mobile-scrolling-Ls0Fr
Remove scrape/text button that caused squished body text
Diffstat (limited to 'frontend-vanilla/src/components/FeedItem.ts')
| -rw-r--r-- | frontend-vanilla/src/components/FeedItem.ts | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/frontend-vanilla/src/components/FeedItem.ts b/frontend-vanilla/src/components/FeedItem.ts index e58aac8..8f607af 100644 --- a/frontend-vanilla/src/components/FeedItem.ts +++ b/frontend-vanilla/src/components/FeedItem.ts @@ -1,5 +1,9 @@ import type { Item } from '../types'; +// NOTE: The "text" scrape button (data-action="scrape") was removed from the +// template. The backend endpoint and scrapeItem() handler in main.ts are still +// intact if we want to bring it back with proper styling later. + export function createFeedItem(item: Item): string { const date = new Date(item.publish_date).toLocaleDateString(); return ` @@ -17,13 +21,6 @@ export function createFeedItem(item: Item): string { ${date} ${item.feed_title ? ` - ${item.feed_title}` : ''} </a> - <div class="item-actions" style="display: inline-block; float: right;"> - ${!item.full_content ? ` - <button class="scrape-btn" title="Load Full Content" data-action="scrape"> - text - </button> - ` : ''} - </div> </div> ${(item.full_content || item.description) ? ` <div class="item-description"> |
