aboutsummaryrefslogtreecommitdiffstats
path: root/frontend-vanilla
diff options
context:
space:
mode:
authorAdam Mathes <adam@adammathes.com>2026-02-17 13:49:27 -0800
committerAdam Mathes <adam@adammathes.com>2026-02-17 13:49:27 -0800
commit71504966c15db9b506b99a29d6b9cd52e311502b (patch)
tree1fb3d36b1d10940fbe9ac5b2a2e3fa97e8100789 /frontend-vanilla
parent8848259ccec2383211182d63cd87b46ba6f05a0c (diff)
downloadneko-71504966c15db9b506b99a29d6b9cd52e311502b.tar.gz
neko-71504966c15db9b506b99a29d6b9cd52e311502b.tar.bz2
neko-71504966c15db9b506b99a29d6b9cd52e311502b.zip
Soft deprecate tags feature in Settings
Diffstat (limited to 'frontend-vanilla')
-rw-r--r--frontend-vanilla/src/main.test.ts3
-rw-r--r--frontend-vanilla/src/main.ts4
2 files changed, 6 insertions, 1 deletions
diff --git a/frontend-vanilla/src/main.test.ts b/frontend-vanilla/src/main.test.ts
index 40acd83..7dddc3f 100644
--- a/frontend-vanilla/src/main.test.ts
+++ b/frontend-vanilla/src/main.test.ts
@@ -394,7 +394,8 @@ describe('main application logic', () => {
const manageSection = document.querySelector('.manage-feeds-section');
expect(manageSection).not.toBeNull();
expect(manageSection?.innerHTML).toContain('My Feed');
- expect(document.querySelector('.feed-tag-input')).not.toBeNull();
+ // Tag feature soft-deprecated
+ // expect(document.querySelector('.feed-tag-input')).not.toBeNull();
});
it('should navigate items with j/k keys', () => {
diff --git a/frontend-vanilla/src/main.ts b/frontend-vanilla/src/main.ts
index 418b9be..302c253 100644
--- a/frontend-vanilla/src/main.ts
+++ b/frontend-vanilla/src/main.ts
@@ -416,8 +416,10 @@ export function renderSettings() {
<div class="feed-url">${feed.url}</div>
</div>
<div class="feed-actions">
+ <!-- FIXME: Tags feature is broken/unused in V3. Soft deprecated for now.
<input type="text" class="feed-tag-input" data-id="${feed._id}" value="${feed.category || ''}" placeholder="Tag">
<button class="update-feed-tag-btn" data-id="${feed._id}">SAVE</button>
+ -->
<button class="delete-feed-btn" data-id="${feed._id}">DELETE</button>
</div>
</li>
@@ -494,6 +496,7 @@ export function renderSettings() {
});
});
+ /* Soft deprecated.
document.querySelectorAll('.update-feed-tag-btn').forEach(btn => {
btn.addEventListener('click', async (e) => {
const id = parseInt((e.target as HTMLElement).getAttribute('data-id')!);
@@ -505,6 +508,7 @@ export function renderSettings() {
alert('Feed updated');
});
});
+ */
}
async function addFeed(url: string): Promise<boolean> {