From 17806f539ef7b00fd9cda1eb1e110e14ee82f9cb Mon Sep 17 00:00:00 2001 From: thepaperpilot Date: Sun, 19 May 2024 01:03:54 -0500 Subject: [PATCH] Implement marking threads as read --- src/components/Item.vue | 3 +- src/components/PanelTitle.vue | 16 ++++++- src/components/SnoozeModal.vue | 8 +++- src/components/pages/ItemsView.vue | 46 ++++++++++++++++--- src/components/pages/Source.vue | 30 +++++++++++-- src/components/pages/Unsorted.vue | 31 +++++++++++-- src/state.ts | 2 + src/utils.ts | 71 ++++++++++++++++++++++++++++-- 8 files changed, 185 insertions(+), 22 deletions(-) diff --git a/src/components/Item.vue b/src/components/Item.vue index e8467b3..37cee5b 100644 --- a/src/components/Item.vue +++ b/src/components/Item.vue @@ -5,7 +5,8 @@ {{ item.threads[0].preview }} - {{ item.threads[0].count }} + {{ item.threads[0].count }} +
{{ sourceItem.title }} diff --git a/src/components/PanelTitle.vue b/src/components/PanelTitle.vue index 92d2820..f9251fe 100644 --- a/src/components/PanelTitle.vue +++ b/src/components/PanelTitle.vue @@ -1,16 +1,28 @@