aboutsummaryrefslogtreecommitdiffstats
path: root/frontend-vanilla
diff options
context:
space:
mode:
authorAdam Mathes <adam@adammathes.com>2026-02-28 10:04:29 -0800
committerGitHub <noreply@github.com>2026-02-28 10:04:29 -0800
commit81c35390da64a061a9a8867c497eb992f05340bc (patch)
tree63cb4bab92900790815d443250adc647b5ae351d /frontend-vanilla
parent71427c7f44a7c451ca7c76d3714f1de78d3e8253 (diff)
parent4ec762350c9bc0704bb81357949f910124fac0c6 (diff)
downloadneko-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')
-rw-r--r--frontend-vanilla/src/components/FeedItem.ts11
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">